Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-08-31 | Added comments to function definitions. | Robby Zambito | |
2021-08-31 | Add GPLv3 and add copyright notice to each file. | Robby Zambito | |
2021-08-31 | Update help output styling | Robby Zambito | |
2021-07-26 | Removing trailing newline from input | Robby Zambito | |
2021-07-26 | Made code DRYer by using macro. | Robby Zambito | |
The macro checks for the validity of a move in each direction. | |||
2021-07-26 | No need to add 1 to the player_number_from_color | Robby Zambito | |
It already returns 1 for player 1 and 2 for player 2. | |||
2021-07-26 | Removed commented code | Robby Zambito | |
2021-07-26 | Removed commented code | Robby Zambito | |
2021-07-25 | Replaced player_color type with equivalent player_color enum | Robby Zambito | |
2021-07-25 | Return player_color from game_loop rather than char. | Robby Zambito | |
The player_color type already is set to char, but this is a bit clearer as to what the actual return values are | |||
2021-07-25 | Made the print function take a const for the board parameter. | Robby Zambito | |
We wont need to mutate the board in the print function. | |||
2021-07-25 | Removed commented code | Robby Zambito | |
2021-07-25 | Initial commit | Robby Zambito | |