GitHunt

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

Languages

Swift100.0%

Contributors

Created December 6, 2023
Updated January 4, 2024
ctr119/rock-paper-scissors | GitHunt