|
f6845b5126
|
fast response with no movement option
|
2024-10-06 21:05:45 +02:00 |
|
|
ac4c2d6f72
|
reduce target latency
|
2024-10-06 21:04:45 +02:00 |
|
|
d1b0ef3ccf
|
fix clippy warnings
|
2024-10-05 20:30:17 +02:00 |
|
|
bb356427df
|
cargo clippy --fix
|
2024-10-05 20:19:49 +02:00 |
|
|
16c78c81ae
|
add simulation benchmark
|
2024-10-05 20:19:17 +02:00 |
|
|
a4dc6eb6da
|
separate library and executable
|
2024-10-05 20:19:05 +02:00 |
|
|
c5b0319ac4
|
fix latency calculation
standard Duration can't go negative
|
2024-10-05 18:56:19 +02:00 |
|
|
5cb9c3d202
|
use debian instead of alpine
|
2024-10-03 18:52:29 +02:00 |
|
|
27040b66ee
|
play more short games for regression test
|
2024-10-03 18:52:17 +02:00 |
|
|
0d740621c6
|
build for my server cpu
|
2024-10-03 18:52:00 +02:00 |
|
|
c6abd47ef0
|
add turn info to game over event
|
2024-10-03 06:39:32 +02:00 |
|
|
075a08a78c
|
add constrictor mode
|
2024-10-03 06:09:06 +02:00 |
|
|
6bcce03d2a
|
heavier release build optimization
|
2024-10-03 05:55:07 +02:00 |
|
|
3d58e5331b
|
give the snake more thinging time
|
2024-10-03 05:37:19 +02:00 |
|
|
a1bdd4cb1b
|
remove container after regression test
|
2024-10-03 05:37:06 +02:00 |
|
|
12276bc354
|
allow terminating in progress simulations
|
2024-10-03 05:11:33 +02:00 |
|
|
d28eec7ef2
|
spawn extra compute threads
|
2024-10-03 05:09:04 +02:00 |
|
|
1c9d07f2cf
|
remove unused code
|
2024-10-03 04:30:26 +02:00 |
|
|
6123ca177e
|
solo mode (not verry good)
|
2024-10-03 04:22:59 +02:00 |
|
|
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 |
|