NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Show HN: Sameshi – a ~1200 Elo chess engine that fits within 2KB (github.com)
lekevicius 11 minutes ago [-]
Do you think it would be possible to achieve 1:1 ELO:bytes? Even smaller, but can be less smart.
chvid 37 minutes ago [-]
Cool that you could keep it under 2k but it would nice to have a readable version of the source code.

Do you work with it like this or do you have some sort of script you apply to get it down to a single line, single letter variable names?

alansaber 13 minutes ago [-]
The real fun would be reverse-engineering the minified code (there are loads of tools to do this for chrome extensions)
noutella 26 minutes ago [-]
What you’re describing is the typical output / function of a minifier
GeertB 15 minutes ago [-]
How did you handle games where Stockfish would castle or promote?
datavorous_ 9 minutes ago [-]
i forced stockfish to play only non castling, non en passant, non promotion moves by filtering legal moves and passing only those as root_moves

also removed castling/EP rights from FEN

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 14:50:11 GMT+0000 (Coordinated Universal Time) with Vercel.