Answers.Body: <p>I'm not aware of any "small" chess engine written in JavaScript, but there's a "small" engine written in C. Micro-max has about 1900 to 2000 rating, depends on the rating list and testing condition.</p>
  
  <p><a href="http://www.computerchess.org.uk/ccrl/4040/cgi/engine_details.cgi?print=Details+%28text%29&amp;eng=Micro-Max%204.8" rel="nofollow">http://www.computerchess.org.uk/ccrl/4040/cgi/engine_details.cgi?print=Details+%28text%29&amp;eng=Micro-Max%204.8</a></p>
  
  <p>Note that it's not the smallest engine, but the engine that is even smaller than Micro-max plays awful chess (dropping pieces) and even walk into check (illegal move).</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-30T12:17:20.093Z
Answers.LastActivityDate: 2015-01-30T12:17:20.093Z
Answers.UserDisplayName: SmallChess
Answers.Body: <p>Garbochess-JS is written in javascript.  It's about 75KB, 2400 or so lines of code I believe.  The version written in C++ was rated around 2575 on CCRL.</p>
  
  <p><a href="https://github.com/glinscott/Garbochess-JS" rel="nofollow">https://github.com/glinscott/Garbochess-JS</a></p>
  
  <p>Lozza-js is rated around 2300, and is about twice the size of Garbochess-JS.</p>
  
  <p>Toledo Nanochess and P4wn are probably less than 2000 elo, and Stockfish-js is considerably larger than Garbochess and Lozza.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-03-14T23:23:19.727Z
Answers.Text: And stofish js is not really JS but compiled WASM
Answers.UserDisplayName: Zibri
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-23T09:07:40.643Z
Answers.LastActivityDate: 2015-09-23T09:13:27.813Z
Answers.LastEditDate: 2015-09-23T09:13:27.813Z
Answers.UserDisplayName: A passerby
Answers.Body: <p>t seems like garbo was a little stronger maybe 2670 but anywhoo.</p>
  
  <p><a href="https://jtiscione.github.io/chessboard3js/play.html" rel="nofollow">https://jtiscione.github.io/chessboard3js/play.html</a> is a nice online interface for playing p4wn -weak lozzo -strong!! and stockfish -godlike</p>
  
  <p><a href="http://op12no2.me/toys/lozza/play.htm" rel="nofollow">http://op12no2.me/toys/lozza/play.htm</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-14T01:39:07.763Z
Answers.LastActivityDate: 2016-03-14T01:39:07.763Z
Answers.UserDisplayName: King
Answers.Body: <p><a href="http://forwardcoding.com/projects/ajaxchess/chess.html" rel="nofollow">http://forwardcoding.com/projects/ajaxchess/chess.html</a> &lt;--garbo chess</p>
  
  <p><a href="http://htmlchess.sourceforge.net/demo/example.html" rel="nofollow">http://htmlchess.sourceforge.net/demo/example.html</a> &lt;-- 2d-3d chess</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-14T01:41:29.513Z
Answers.LastActivityDate: 2016-03-14T01:41:29.513Z
Answers.UserDisplayName: King
Body: <p>Preferably written in javascript, but the language really doesn't matter.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-01-30T10:12:49.527Z
Comments.Text: "Smallest" like least code? There is a very "small" engine, but it is heavily obfuscated and I'm not sure about the strength: http://home.hccnet.nl/h.g.muller/max-src2.html
Comments.UserDisplayName: BlindKungFuMaster
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-01-30T12:12:33.613Z
Comments.Text: https://itunes.apple.com/au/app/chess-mini/id616424231?mt=8
Comments.UserDisplayName: SmallChess
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-01-30T12:14:07.983Z
Comments.Text: http://www.chess.com/forum/view/chess-equipment/chess-mini
Comments.UserDisplayName: SmallChess
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-01-30T18:07:30.397Z
Comments.Text: @BlindKungFuMaster, awesome! another in C, nanochess: http://www.ioccc.org/winners.html (again not sure on strength).
Comments.UserDisplayName: Fernando Gonzalez Sanchez
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-06-03T06:34:13.877Z
Comments.Text: Micromax beats nanochess easily as reported on talkchess.com a while ago. Nanochess is small, but not a serious attempt to make it truly playable. MicroMax's derivative - FairyMax has been bundled with the Winboard package, it's a very popular engine.
Comments.UserDisplayName: SmallChess
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-11-27T00:27:24.143Z
Comments.Text: Nanochess can win against Fairy-Stockfish 14 level 3 (1400 Elo) on lichess but loses against level 4 (1700 Elo)
Comments.UserDisplayName: 2080
Tags: <engines>
Title: Which is the smallest chess engine with ELO at least 2000?
ThreadText: # Which is the smallest chess engine with ELO at least 2000?
  
  (Asked by: username_0 on 2015-01-30)
  
  Preferably written in javascript, but the language really doesn't matter.
  
  **Tags:** engines
  
  > **Comments:**
  > **username_1**: "Smallest" like least code? There is a very "small" engine, but it is heavily obfuscated and I'm not sure about the strength: http://home.hccnet.nl/h.g.muller/max-src2.html  
  > **username_2**: https://itunes.apple.com/au/app/chess-mini/id616424231?mt=8  
  > **username_2**: http://www.chess.com/forum/view/chess-equipment/chess-mini  
  > **username_3**: @username_1, awesome! another in C, nanochess: http://www.ioccc.org/winners.html (again not sure on strength).  
  > **username_2**: Micromax beats nanochess easily as reported on talkchess.com a while ago. Nanochess is small, but not a serious attempt to make it truly playable. MicroMax's derivative - FairyMax has been bundled with the Winboard package, it's a very popular engine.  
  > **username_4**: Nanochess can win against Fairy-Stockfish 14 level 3 (1400 Elo) on lichess but loses against level 4 (1700 Elo)  
  
  ---
  
  ## 4 answers
  
  ### Answer by username_2 on 2015-01-30. Score: 4
  
  I'm not aware of any "small" chess engine written in JavaScript, but there's a "small" engine written in C. Micro-max has about 1900 to 2000 rating, depends on the rating list and testing condition.
  
  [http://www.computerchess.org.uk/ccrl/4040/cgi/engine\_details.cgi?print=Details+%28text%29ŋ=Micro-Max%204.8](http://www.computerchess.org.uk/ccrl/4040/cgi/engine_details.cgi?print=Details+%28text%29&eng=Micro-Max%204.8)
  
  Note that it's not the smallest engine, but the engine that is even smaller than Micro-max plays awful chess (dropping pieces) and even walk into check (illegal move).
  
  
  ---
  
  ### Answer by username_5 on 2015-09-23. Score: 2
  
  Garbochess-JS is written in javascript. It's about 75KB, 2400 or so lines of code I believe. The version written in C++ was rated around 2575 on CCRL.
  
  <https://github.com/glinscott/Garbochess-JS>
  
  Lozza-js is rated around 2300, and is about twice the size of Garbochess-JS.
  
  Toledo Nanochess and P4wn are probably less than 2000 elo, and Stockfish-js is considerably larger than Garbochess and Lozza.
  
  > **Comments:**
  > **username_6**: And stofish js is not really JS but compiled WASM  
  
  ---
  
  ### Answer by username_7 on 2016-03-14. Score: -1
  
  t seems like garbo was a little stronger maybe 2670 but anywhoo.
  
  <https://jtiscione.github.io/chessboard3js/play.html> is a nice online interface for playing p4wn -weak lozzo -strong!! and stockfish -godlike
  
  <http://op12no2.me/toys/lozza/play.htm>
  
  
  ---
  
  ### Answer by username_7 on 2016-03-14. Score: -1
  
  <http://forwardcoding.com/projects/ajaxchess/chess.html> <--garbo chess
  
  <http://htmlchess.sourceforge.net/demo/example.html> <-- 2d-3d chess
  
  
  ---
  
  