Commit Graph

9 Commits

Author SHA1 Message Date
cs6601
ca6863b43e Game can now be run using java -jar GoGame.jar.
Rather than relying on the kgsGtp.jar application to run GoGame,
the GoGame agent calls the GtpClient using PipedInput/OutputStreams.
2012-09-06 09:43:32 -04:00
cs6601
d4acc5beda Fixed use of Zobrist hash for positional superko detection. 2012-09-04 16:02:49 -04:00
cs6601
0bbcb1054d MonteCarloUCT now plays most of a 9x9 game.
Sometimes attempts invalid move (suicide).
See screenshots under bugreports.
2012-09-01 18:14:12 -04:00
cs6601
d3c03f2c51 Updated RandomMoveGenerator to support MonteCarloUCT.
Now possible to prohibit a Collection of Actions from being included in the List of returned actions (or as a single returned value).
All unit tests now pass with the exception of MonteCarloUCT.

TODO: playerToMove and previousPlayerPassed should be made part of the GameState.
This would remove the superfluous Player parameter from many methods and make it possible
to check for the "I'm ahead and my opponent is offering to end the game" killer move.
2012-08-31 09:17:43 -04:00
cs6601
4a1c64843d Fixed Minimax search to use the new GameTreeNode, MinimaxProperty classes.
The previous implementation was overly complicated and may have been buggy except when searching only 2 plies ahead.
2012-08-30 10:51:04 -04:00
cs6601
2e40440838 Refactoring in progress.
Player and Action classes are now singletons (factory pattern) rather than String values.
Implementing more general treesearch code for minimax, alpha-beta, monte carlo using simplified backup logic.
2012-08-30 08:41:03 -04:00
cs6601
b44b666663 Updated username/password for whf4cs6999 account.
Current settings only allow connection from whf4human account.
Updated kgsGtp.jar to version 3.5.x
2012-08-28 13:32:13 -04:00
cs6601
bb5990a04f Substantial refactoring to implement correct Naive, UCT Monte Carlo tree search methods.
Removed unnecessary distinction between policy and tree search (tree search is a special kind of policy).
Calculation of all valid moves / arbitrary sets of moves is now a seperate class, as it serves a different purpose than a policy.
Introduced regression error in AlphaBeta test.
2012-08-28 10:40:37 -04:00
cs6601
36291171e5 Initial commit. 2012-08-26 11:48:21 -04:00