|
b1c1f41c6e
|
add cli command to dump id parts
|
2023-08-12 18:48:01 +02:00 |
|
|
012b73879f
|
add sorts to position vectors for bijective id mapping
|
2023-08-12 14:00:54 +02:00 |
|
|
1c716ffeab
|
remove unused methods, put into own files
|
2023-08-12 12:17:55 +02:00 |
|
|
23978ada76
|
improve error handling
|
2023-08-12 12:17:55 +02:00 |
|
|
cc9f073d51
|
Update README.md
|
2023-08-12 10:03:18 +00:00 |
|
|
ffad109aef
|
Update README.md
|
2023-08-12 09:52:17 +00:00 |
|
|
46554a7e33
|
split into src and include folder
|
2023-08-12 11:44:56 +02:00 |
|
|
df559929b0
|
improve printing
|
2023-08-12 11:09:06 +02:00 |
|
|
76c10dc381
|
support reverting multiple turns at once
|
2023-08-12 10:50:16 +02:00 |
|
|
f137f9f67c
|
fix lookup method to also include trivials cases
|
2023-08-12 10:32:32 +02:00 |
|
|
a95efaea4a
|
expand cli interface
new commands opt and initials
|
2023-08-12 10:19:04 +02:00 |
|
|
4718698ddc
|
add history and command completion to readline
|
2023-08-12 09:36:06 +02:00 |
|
|
74fe5513da
|
improve cli interface: easier handling, more input validation
|
2023-08-12 08:50:28 +02:00 |
|
|
a8818418e9
|
add cli interface
|
2023-08-12 00:04:02 +02:00 |
|
|
a4e9560753
|
add function to enumerate possible next states upon specific action
|
2023-08-11 18:28:12 +02:00 |
|
|
6ae9244fa6
|
print best actions in current state
|
2023-08-11 17:05:52 +02:00 |
|
|
c77215ed14
|
fix initialization bugs
|
2023-08-11 16:54:11 +02:00 |
|
|
57ebc3d478
|
add method to list reasonable moves
|
2023-08-11 15:41:03 +02:00 |
|
|
907fb3ae47
|
refactor. make reverting possible in non-backtracking state
|
2023-08-11 14:39:55 +02:00 |
|
|
ec203198c0
|
simplify function logic, expose more of interface
|
2023-08-11 14:39:31 +02:00 |
|
|
a6a8fb78af
|
refactor attributes
|
2023-08-11 13:47:57 +02:00 |
|
|
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 |
|
|
78b3335414
|
adjust size of static vector
|
2023-08-10 14:07:18 +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 |
|
|
5f0a850c45
|
fix links
|
2023-08-09 22:57:16 +02:00 |
|
|
da7c96376d
|
comment on dependencies
|
2023-08-09 22:56:46 +02:00 |
|
|
9782f43601
|
Add LICENSE
|
2023-08-09 20:53:45 +00:00 |
|
|
2a4abbbee3
|
remove submodule
|
2023-08-09 22:53:54 +02:00 |
|
|
cf2a4a87c0
|
add README
|
2023-08-09 22:52:55 +02:00 |
|
|
1c6792a693
|
better cli interface
|
2023-08-09 22:50:03 +02:00 |
|
|
d95f40e2ae
|
normalize positions if duplicates of cards have already been played
|
2023-08-08 16:27:25 +02:00 |
|
|
28b30edd81
|
move submodule
|
2023-08-08 11:14:32 +02:00 |
|
|
d6b60bbe5b
|
add submodule and proper .gitignore
|
2023-08-08 11:12:59 +02:00 |
|
|
bfe2b85dec
|
better cli interface: support both files and ids
|
2023-08-08 11:08:58 +02:00 |
|
|
d7f7d3eb6d
|
fix typo
|
2023-08-08 02:04:58 +02:00 |
|
|
7bd910059c
|
make pace variable signed to detect game states out of pace
|
2023-08-08 00:44:50 +02:00 |
|
|
548bb371ff
|
add missing draw pile function
|
2023-08-08 00:31:16 +02:00 |
|
|
a77de7efe8
|
implement tablebase
|
2023-08-08 00:29:19 +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 |
|