-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTODO.txt
22 lines (22 loc) · 1.29 KB
/
TODO.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
* Separate State class into StableState and PendingState
* StableState is constrained to be a valid game state awaiting the next player's input
* PendingState may be an invalid game state, awaiting interaction from the game engine or rule evaluation
* StableState may be converted to JSON, PendingState may not since it should never be shown to an observer
* Implement Go rules
DONE* End game after both players pass
* Capture stones with no liberties
* Revise naming to better reflect difference between cells/stones
DONE * Capture a single stone
DONE * Capture a group of stones
DONE * Transform board into groups:
DONE * Group of white stones adjacent to each other
DONE * Group of black stones adjacent to each other
DONE * Check for captures on groups instead of individual stones
* Detect illegal moves
* Placing a stone that will have no liberties
* Allow placing stone with no liberties if it will cause a capture that results in the stone having liberties
* Disallow recreation of previous state by rule of Ko
* Scoring
* Add undo/redo/tree traversal of game history
* Save state history as linked list
* Change GoRules to GoRuleChecker and make it an instanced class