Commit Graph

20 Commits

Author SHA1 Message Date
90ff7ceba8 Added pass, resign, and quit buttons using SGC 2012-04-14 18:28:34 -04:00
db8eb7aa50 Don't hover when the cursor is moving fast, to prevent the weird lagging thing. 2012-04-14 17:10:12 -04:00
79d9fb0d9e Implement ko checking 2012-04-14 02:26:17 -04:00
de81e9129f Rename place_stone to play_move 2012-04-14 01:58:48 -04:00
9a78f2918a Add triangle on last move, to make long-running games easier to keep track of. 2012-04-14 01:57:20 -04:00
21b5930431 Fixed captures - everything works correctly now 2012-04-14 01:47:31 -04:00
80f4d11720 Make white hover stone partially transparent 2012-04-14 01:28:48 -04:00
96313cd47d Fix liberty checking code around the edges, fix the hover code 2012-04-14 01:21:17 -04:00
7652ddd596 Fixed a few bugs - stones can now be placed, but captures aren't working right 2012-04-13 16:59:05 -04:00
1474af0e5f Factored the board code into a 'goban' library, and re-implemented it to use simple arrays and to be much, much simpler. Unfortunately, though, it doesn't quite work yet 2012-04-13 16:53:57 -04:00
55dbed09f5 Implemented hovering stones under mouse cursor, and implemented a simple game clock 2012-04-09 20:55:09 -04:00
cf1b892d21 Fixed infinite recursion bug 2012-04-08 23:11:49 -04:00
f5d3608ba2 Added text to display number of captures and whose turn it is. 2012-04-08 18:24:14 -04:00
8881b1cd38 Return number of stones captured, keep track of captures for each player 2012-04-08 18:07:10 -04:00
c925a95ad7 Goban._valid_move() should allow placing a stone into a liberty-less space if it will result in a capture. 2012-04-08 17:10:39 -04:00
efa1a4f282 Fixed Goban._delete_group 2012-04-08 16:59:38 -04:00
15480ae9e0 Created a Goban class to handle all of the Go logic 2012-04-08 16:25:06 -04:00
b7f1d5b58d Added missing hoshi points, removed some now unneeded image files 2012-04-08 02:27:40 -04:00
740f914bd1 Added ability to place stones and mark intersections, and reduced number of image files needed. 2012-04-08 02:16:23 -04:00
225f09c98f Initial commit - So far we can print the board. 2012-04-08 01:06:10 -04:00