|
|
@ -49,10 +49,10 @@ new b us = Game { |
|
|
|
} where (c:cs) = map (flip Unit.centeredIn b) us |
|
|
|
|
|
|
|
phraseConverter :: [Command] -> String |
|
|
|
phraseConverter s = if s == [MoveE, MoveSW, MoveW] |
|
|
|
phraseConverter s = if s == reverse [MoveE, MoveSW, MoveW] |
|
|
|
then "ei!" |
|
|
|
else if s == [MoveSW, MoveSW, MoveW, MoveSE, MoveSW, MoveSW, MoveW] |
|
|
|
then "ia ! ia!" |
|
|
|
else if s == reverse [MoveSW, MoveSW, MoveW, MoveSE, MoveSW, MoveSW, MoveW] |
|
|
|
then "ia! ia!" |
|
|
|
else "PUPPA" |
|
|
|
|
|
|
|
powerPhrases :: [[Command]] |
|
|
|