Browse Source

add some pseudo-randomness to strategy2

adaptedStrategy0
Zolfa 9 years ago
parent
commit
f3e36a869b
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/Strategy2.hs

+ 3
- 3
src/Strategy2.hs View File

@ -27,9 +27,9 @@ strat2 game = if new_notes == GameOver
is_over _ = False is_over _ = False
((new_game,new_notes),new_command) = if (length ok_games) > 0 ((new_game,new_notes),new_command) = if (length ok_games) > 0
then pick 100 ok_games
then pick 741 ok_games
else if (length locked_games) > 0 else if (length locked_games) > 0
then pick 100 locked_games
else pick 100 over_games
then pick 568 locked_games
else pick 412 over_games

Loading…
Cancel
Save