Commit graph

38 commits

Author SHA1 Message Date
Jeff Wu
9494d549ae make risky plays 2016-03-30 00:38:02 -07:00
Jeff Wu
3d318340eb improve to 24.78 (for 5 players) 2016-03-29 22:59:14 -07:00
Jeff Wu
e0239dead0 bug fixes, added card partitioning. already at average score: 23.91! 2016-03-29 10:45:10 -07:00
Jeff Wu
adf98e0e4a information strategy, working! 2016-03-29 00:33:57 -07:00
Jeff Wu
efba24d6e8 beginnings of information strategy 2016-03-27 10:47:58 -07:00
Jeff Wu
f09dd58cda use iterator, return Vec<bool> on hints 2016-03-23 23:17:31 -07:00
Jeff Wu
4fa72e030f allow for probabilities in cardinfo
- helper functions for using probabilistic card info
- move firework to cards, re-export everything in game.rs
2016-03-23 22:22:19 -07:00
Jeff Wu
9c580ecb88 new cardinfo trait, separate cards stuff to different file 2016-03-22 21:45:24 -07:00
Jeff Wu
e49cb29592 configurable strategy 2016-03-20 12:40:27 -07:00
Jeff Wu
931a7d73ad percentage perfect 2016-03-19 15:29:26 -07:00
Jeff Wu
107d585b19 improvements, cleanup, readme 2016-03-19 14:24:22 -07:00
Jeff Wu
e36700d93f no empty hints, by default 2016-03-19 00:39:34 -07:00
Jeff Wu
964602d03d firework cloneable (and more compact) 2016-03-18 02:01:47 -07:00
Jeff Wu
c9602d1948 cheating strategy score up to 24.9435 (on seeds 0 - 10,000) 2016-03-18 01:40:29 -07:00
Jeff Wu
e01d93a055 turn result, turn history 2016-03-17 23:58:10 -07:00
Jeff Wu
e371e2f112 add nthreads option, histogram 2016-03-17 23:10:38 -07:00
Jeff Wu
706f5b52b6 another layer of indirection, prep for threading 2016-03-16 23:07:21 -07:00
Jeff Wu
44248c8d3e improvements to cheating strategy 2016-03-13 23:05:01 -07:00
Jeff Wu
0b9734c20b replicated 24.88 from paper 2016-03-13 22:28:34 -07:00
Jeff Wu
7f5feacbc7 command line parsing 2016-03-13 18:11:20 -07:00
Jeff Wu
adaa513ff8 cheating strategy improvements 2016-03-13 17:26:12 -07:00
Jeff Wu
6184fcd914 make rng seedable 2016-03-13 11:28:26 -07:00
Jeff Wu
02ffb781b3 finish up cheating strategy 2016-03-13 11:02:08 -07:00
Jeff Wu
2f6dc571c2 strategy that cheats, first pass 2016-03-13 01:07:34 -08:00
Jeff Wu
a16f490c04 simplify stuff 2016-03-12 21:27:15 -08:00
Jeff Wu
b63c850484 get rid of Pile<T> 2016-03-12 18:32:21 -08:00
Jeff Wu
1a0cad3b87 Discard class 2016-03-12 18:25:09 -08:00
Jeff Wu
093a65ae96 small bugfixes 2016-03-10 22:49:20 -08:00
Jeff Wu
1ad4f9b825 improvements to strategies API
make strategies its own module
use trait objects so you can mix and match strategies
stop using internal state associated type..
2016-03-10 22:26:32 -08:00
Jeff Wu
958c63e7d0 implementing display for everything 2016-03-10 20:59:43 -08:00
Jeff Wu
d2928c255d explicit fireworks class 2016-03-06 22:00:23 -08:00
Jeff Wu
b4d949ff2f move stuff to boardstate 2016-03-06 21:44:17 -08:00
Jeff Wu
49627b91b6 hints and better logging 2016-03-06 16:50:09 -08:00
Jeff Wu
a44b017eae add types for information 2016-03-06 03:33:14 -08:00
Jeff Wu
55e9dc2fe3 add some logging, fix some bugs 2016-03-06 01:35:19 -08:00
Jeff Wu
e2eebcbe07 sorta working, probably very buggy 2016-03-06 01:09:24 -08:00
Jeff Wu
9508a20082 flushed out game initialization 2016-03-05 19:36:02 -08:00
Jeff Wu
4168800875 Initial commit 2016-03-05 16:54:46 -08:00