Coin Flip Game
I wanted to design my game to be easy. Because of this, the program only has two buttons to interact with.
I also wanted the game to have a minimalistic styling. For this reason, I used a simple complementary colour pallet.
The main challenge I encountered in programming this game was getting the animation to play properly. I discovered a solution to my problem when I realized that the animation was embedded in the ‘hf’ and ‘tf’ functions and not in a separate ‘start’ function.
I also wanted to include a counter for that game, however, I could not figure how to properly pass a value to and from the function.