Starting to Implement Shake Action

This commit is contained in:
Dallon Archibald
2021-01-26 13:23:38 -05:00
parent 4a601dae66
commit b8aedfc28c
5 changed files with 29 additions and 0 deletions
+4
View File
@@ -18,6 +18,10 @@ func jumpAction() {
}
func shakeAction() {
}
func rpsAction(choice: RPS.Choice) -> Bool? {
let rps = RPS()
return rps.playRPS(you: choice, computer: RPS.randomComputerChoice())