Project_algorithmic_C.git
7 years agoProperly implement the validation of a shot and reverse or flip the
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>
7 years agoImplement :
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>
7 years agoCode cleanup and fix the logic behind the player constants number
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>
7 years agoFix an off-by-one on the pawn 2D array indexes.
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>
7 years agoAdd the basic code to make othello playable without any rule checks
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>
7 years agoFix to the const definition
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>
7 years agoImplement the othello board printing
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>
7 years agoAdd the basic code structure and build system
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>
7 years agoFinish the top down analysis
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>
7 years agoAdd the top down analysis
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>