tgo-java Code
Java go program that allows for unusual board shapes and topologies.
Brought to you by:
rtayek
september 2001 this is an old project, so it's kinda crufty in places. had a bunch of enums like play, what, mode etc. in Model tossed them all and added Role. these correspond to the gtp (go transfer protocol) commands that i added like tgo_black, tgo__white, etc. the idea here was to instruct the model to only allow a player to move when it is their turn. or at least keep the response from the move from being sent back to the server. these are set by the model after connecting when start gtp is called. then the role is changed in the model and observers are notified. maybe these should be set by the server to tell the client what color to play and what else he can do. i set git's diff.algorithm patience to minimal. always use git diff -w since reformat can mess stuff up. line feeds in source files are messed up. figure out a way to fix this once and for all. oct 2021 still have broken tests. in.close hangs because he can not get a lock! HEAD detached at de80829 - only (testA1A2) has one intermittent failure at: java.lang.NullPointerException: Cannot invoke "controller.GTPPipe.close()" because "this.pipe" is null at server.GameTestCase.tearDown(GameTestCase.java:61) considering branching at b3dd0fb - the above test only fails once out of 7 trues. ran into ssl expired problem - fix: git config --global http.sslverify "false" the above is a security problem. oct 2021 made branch frog before most of the gtp refactoring. made a bunch of commits to get rid of most of the small diffs between frog and master. at this time the latest frog commit is 8814448e00014 and the lastest master commit s 3a7c7faf06546. frog branch got afu with a broken revert. started over with a node on frog branch. new project is tgo2. so this project is obsolete.