Skip to content

ctr119/rock-paper-scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

50 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Hola! πŸ‘‹ πŸ‘Ύ 🎲

The classic game! ✊ βœ‹ ✌️

Great for practising your rock-paper-scissors abilities against a bot πŸ€– πŸ’₯

Highlights

  • Everything has been refactored to follow Clean Architecture. Starting from having everything into one single SwiftUI view.
  • Animations! πŸ•Ί
    • Flip & Scale the Bot's move when it has been set
  • Transitions
    • Pushing an element in/out (in GameView)
      • Transitioning directly on a ZStack does not always behave well when the removal happens πŸ’₯
      • Instead, embedding the transitioned view into a VStack fixes the issue βœ…
    • Draw a rectangle around the MoveButton's shape for letting the user know that it has been selected πŸ‘οΈ
  • Centralising the Designs of the Texts using a DesignSystem approach
    • Defined styles:
      • Primary: thin & regular
      • Secondary: regular
      • Tertiary: bold

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages