1
0
This commit is contained in:
Jeff 2023-10-25 15:12:57 -04:00
parent ec6df112b7
commit 51e93e5992
2 changed files with 1 additions and 6 deletions

View File

@ -20,9 +20,6 @@ remove_card = function <opponent_card> {
}
}
(remove_card 'Library')
(output cards)
make_guess = function <current_room> {
if ((length suspects) == 1)
&& ((length rooms) == 1)
@ -45,5 +42,3 @@ make_guess = function <current_room> {
+ '!')
}
}
(make_guess 'Library')

View File

@ -4,7 +4,7 @@ use dust_lang::*;
#[test]
fn clue_solver() {
let file_contents = read_to_string("examples/clue_solver").unwrap();
let file_contents = read_to_string("examples/clue_solver.ds").unwrap();
evaluate(&file_contents).unwrap();
}