|
23be6f1a18
|
variable simulation time
|
2024-10-03 03:30:16 +02:00 |
|
|
c2d242453e
|
run regression test with local docker image instead of actual server
|
2024-10-03 02:15:57 +02:00 |
|
|
accfe7acbb
|
fix clippy lints
|
2024-10-03 01:45:46 +02:00 |
|
|
61e5f26bd7
|
clippy fix
|
2024-10-03 01:44:01 +02:00 |
|
|
8fa8282177
|
use montecarlo trees to evaluate the best mooves for all snakes
|
2024-10-03 01:43:14 +02:00 |
|
|
30c20b3f54
|
show production duel in browser
|
2024-09-30 23:20:59 +02:00 |
|
|
7998eeb5b8
|
add simulation to get the best move
|
2024-09-30 23:20:46 +02:00 |
|
|
7eb6eff65a
|
move MAX_HEALTH into main
|
2024-09-30 21:49:43 +02:00 |
|
|
39e84b3783
|
rename move to action
|
2024-09-30 19:40:02 +02:00 |
|
|
46f4e00e50
|
start over. Move randomly in a valid direction
|
2024-09-30 19:34:09 +02:00 |
|
|
d1a128e9df
|
add documentation
|
2024-09-30 19:32:17 +02:00 |
|
|
e5b81a3ff9
|
return None if no valid move was found
|
2024-09-30 18:34:47 +02:00 |
|
|
b7ea419d21
|
remove unused imports
|
2024-09-30 18:30:53 +02:00 |
|
|
af0baffde0
|
whatever I did there
|
2024-09-30 18:26:22 +02:00 |
|
|
157ea2aaad
|
use serdes rename_all
|
2024-09-30 18:25:59 +02:00 |
|
|
27d60845b5
|
add regression test and play vs production
|
2024-09-30 18:22:32 +02:00 |
|
|
c13f2d553b
|
slim docker image
|
2024-09-02 20:21:19 +02:00 |
|
|
60bd5acd35
|
add xtask to push docker image
|
2024-09-02 20:00:05 +02:00 |
|
|
0b02efc752
|
simplify safety check
|
2024-09-02 19:59:48 +02:00 |
|
|
290b793b94
|
move into unsafe directions as backup
|
2024-09-02 18:17:20 +02:00 |
|
|
9f7924b24b
|
fix off by 1 error checking for other snake movement
|
2024-09-02 18:08:28 +02:00 |
|
|
548b7ff7a6
|
xtask for 2-player local game
|
2024-09-02 18:06:41 +02:00 |
|
|
bed2b1be81
|
advanced move safety check
|
2024-09-02 17:37:15 +02:00 |
|
|
c301813dc9
|
add some documentation
|
2024-09-02 16:54:25 +02:00 |
|
|
565f2aefb5
|
use enum for the direction
|
2024-09-02 16:06:15 +02:00 |
|
|
fc123cbd2b
|
don't move into self
|
2024-09-02 15:42:33 +02:00 |
|
|
c54eb6b574
|
set custom head and tail
|
2024-09-02 15:37:10 +02:00 |
|
|
81ff66fddf
|
don't move out of bounds
|
2024-09-02 15:33:15 +02:00 |
|
|
c605d2887a
|
initial commit
|
2024-09-02 15:16:32 +02:00 |
|