CT
ctr119/rock-paper-scissors
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
ZStackdoes not always behave well when the removal happens ๐ฅ - Instead, embedding the transitioned view into a
VStackfixes the issue โ
- Transitioning directly on a
- Draw a rectangle around the
MoveButton's shape for letting the user know that it has been selected ๐๏ธ
- Pushing an element in/out (in
- Centralising the Designs of the
Texts using a DesignSystem approach- Defined styles:
- Primary:
thin®ular - Secondary:
regular - Tertiary:
bold
- Primary:
- Defined styles: