Commit graph

46 commits

Author SHA1 Message Date
Aode (lion) 43d3761bbf Fix some clippy nits
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-02-13 16:41:29 -06:00
Kumu a07416dce8 Fix errors
Some checks failed
continuous-integration/drone/push Build is failing
2022-02-09 07:31:34 -05:00
Kumu ece42e982c Add basic game outcome determination
Some checks failed
continuous-integration/drone/push Build is failing
2022-01-14 10:33:05 -05:00
Kumu 35a01262b1 Add pawn promotion 2022-01-13 22:45:25 -05:00
asonix 4160032cba Merge pull request 'Add long polling for game state' (#4) from asonix/long-polling into kumu
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #4
2022-01-13 23:15:19 +00:00
Aode (lion) c7aea84979 Proper board response naming 2
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-01-07 22:11:30 -06:00
Aode (lion) 730470bf9f Proper board response naming
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-01-07 22:11:05 -06:00
Aode (lion) 8f52495788 Only return board from Poll, add optional PieceKind to Move
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-01-07 22:09:24 -06:00
Aode (lion) 6010d16cd4 Allow async-yields-async
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-01-02 20:42:33 -06:00
Aode (lion) 4f88cdc81e Add long polling for game state
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-01-02 20:37:34 -06:00
asonix e45dd93a7a Merge pull request 'Add CI' (#3) from asonix/add-ci into kumu
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #3
2022-01-03 01:50:56 +00:00
Aode (lion) 7b5596c96b Use proper project name
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-01-02 19:46:21 -06:00
Aode (lion) b746f5570b Add CI
All checks were successful
continuous-integration/drone/pr Build is passing
2022-01-02 19:43:17 -06:00
asonix 624391eed3 Merge pull request 'Formatting and Clippy' (#2) from asonix/formatting into kumu
Reviewed-on: #2
2022-01-03 01:37:45 +00:00
asonix 88bf7f41ec Merge branch 'kumu' into asonix/formatting 2022-01-03 01:37:20 +00:00
asonix 77577fae2b Merge pull request 'Format ApiMessage' (#1) from asonix/api-message into kumu
Reviewed-on: #1
2022-01-03 01:37:01 +00:00
Aode (lion) c0ab67f79d Rank inclusive 2022-01-02 13:19:40 -06:00
Aode (lion) a0c1c68000 Clippy (board_state) 2022-01-02 13:18:04 -06:00
Aode (lion) 8422e22261 Formatting 2022-01-02 13:13:01 -06:00
Aode (lion) 3e4221ce8a Format ApiMessage 2022-01-02 11:19:45 -06:00
Kumu cbdc46aca6 Add check rules 2022-01-02 11:47:00 -05:00
Kumu d5168182dd Add castling 2022-01-02 11:46:57 -05:00
Kumu 509ffd524c Add en passant 2022-01-02 11:46:50 -05:00
Kumu 2e8f0f6005 King and knight now move 2022-01-02 11:46:44 -05:00
Kumu 8c6a230138 Can only capture opposite color 2022-01-02 11:46:37 -05:00
Kumu 3a50c7a708 Pawns move 2022-01-02 11:46:33 -05:00
Kumu e1d1779875 Refactor to use position made up of u8 for file and rank 2022-01-02 11:46:23 -05:00
Aode (lion) 82504a9c47 Fix en_passant cell choice 2021-12-31 17:27:49 -06:00
Aode (lion) 5064bf6491 Return 'Option<SideEffects>' rather than tuple 2021-12-31 17:23:57 -06:00
Aode (lion) 9edefa920d Split movement side effects from validity checking 2021-12-31 17:11:04 -06:00
Aode (lion) 4a2a4c81c5 Add 'in check' logic 2021-12-31 16:51:12 -06:00
Aode (lion) 99f826ef32 Clean en passant after non-useful turn 2021-12-31 16:12:45 -06:00
Aode (lion) 0d85ce74c8 Fix en passant for black 2021-12-31 15:48:44 -06:00
Aode (lion) bf5580149d Check en passant, validate black pawns 2021-12-31 15:42:39 -06:00
Aode (lion) e24c2ea39f Validate white pawns 2021-12-31 15:11:05 -06:00
Aode (lion) 76f530b91e Group common imports 2021-12-31 14:43:35 -06:00
Aode (lion) 80fcc059f3 simplify game start 2021-12-31 14:37:56 -06:00
Aode (lion) cef5898c44 Move BoardState into own file 2021-12-31 14:21:26 -06:00
Aode (lion) 674f677846 Move JSON types to own module 2021-12-31 14:15:52 -06:00
Aode (lion) 2c3b3510c3 Make illegal moves 2021-12-30 23:54:47 -06:00
Aode (lion) 0175f2d933 Chess server uwu 2021-12-30 23:21:43 -06:00
Aode (lion) 1cd980989a Add methods to convert File and Rank to and from numbers 2021-12-30 21:41:25 -06:00
Aode (lion) 9338b3c669 Remove redundant borrow 2021-12-30 21:32:00 -06:00
Aode (lion) d2bfb445d3 Name handler return type 2021-12-30 21:23:50 -06:00
Aode (lion) 2ad35f1f1c Move tracing stuff to own module 2021-12-30 21:21:16 -06:00
Aode (lion) bc72d3455d Wrapping structure for a chess engine 2021-12-30 21:15:37 -06:00