Commit Graph

54 Commits

Author SHA1 Message Date
Quinten Kock c6ea3de822 Make pseudo-perft actually pseudo 2020-07-16 21:36:27 +02:00
Quinten Kock 5112d298ed Fix edge-case in movegen 2020-07-16 21:19:44 +02:00
Quinten Kock 1ca79fa2ca attempt to fix perft 2020-07-04 20:26:18 +02:00
Quinten Kock 1bb28da249 actually add threat.h 2020-07-04 16:59:27 +02:00
Quinten Kock 49aa6ec54b Implement eg threat detection 2020-07-04 16:58:30 +02:00
Quinten Kock 5507db23dd Remove Move.h (moved to Types.h) 2020-06-20 03:38:03 +02:00
Quinten Kock e00f9231fb Put more stuff in namespaces 2020-06-20 03:28:30 +02:00
Quinten Kock 21e956519e Impl UCI bench and perft 2020-06-20 03:26:33 +02:00
Quinten Kock fd1158c0c8 Fix compiler warnings 2020-06-20 02:32:10 +02:00
Quinten Kock 9184324a7f move UCI_COMMANDS fully to PROGMEM 2020-06-19 18:58:33 +02:00
Quinten Kock ce19f8793a Store UCI strings in progmem 2020-06-19 18:28:09 +02:00
Quinten Kock ec306fe6ad attempts are being made 2020-06-19 17:58:18 +02:00
Quinten Kock db63b54764 Implement basic UCI framework 2020-06-19 17:20:13 +02:00
Quinten Kock 11dacef42b Update TODO messages 2020-06-19 16:12:15 +02:00
Quinten Kock 834d4f1cf4 Remove \t\n 2020-06-19 15:49:28 +02:00
Quinten Kock dd9acb7295 optimize make routine 2020-06-19 03:39:27 +02:00
Quinten Kock c54e2b9e1a Fix perft, extend benchmark 2020-06-19 03:05:11 +02:00
Quinten Kock cc5562c533 Fix lingering state bug in movegen 2020-06-19 02:15:01 +02:00
Quinten Kock 25156e7ac7 Fix move generation I think 2020-06-19 01:26:00 +02:00
Quinten Kock 65015c9a6c attempt at move generation 2020-06-19 00:46:08 +02:00
Quinten Kock a6bfca6ddc Remove panic from end of bench 2020-06-18 21:20:51 +02:00
Quinten Kock fd808ef5e0 Implement unmaking and castle rights 2020-06-18 21:19:20 +02:00
Quinten Kock 8abb6d46fb Add castling code to benchmark 2020-06-18 21:17:18 +02:00
Quinten Kock 36a4ff5676 Better board_init, implement basic castling in unmake 2020-06-18 20:47:11 +02:00
Quinten Kock e69fd01b66 Implement multiple functions in main 2020-06-18 20:45:10 +02:00
Quinten Kock 6d342e4e0e Panic at end of bench() 2020-06-18 19:58:51 +02:00
Quinten Kock 3a95a80333 Use #define constants, and more PROGMEM 2020-06-18 01:46:27 +02:00
Quinten Kock 61296d8a9a Reimplement board as struct 2020-06-18 01:21:04 +02:00
Quinten Kock 6b84aaedc6 Implement benchmark, correct name for ACF_CLEAR_UNMOVE 2020-06-18 01:03:45 +02:00
Quinten Kock c69d0b96d5 Remove ACF_FAST_PIECE feature 2020-06-17 23:59:45 +02:00
Quinten Kock 0b75a0c169 Fancier printing 2020-06-17 23:59:13 +02:00
Quinten Kock e400106b55 Put unmake struct on a diet 2020-06-17 23:58:43 +02:00
Quinten Kock 6954cfcb0c Merge branch 'master' of ssh://git.dehosting.club:3022/quintenk/ArduChess 2020-06-17 23:19:39 +02:00
Quinten Kock 6d774260a3 Start working on unmake 2020-06-17 23:19:35 +02:00
Quinten Kock 519455ab69 Compile everything with -O3 2020-06-17 21:19:22 +02:00
Quinten Kock 86e2455639 Improve optimization 2020-06-17 21:10:00 +02:00
Quinten Kock cc20fa0ce5 smol fixes 2020-06-16 04:52:19 +02:00
Quinten Kock 3702bddfd3 Small optimizations, add benchmark 2020-06-16 04:30:02 +02:00
Quinten Kock a995784aac Hopefully add castling 2020-06-16 03:57:40 +02:00
Quinten Kock e4c7dcc7e2 Increase serial speed 2020-06-16 03:56:53 +02:00
Quinten Kock adb77a6990 Implement enpassant 2020-06-16 03:22:05 +02:00
Quinten Kock 9389b5e5e9 Start properly implementing make and unmake 2020-06-16 00:58:19 +02:00
Quinten Kock 3e2fca227b implement more Board functions outside Class definition 2020-06-16 00:15:32 +02:00
Quinten Kock 9adccec70a Start implementing make 2020-06-16 00:10:21 +02:00
Quinten Kock 7c05006d9d Fix unmove storing 2020-06-16 00:09:54 +02:00
Quinten Kock 19a2e5e076 Implement panic() function 2020-06-16 00:08:29 +02:00
Quinten Kock a4bc961b2c Explicitly include Arduino.h to make it possible to create a future compat layer to run on a normal computer 2020-06-15 23:20:11 +02:00
Quinten Kock 0b9f92218c Save SRAM with making `const` bytes `static const` 2020-06-15 22:49:45 +02:00
Quinten Kock ce74c6c4f9 Implement a lot of stuff 2020-06-15 22:49:14 +02:00
Quinten Kock fa18fa6a98 Rename PTR_PTR_UNMAKE 2020-06-15 20:27:51 +02:00