|
a116ec45e3
|
simplify play card logic: always consider bombs
|
2023-08-11 12:12:09 +02:00 |
|
|
3be7378903
|
rename function, rework backtrackaction
|
2023-08-11 11:43:05 +02:00 |
|
|
44db744ae3
|
refactor backtracking function
|
2023-08-10 18:27:25 +02:00 |
|
|
17405b0f00
|
code cleanup
- unified function to iterate over all possible draws when discarding or
playing
- remove macro usages
|
2023-08-10 18:23:33 +02:00 |
|
|
b1963967a7
|
add 8 clue state to backtrack action
|
2023-08-10 14:02:04 +02:00 |
|
|
a4ee7ace1d
|
simplify backtrack interface by storing actions in stack
|
2023-08-10 12:06:13 +02:00 |
|
|
24aa016d36
|
use rationals as probabilities
|
2023-08-10 11:14:15 +02:00 |
|
|
d95f40e2ae
|
normalize positions if duplicates of cards have already been played
|
2023-08-08 16:27:25 +02:00 |
|
|
548bb371ff
|
add missing draw pile function
|
2023-08-08 00:31:16 +02:00 |
|
|
1f4949c1e5
|
fix clash in encoding function due to undefined number of extra turns
|
2023-08-07 13:34:27 +02:00 |
|
|
c394338c24
|
keep track of probabilities in tablebase
|
2023-08-07 12:48:25 +02:00 |
|
|
f29e3d1202
|
compact storage of positions of draw pile cards
|
2023-08-07 12:10:19 +02:00 |
|
|
0100e8c987
|
store number of useful cards in starting hands
|
2023-08-07 11:48:39 +02:00 |
|
|
9cc852a96d
|
store bits for starting hand cards in central bitse
|
2023-08-07 11:47:41 +02:00 |
|
|
8001483ddd
|
get rid of bad print
|
2023-08-07 11:07:42 +02:00 |
|
|
1484c9e428
|
fix keeping track of card positions
|
2023-08-07 11:04:53 +02:00 |
|
|
704913b64c
|
fix output operator for stack
|
2023-08-07 10:45:11 +02:00 |
|
|
2735e66ade
|
track card positions
|
2023-08-07 10:36:03 +02:00 |
|
|
ed6f3949b0
|
set up initial card positions
|
2023-08-07 01:51:24 +02:00 |
|
|
228eac7af1
|
support striking of cards
|
2023-08-07 00:06:50 +02:00 |
|
|
bd400bb58c
|
code cleanup (but printing currently bugged)
|
2023-08-06 23:12:44 +02:00 |
|
|
ffcdea4eb0
|
more code cleanup: remove copy member from card
|
2023-08-06 22:20:20 +02:00 |
|
|
423be6c01b
|
code cleanup
|
2023-08-06 22:15:09 +02:00 |
|
|
385ba6650b
|
add virtual interface for all hanabi states
|
2023-08-06 22:06:58 +02:00 |
|
|
87ff267f80
|
fix clue count when playing 5s on 8 clues
|
2023-08-06 17:34:07 +02:00 |
|
|
6e71a6a457
|
remove actiontype from backtrack struct
|
2023-08-06 16:44:21 +02:00 |
|
|
6fa4098e36
|
count enumerated states
|
2023-08-06 15:05:34 +02:00 |
|
|
5ab7538506
|
code cleanup
|
2023-08-06 15:04:31 +02:00 |
|
|
daa19e408f
|
working version done
|
2023-08-06 15:02:50 +02:00 |
|
|
34f8bf2444
|
comment out card positions member
|
2023-08-06 14:06:41 +02:00 |
|
|
3b1ef55a5f
|
more assertions
|
2023-08-06 13:53:18 +02:00 |
|
|
89e6e02603
|
fix bug on not doing stuff in extraround
|
2023-08-06 12:49:52 +02:00 |
|
|
12ba53d37a
|
fix bug: cards in draw pilewere not merged correctly
|
2023-08-06 12:23:53 +02:00 |
|
|
bdab3f3b43
|
implement backtracking approach
|
2023-08-06 11:54:57 +02:00 |
|
|
b690f43a73
|
remove unneeded template parameter. implement game getter and normalization
|
2023-08-06 10:23:29 +02:00 |
|
|
38e4101402
|
implement initialising + doing actions of game state
|
2023-08-05 13:51:55 +02:00 |
|
|
52f114b020
|
parse actions from hanab.live
|
2023-08-05 13:04:51 +02:00 |
|
|
452c028f72
|
proper constructor for hanabi state
|
2023-08-05 12:19:55 +02:00 |
|
|
babc3f5085
|
check for emptiness of draw pile when reverting turn
|
2023-08-05 11:58:18 +02:00 |
|
|
3b993030ea
|
implement reading from file. cleanup
|
2023-08-05 11:55:46 +02:00 |
|
|
362d121930
|
clean up header
|
2023-08-04 16:55:41 +02:00 |
|
|
7bcb018244
|
initial commit of game state
|
2023-08-04 16:28:41 +02:00 |
|