feat: implement nextGuess with a basic strategy: guess every possible chord
This commit is contained in:
parent
4618e32d77
commit
e26b60a9ed
1 changed files with 1 additions and 1 deletions
2
Proj2.hs
2
Proj2.hs
|
|
@ -110,4 +110,4 @@ allNotes = [minBound .. maxBound]
|
|||
|
||||
-- implement me
|
||||
nextGuess :: ([Pitch], GameState) -> (Int, Int, Int) -> ([Pitch], GameState)
|
||||
nextGuess _ _ = ([], [[]])
|
||||
nextGuess (prevGuess, chord : chords) _ = (chord, chords)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue