Commit Graph

28 Commits

Author SHA1 Message Date
270072006c Root_par beats GoFree! 2012-11-18 18:44:09 -05:00
aca8320600 First working implementation of ANN which is trained using GameResults.
The PassFilter simply outputs BlackWins and WhiteWins (Range 0 - 1 but not presently clamped).
In principle, this type of feedforward ANN can be used to decide whether a PASS will result in blackwins or whitewins at any stage.
The goal is for the network to learn that passing while losing when valid moves exist is bad, but passing while winning is relatively harmless later in the game.
2012-11-17 18:40:31 -05:00
d9d6ecda80 Fixed unit tests. Updated classpath. 2012-11-16 04:21:19 -05:00
ca37280ed8 Beginning to implement neural net training. Fixed bugs in SGF/LaTeX export. 2012-11-15 15:00:40 -05:00
e01060bc11 GUI updates. Added sound effect for playing a stone. 2012-11-15 04:02:05 -05:00
4d38c2bc20 Able to export SGF files from successful games. 2012-11-14 11:14:38 -05:00
Woody Folsom
105b4c0187 Added Neuroph 2.6 to lib folder and classpath. Added several pro games to data folder.
Note that the SGFParser does not currently handle these games as they use full Node names rather than abbreviations (e.g. GaMe not GM).
2012-11-13 16:57:02 -05:00
8c69c62184 Added simple GUI for 9x9 go. Use HUMAN_GUI player option. 2012-11-13 10:38:34 -05:00
c8dff2f594 Fixed bug in GameResult reporting (toString). RootParallelization policy now explicitly excludes passing when losing unless it is the only winning move.
GoGame beat me on 9x9 playing as white! (by 1/2 pt using Chinese scoring).
2012-11-09 20:20:54 -05:00
9b8693fc3e Added ANTLR grammar for SGF loading. 2012-11-09 18:41:25 -05:00
b60c176d39 Code cleanup; Initial implementation of root parallelization. 2012-11-09 18:40:51 -05:00
33f50fb851 Incremental update to allow running a battery of AI vs AI games, with some very basic reporting. 2012-10-30 15:41:57 -04:00
35d84b1358 Added feedback when computer is thinking is StandAloneGame mode. 2012-10-15 23:43:14 -04:00
db1bed43b4 Consolidated StateEvaluator class into GameState.getResult(). Fixed some issues with komi and normalized score calculation. 2012-10-15 18:13:18 -04:00
def3b5979b Added PASS. 2012-09-26 12:01:09 -04:00
f8f8214300 In process of moving GameConfig into GameState (and making it an immutable singleton for the lifetime of the game).
Still does not understand when or how to resign, or how to play the oppoent's PASS.
2012-09-26 07:50:20 -04:00
d6068c841a fixes to buggy MCTS code. Implemented rudimentary export of game state as SGF and LaTeX. 2012-09-25 17:13:15 -04:00
8d466d90fe Fixed invalid move by Monte Carlo UCT. Still does not handle player's PASS. 2012-09-24 11:08:03 -04:00
ded284deb4 SGF file parser work in progress. 2012-09-22 17:40:42 -04:00
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