Commit Graph

26 Commits

Author SHA1 Message Date
f596e0f3ee Factored some relevant data into the GoGame class, made Game -> Close work correctly 2012-04-17 14:59:46 -04:00
00b65a65df Added a way to close the currently open game, to ease transition to multiple games running at once 2012-04-17 01:46:55 -04:00
cb0fdcf017 Make GoGame widgets cleaner, tie them to actual functions 2012-04-17 01:39:16 -04:00
38b298ec45 Make go board widget show (even if it doesn't quite work yet) 2012-04-17 01:21:39 -04:00
966c6eb9e7 Started implementing a gogame class to handle GUI aspects of the board 2012-04-17 01:01:34 -04:00
579b9bc199 Cleaned up the gui some more 2012-04-16 22:07:07 -04:00
704e7209a6 See previous commit... 2012-04-16 13:00:56 -04:00
f4680cc631 Continued network mode implementation 2012-04-15 19:52:58 -04:00
4f5227cd82 Added basic implementation to gtpsocket, started to sketch out networkthread 2012-04-15 16:54:50 -04:00
da583678c1 Read config data from pygo.cfg 2012-04-15 01:00:36 -04:00
16061abf0a Refactored gui code into a class to make it more managable 2012-04-15 00:20:39 -04:00
ac0b65ec62 Initial work on implementing a network mode for communication with a server program. 2012-04-14 23:42:56 -04:00
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
de81e9129f Rename place_stone to play_move 2012-04-14 01:58:48 -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