Commit Graph

22 Commits

Author SHA1 Message Date
Joseph Montanaro
c1d4d1be97 no need to track leader until game is over 2021-07-19 13:20:45 -07:00
Joseph Montanaro
94c4240d63 some improvements to benchmark script 2021-07-19 11:08:13 -07:00
37991656b9 make use of prettier dislpays 2021-07-14 22:05:03 -07:00
20d6022828 prettier displays for game board and win probabilities 2021-07-14 21:49:10 -07:00
b58aafc61f add readme and rename main file 2021-07-14 21:48:48 -07:00
Joseph Montanaro
57c991cf5f off-by-one error 2021-07-14 10:23:25 -07:00
Joseph Montanaro
bd413da9a3 more variance testing 2021-07-13 16:16:47 -07:00
Joseph Montanaro
bcf87a10fd multithreaded simulation for full game 2021-07-13 15:54:54 -07:00
Joseph Montanaro
6f694f99ed add (very) basic CLI 2021-07-12 15:46:06 -07:00
b4c31a7a68 testing variance on random sampling method 2021-03-25 23:08:06 -07:00
Joseph Montanaro
afacd2b52b use a template for indexing Board 2021-03-25 18:00:39 -07:00
Joseph Montanaro
239e99c79f randomize starting state 2021-03-24 18:14:57 -07:00
Joseph Montanaro
f05ab2cfa2 stochastic modeling for full games 2021-03-24 10:54:50 -07:00
2256b6d9bf refactor and start shifting to FixedSeq (currently broken) 2021-03-24 00:18:53 -07:00
Joseph Montanaro
59fc6b961b eliminate unnecessary indirection in ColorStack iterator 2021-03-22 17:23:28 -07:00
e5e2f30045 move to fixed-size arrays instead of sequences 2021-03-21 20:59:45 -07:00
e0f83cdca1 allow simulating more than 2 legs ahead 2021-03-20 23:56:07 -07:00
2aa0e63987 deduplicate game states at end of leg 2021-03-20 18:04:27 -07:00
6e1a1c8c96 switch to iterative style rather than recursive 2021-03-20 00:45:38 -07:00
Joseph Montanaro
c11e4e4696 working with recursion 2021-03-19 17:47:18 -07:00
86ef069848 permutations iterator 2021-03-18 23:23:19 -07:00
Joseph Montanaro
c552834741 initial commit 2021-03-18 15:42:22 -07:00