lichess-org / lichobile

lichess.org mobile application
https://lichess.org/mobile
GNU General Public License v3.0
2.03k stars 318 forks source link

Antichess engine considers castling as a move #1023

Open Raffa2005 opened 5 years ago

Raffa2005 commented 5 years ago

I'm submitting a ... (keep the relevant one):

Bug report

Current behavior:

The lichess Antichess engine considers castling (0-0-0) as a legal move. Expected behavior: It shouldn't consider castling as a move since it isn't possible

It shouldn't consider castling as a legal move Steps to reproduce:

  1. You open lichess app

  2. You open analysis

  3. You select the variant anti chess

  4. You enable computer-analysis and set analysis lines and cores to MAX (should also work otherwise)

  5. You make these moves: 1.e3 c5 2.Ba6 Nxa6 3.b4 cxb4 4.d3 Rb8 5.Qe2 Qc7 6.Nd2 Qxh2 7.Rxh2 Nc7 8.Rxh7 Rxh7 9.Ba3 bxa3

  6. Now see: the engine says one of the best moves is 0-0-0 which however isn't possible to do.

Environment information

Other information:

This bug only exists in the mobile app. In the browser there's no such problem

KRVPerera commented 5 years ago

Same here not in antichess but normal standard https://lichess.org/GxtuCegQ After d6 pawn move shows queenside castling as best move.