-
0c7bbbe200
switch to fastrand
master
jfmonty2
2023-01-02 21:21:02 -08:00
-
73f70e4fa9
RIIR
jfmonty2
2023-01-02 10:34:30 -08:00
-
310d6b7afa
random game sampling and basic benchmark
riir
jfmonty2
2023-01-02 10:33:07 -08:00
-
45deb93a4f
finish leg/game randomly (untested)
jfmonty2
2023-01-01 16:06:51 -08:00
-
b3e7ae7900
remove inefficient update_positions
jfmonty2
2022-12-31 22:47:48 -08:00
-
df4e671bc4
riir wip
jfmonty2
2022-12-31 22:40:48 -08:00
-
-
8715e5e354
track length instead of last index for fixedseq
jfmonty2
2022-01-11 15:26:35 -08:00
-
63df46eee6
reuse dice for subsequent legs in randomGame
Joseph Montanaro
2021-11-05 10:27:09 -07:00
-
d9efaf33e7
clear tiles as well as camels when setting state
jfmonty2
2021-11-02 18:09:18 -07:00
-
4995a9388b
fix game state representation
Joseph Montanaro
2021-11-01 15:44:21 -07:00
-
0ea49d3534
pull help message from readme
Joseph Montanaro
2021-10-22 12:35:09 -07:00
-
ad29f04660
fix percentage bar fill
Joseph Montanaro
2021-10-22 10:34:43 -07:00
-
29e3e70712
skip bounds checking in danger mode
jfmonty2
2021-07-29 19:34:56 -07:00
-
7301597789
use cligen for benchmarking
Joseph Montanaro
2021-07-20 16:16:01 -07:00
-
e5e90a6ca5
more bench improvements
jfmonty2
2021-07-19 21:26:26 -07:00
-
38e9e23dea
no need to set winner until game is over
Joseph Montanaro
2021-07-19 13:20:45 -07:00
-
8abe9fdd63
store camel stack positions (also slower apparently)
camelpos
Joseph Montanaro
2021-07-19 12:13:35 -07:00
-
-
f2e0698608
switch to fastrand (not actually any faster)
fastrand
Joseph Montanaro
2021-07-19 11:45:51 -07:00
-
cade17a9a6
initial implementation
jfmonty2
2021-07-18 22:07:37 -07:00
-
-
94c4240d63
some improvements to benchmark script
Joseph Montanaro
2021-07-19 11:08:13 -07:00
-
373807b4bc
switch to bitshifting operations (turns out to be slower, oh well)
shiftstack
Joseph Montanaro
2021-07-19 10:45:29 -07:00
-
a52e8669de
add bitshifting version of substack move
jfmonty2
2021-07-18 22:07:14 -07:00
-
-
c35bbdc36d
fix mask selection
bitshift
jfmonty2
2021-07-17 11:02:15 -07:00
-
a3911e4020
use faststack for camel stacks (currently broken)
jfmonty2
2021-07-17 08:43:26 -07:00
-
8d889170df
more procs for working on faststacks
jfmonty2
2021-07-16 22:43:45 -07:00
-
cd81150e6c
bitwise swap
jfmonty2
2021-07-15 21:27:04 -07:00
-
2165511624
more bitshifting and benchmark changes
Joseph Montanaro
2021-07-15 14:56:17 -07:00
-
e9c6b615a1
start working on bit shifting
jfmonty2
2021-07-15 08:27:42 -07:00
-
-
37991656b9
make use of prettier dislpays
jfmonty2
2021-07-14 22:05:03 -07:00
-
20d6022828
prettier displays for game board and win probabilities
jfmonty2
2021-07-14 21:49:10 -07:00
-
b58aafc61f
add readme and rename main file
jfmonty2
2021-07-14 21:48:48 -07:00
-
57c991cf5f
off-by-one error
Joseph Montanaro
2021-07-14 08:43:12 -07:00
-
bd413da9a3
more variance testing
Joseph Montanaro
2021-07-13 16:16:47 -07:00
-
bcf87a10fd
multithreaded simulation for full game
Joseph Montanaro
2021-07-13 15:54:54 -07:00
-
6f694f99ed
add (very) basic CLI
Joseph Montanaro
2021-07-12 15:46:06 -07:00
-
b4c31a7a68
testing variance on random sampling method
jfmonty2
2021-03-25 23:08:06 -07:00
-
afacd2b52b
use a template for indexing Board
Joseph Montanaro
2021-03-25 18:00:39 -07:00
-
239e99c79f
randomize starting state
Joseph Montanaro
2021-03-24 18:14:57 -07:00
-
f05ab2cfa2
stochastic modeling for full games
Joseph Montanaro
2021-03-24 10:54:50 -07:00
-
2256b6d9bf
refactor and start shifting to FixedSeq (currently broken)
jfmonty2
2021-03-24 00:18:53 -07:00
-
59fc6b961b
eliminate unnecessary indirection in ColorStack iterator
Joseph Montanaro
2021-03-22 17:23:28 -07:00
-
e5e2f30045
move to fixed-size arrays instead of sequences
jfmonty2
2021-03-21 20:59:45 -07:00
-
e0f83cdca1
allow simulating more than 2 legs ahead
jfmonty2
2021-03-20 23:56:07 -07:00
-
2aa0e63987
deduplicate game states at end of leg
jfmonty2
2021-03-20 18:04:27 -07:00
-
6e1a1c8c96
switch to iterative style rather than recursive
jfmonty2
2021-03-20 00:45:38 -07:00
-
c11e4e4696
working with recursion
Joseph Montanaro
2021-03-19 17:47:18 -07:00
-
86ef069848
permutations iterator
jfmonty2
2021-03-18 23:23:19 -07:00
-
c552834741
initial commit
Joseph Montanaro
2021-03-18 15:40:09 -07:00