Commit Graph

132 Commits

Author SHA1 Message Date
tali a76f03687a move tracking # pieces into Simul 2023-04-13 20:16:54 -04:00
tali e62270cd42 very slight improvements to tidepool::sim 2023-04-13 20:16:51 -04:00
tali 66bb54a48c remove all of the old cli impl from fish/, fumen-utils/ 2023-04-13 15:30:29 -04:00
tali fdae258965 create fumen-replay script for use with tidepool data 2023-04-13 15:30:29 -04:00
tali 2a083b1cf5 rewrite sim.rs in javascript for tidepool-utils 2023-04-13 15:25:17 -04:00
tali 059c059fdd create tidepool-utils js package, with prng impl 2023-04-13 14:38:05 -04:00
tali 62f48df58e fix tidepool cli arg groups 2023-04-13 13:44:02 -04:00
tali 2219e96f48 simplify tidepool moves output json 2023-04-13 13:38:29 -04:00
tali 1c8af44523 change PRNG to SplitMix64, add test to monitor determinism 2023-04-12 17:21:39 -04:00
tali 05e6bc3e50 Cheese uses u32 as internal state (for determinism reasons) 2023-04-12 16:43:53 -04:00
tali d61e6588c7 move tidepool::{queue,garbage} all inside the sim module 2023-04-12 16:05:04 -04:00
tali e8351e73be make Queue::reachable() iterator much more lean 2023-04-12 15:49:53 -04:00
tali 6d1ced46e4 improve lifetime annotation in bot 2023-04-12 15:47:32 -04:00
tali 501c333048 tidepool: run a simulation and generate JSON output 2023-04-12 15:07:51 -04:00
tali 8461fb8379 derive Serialize for tidepool::Config 2023-04-12 00:38:50 -04:00
tali 79695ef1d6 add remark to AStarNode about tiebreakers 2023-04-11 22:39:45 -04:00
tali 2910e405be wip: tidepool cli app 2023-04-11 22:39:30 -04:00
tali 14024f63ff add toml config file parsing to tidepool 2023-04-11 20:44:35 -04:00
tali e64b11cefe sim: use usize instead of i16 for garbage level min/max 2023-04-11 20:42:31 -04:00
tali 68cb2cae58 tidepool: seed from u64 2023-04-11 20:03:54 -04:00
tali a0aaba461d derive Copy for Queue 2023-04-11 19:11:43 -04:00
tali 2a53e992ae implement cleaned up and well documented version of bot engine 2023-04-11 19:11:40 -04:00
tali 3fb3743cd1 add pretty simple Queue type to mino 2023-04-11 16:22:18 -04:00
tali 5e73d7627e add jank auto player 2023-04-11 13:18:13 -04:00
tali c0a3f318b1 create tidepool crate, queue/garbage sim infrastructure 2023-04-11 13:18:13 -04:00
tali a40d336911 ai: enable using hold if it is initially empty 2023-04-11 13:18:13 -04:00
tali 89f64aa8d8 fix impl IndexMut<RangeFull> for MatBuf to only provide up to ..rows 2023-04-11 12:31:35 -04:00
tali 586d328718 add MatBuf::shift_up() operation 2023-04-11 12:31:35 -04:00
tali 002c0ba37c shrimplify: remove "capabilities" interface
this is also going to be reassessed later
2023-04-11 12:31:35 -04:00
tali 7637f892ae shrimplify: remove FindLocationsBuffers
we will add some sort of similar functionality back later, after we have performance data
to justify it
2023-04-09 18:00:30 -04:00
tali 71efd222eb code quality: downstacking.rs 2023-04-09 14:43:06 -04:00
tali d564bc25af shrimplify: MatBuf is only generic of its length, not buffer type 2023-04-09 14:35:56 -04:00
tali 15d69fe128 WIP: modified A* with bumpalo managed nodes 2023-03-07 19:30:31 -05:00
tali d52e4da215 Add evaluate() function that combines the eval fn's with weights 2023-03-07 19:10:26 -05:00
tali c2e91dc30a Piece derives Copy 2023-03-07 19:10:16 -05:00
tali 111ca1a7bb move eval/mod.rs to eval.rs 2023-03-07 17:48:49 -05:00
tali 58ae5a67f3 Add script for testing move suggestions 2023-03-05 12:45:04 -05:00
tali 3e52b6fb71 Fix clippy lints
- format strings
2023-03-05 12:45:04 -05:00
tali c3d144f730 Use tracing crate for logging 2023-03-05 12:45:04 -05:00
tali 7ddc748d35 Guide AI by heuristic evaluation; "best first search" 2023-03-05 12:45:04 -05:00
tali 5313580b2e Implement some basic downstacking heuristics 2023-03-05 12:44:57 -05:00
tali b6e6a00164 Add IndexMut impls for MatBuf 2022-12-21 20:56:38 -05:00
tali 13f5d0c2eb fixup! fix Mat impl Index<Range> 2022-12-21 20:56:36 -05:00
tali e6bf7ec12b Implement a couple straightforward heuristics 2022-12-21 16:31:52 -05:00
tali f76cc06bc9 Add "best" subcommand to CLI to invoke AI core 2022-12-20 11:19:31 -05:00
tali 90dcc2555a Create initial AI engine core 2022-12-20 11:19:31 -05:00
tali dfd8d9f399 Add node script for calling into fish-cli with fumens 2022-12-20 11:19:31 -05:00
tali 2f80606eb7 Create fish cli, "list" command 2022-12-20 11:19:31 -05:00
tali 370a0329b9 Add some types to be serialized over IO 2022-12-20 11:12:05 -05:00
tali d30f413949 Index operator overloads for Mat 2022-12-20 11:09:42 -05:00