summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Jérôme Benoit [Fri, 5 May 2017 12:33:30 +0000 (14:33 +0200)]
Implement the helper functions needed to list the playble shots
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 4 May 2017 23:12:12 +0000 (01:12 +0200)]
Polish the UI:
* clear the screen when neeed;
* be more informational about wrong shot;
* permit to restart the game once finished.
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 4 May 2017 21:42:42 +0000 (23:42 +0200)]
Properly implement the validation of a shot and reverse or flip the
necessary pawns.
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 28 Apr 2017 22:03:41 +0000 (00:03 +0200)]
Implement :
* Already played shots linked list;
* Terminal min size detection;
* Some helper functions and declare helpful data structures.
Fix also a bunch of compiler warnings.
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 28 Apr 2017 13:27:23 +0000 (15:27 +0200)]
Code cleanup and fix the logic behind the player constants number
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 27 Apr 2017 20:03:30 +0000 (22:03 +0200)]
Fix an off-by-one on the pawn 2D array indexes.
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 26 Apr 2017 22:18:16 +0000 (00:18 +0200)]
Add the basic code to make othello playable without any rule checks
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 25 Apr 2017 16:38:00 +0000 (18:38 +0200)]
Fix to the const definition
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 25 Apr 2017 13:21:04 +0000 (15:21 +0200)]
Implement the othello board printing
And commit the forgotten bits ...
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 24 Apr 2017 19:31:51 +0000 (21:31 +0200)]
Add the basic code structure and build system
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 24 Apr 2017 13:11:04 +0000 (15:11 +0200)]
Finish the top down analysis
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 24 Apr 2017 12:30:14 +0000 (14:30 +0200)]
Add the top down analysis
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>