Skip to content

loldot/lolbot

Repository files navigation

TODO:

  • End game on check mate
  • Pawn promotions
  • Pawns jumping over piece on first move
  • Pawns can check
  • En passant should capture
  • Checks
  • King cannot move away from check in check direction
  • Double Checks
  • Pins
  • Make king moves legal again
  • Display castling as legal move
  • Remove castling rights
  • Promotion -> Should Not Give Pawn To Oponent
  • Frontend: Update board correctly when castling
  • SignalR

Split Pawn Bitboard into attacks and pushes Make attacksbitboard

Square mapping:

+---------------------------------------+
| 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 |
+----+----+----+----+----+----+----+----+
| 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 |
+----+----+----+----+----+----+----+----+
| 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 |
+----+----+----+----+----+----+----+----+
| 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 |
+----+----+----+----+----+----+----+----+
| 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
+----+----+----+----+----+----+----+----+
| 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
+----+----+----+----+----+----+----+----+
|  8 |  9 | 10 | 11 | 12 | 13 | 14 | 15 |
+----+----+----+----+----+----+----+----+
|  0 |  1 |  2 |  3 |  4 |  5 |  6 |  7 |
+----+----+----+----+----+----+----+----+

Move

| |1 |2 |3 | |0|1|2|3|4|5|6|7|8|9|0|1|2|3|4|5|6|7|8|9|0|1|2|3|4|5|6|7|8|9|0|0|1| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FromIndex | ToIndex | Capt.Idx |C| F.P | C.P | P.P |Q|q|K|k|

About

Chess engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages