Swift Playground iOS Problem with Code.

Hello, we just copied the Code from scissors, paper, rock from iOS Swift Playground in a new empty textbox.

now we get the following error code: use of unresolved identifier ˋGamé´. Can anybody please help us?


this is only the first Part of the Original Code. Thanks in advice








let game = Game()


use of unresolved identifier ˋGamé´




game.loadDefaultSettings()


game.play()




let rock = game.addAction("✊")


let paper = game.addAction(" ")


let scissors = game.addAction("✌️")




rock.beats(scissors)


scissors.beats(paper)


paper.beats(rock)

Replies

You're missing the Game class file and any other swift dependency that makes up the project...