Start from scratch with a new simulation #1

Merged
max merged 31 commits from restart into main 2025-04-25 15:03:09 +02:00
Showing only changes of commit d3abaf61a7 - Show all commits

View File

@ -107,7 +107,7 @@ async fn get_move(request: Json<Request>) -> response::Json<Response> {
let action = actions.into_iter().max_by_key(|action| { let action = actions.into_iter().max_by_key(|action| {
let action_data = action_data[usize::from(*action)]; let action_data = action_data[usize::from(*action)];
action_data.0 / action_data.1 (action_data.0 / action_data.1, action_data.0 % action_data.1)
}); });
if let Some(action) = action { if let Some(action) = action {