Commit Graph

46 Commits

Author SHA1 Message Date
926a331df0 Some flags from main.py is gone, rolls now allow a face_value of 0 yet
again and it is possible to play against the ai. There is no flag
for this yet, so this has to be added.
2018-05-13 23:54:13 +02:00
c3f5e909d6 flip is back 2018-05-11 21:47:48 +02:00
1aa9cf705f quack without leaks 2018-05-11 21:24:10 +02:00
383dd7aa4b code works again; quack gave ~3 times improvement for calc_moves 2018-05-11 20:13:43 +02:00
93188fe06b more quack for board 2018-05-11 20:07:27 +02:00
03e61a59cf quack 2018-05-11 17:29:22 +02:00
f2a67ca92e All board reps should now work as input. 2018-05-10 10:49:25 +02:00
1f8485f54e No longer use n_ply, shit's too slow man.
Added extra logging, now logs the average difference in values
between trainings.
Also fixed bug with the length of quack-norm.
Also added cli argument; use-baseline, if set, the baseline-model
will be used.
2018-05-06 20:41:07 +02:00
e5cc54d3e0 Added a normalised version of quack 2018-04-23 00:35:25 +02:00
b6c52ba476 fix type error 2018-04-16 00:24:24 +02:00
8998dca1f2 remove @Pownie's debug print 2018-04-16 00:03:02 +02:00
cc1e010840 Uses proper board instead of Alex' drunken mistakes 2018-04-15 23:51:28 +02:00
7993da0db7 Turns are now functioning 2018-04-14 18:47:38 +02:00
7764a70799 Changed calculate_legal_states to allow for possible face_value of 0 2018-04-14 14:51:50 +02:00
17f5b62e9b proper Tesauro board representation 2018-03-28 14:36:52 +02:00
fda2c6e08d parametric board representation in network 2018-03-28 12:00:47 +02:00
95b12a6c35 Added another board_rep 2018-03-28 00:33:39 +02:00
785ae6a5be Fixed wrongful appending of current player to board rep 2018-03-28 00:16:50 +02:00
f43108c239 Training using slightly revamped version of our own board rep. Not sure if works yet. 2018-03-27 04:06:08 +02:00
006f791727 Functioning network using board representation shamelessly ripped from Tesauro 2018-03-27 02:26:15 +02:00
fcc373c0d8 update pubeval to take tuples of proper length as input 2018-03-14 12:47:27 +01:00
5e937d68b4 Added a bunch of pubeval stuff 2018-03-11 20:00:24 +01:00
b49946e42c Added player type and possibility of playing against network as player 2018-03-09 14:19:31 +01:00
73f10158e5 fix pretty print 2018-03-06 13:01:56 +01:00
09973b6cde (╯°□°)╯︵ ┻━┻ 2018-03-06 11:44:30 +01:00
d3fe3c918c Potentially functioning network 2018-03-04 17:35:36 +01:00
275689c002 Bot reimplemented with new representation.
Fixed bug where black could not bear off.
More tests written.
2018-02-22 14:01:28 +01:00
1c8a68835f shit works 2018-02-15 13:57:59 +01:00
b5007c470a testing legal move calculations, seems to work 2018-02-15 13:03:43 +01:00
246d1ac44a any_move_valid 2018-02-15 12:41:38 +01:00
77f5e74785 is_move_valid should be complete(-ish) and tested 2018-02-15 12:21:42 +01:00
dbd18b603f tests 2018-02-14 11:48:07 +01:00
bd87ed86d0 does not work, but is improved 2018-02-13 14:38:49 +01:00
56ceee589b remove unnecessary cup 2018-02-13 10:15:40 +01:00
0d489922cf Added position-numbers to the board 2018-02-08 00:00:18 +01:00
fffc8cda85 improvements 2018-02-07 16:27:03 +01:00
09a006ae99 code clean-up 2018-02-07 16:09:09 +01:00
bf443e083e Update board.py 2018-02-07 14:32:56 +00:00
c2118d0549 Added network 2018-02-07 15:31:05 +01:00
fb3d822a86 Fixed winning method 2018-02-06 23:54:42 +01:00
2d53ce58ab Flipped ends 2018-02-06 23:48:02 +01:00
848923de06 code readability improvements 2018-02-06 23:46:15 +01:00
3c0625ef47 Changed look of board, now using -1 and 1 as players, cleaner, easier and faster 2018-02-06 23:29:51 +01:00
ea9b8d3feb Now actually has a bot playing, although randomly, it still works 2018-02-05 23:50:31 +01:00
ddc56680f1 Able to find all legal moves 2018-02-05 23:36:32 +01:00
34264fe8c4 initial commit 2018-02-05 22:31:34 +01:00