34 Commits (126a9b02e1979f646983c6528873adc53caae06c)
 

Author SHA1 Message Date
Tait Hoyem 126a9b02e1 Add some edge cases
5 years ago
Tait Hoyem 9b63cd6c52 Fix king and knight checks by removing pair_to_pos in if statements
5 years ago
Justin Pilon 2f0be9c302 fully implemented kinght and king for get all moves
5 years ago
Tait Hoyem 4f09433cb3 Fix curly brace
5 years ago
Justin Pilon 2a0c129874 broken knight
5 years ago
Tait Hoyem d76f2f13ef Remove unused variables, and justin's old bishop code
5 years ago
Tait Hoyem 5cb6d225b7 Merge branch 'develop'
5 years ago
Tait Hoyem eaf929ef9a Make all_moves(Bishop) work correctly.
5 years ago
Justin Pilon 0ad4736291 partially implemented bishop for function all moves
5 years ago
Tait Hoyem c7d906e81d Fix warnings when compiling on Raspi (I think)
5 years ago
Tait Hoyem 400599fc91 Revamp get_all_moves tests.
5 years ago
Tait Hoyem f33d3125a0 #ifdef -> #ifndef
5 years ago
Tait Hoyem 4b50122f12 Allow multiple imports of constants.h with #ifdef. Fix typo.
5 years ago
Tait Hoyem 1026bcc9f8 Add comments for clarity
5 years ago
Tait Hoyem a6d8ed5e8c Fix up the format of the tests a wee bit.
5 years ago
Justin Pilon 2575a55b2f Define, add tests for and write partial impl. of get_all_moves
5 years ago
Justin Pilon e40f10adde Change CHESS_CARS to CPP std::array
5 years ago
Tait Hoyem f3248ad171
Update README.md
5 years ago
Tait Hoyem b0030d1091
Update README.md
5 years ago
Tait Hoyem b4b20a3892
Update README.md
5 years ago
Tait Hoyem 597c47a2c7 Add -std=c++11 flag to Makefile
5 years ago
Tait Hoyem 026f564e83 Change name of main file
5 years ago
Tait Hoyem a1049ce20a Fix tests. Was using incorrect coordinate system,
5 years ago
Tait Hoyem 8cd46542ef Fix board type. Add pos_to_pair, pair_to_pos functions
5 years ago
Tait Hoyem e3d2b4804d Make board type array<PieceType, 64>
5 years ago
Tait Hoyem 3144e7d7f5 Print pairs in tests. Add new tests for unimplemented functions
5 years ago
Tait Hoyem 5725803920 Change board from int[64] to vector<int, 64>
5 years ago
Tait Hoyem dd3709eb1b Add Rank::[A-H], and File::[ONE..EIGHT] constants.
5 years ago
Tait Hoyem 7e03a7c085 Redo tracking system. Add tests
5 years ago
gitJustin ca1e134755
Add files via upload
5 years ago
gitJustin86 d9bffd8d2c Justin's style of coding CHESS
5 years ago
Tait Hoyem e66faca3b4 Add Piece enum
5 years ago
Tait Hoyem 3075be375e Add enum to reresent places on the board.
5 years ago
Tait Hoyem 96e7955aaf
Initial commit
5 years ago