re: It's time to Apple Watch, create a game with WatchOS [Swift] ⌚️ VIEW POST


This was really helpful, since I'm considering adding a Watch version to one of my apps. I also have a few recommendations, which I put together in a pull request against your repo:

  • Use enums for your game moves ("rock", "paper", "scissors") and results ("TIE", "WIN", "LOSE").
  • Use a switch statement to determine the results.

An additional improvement that should be pretty trivial is to localize it for Spanish.


Thank you very much for the suggestions, they help me to continue improving the posts

code of conduct - report abuse