Home 05: Example - Build a coin flip game with high score
Content
Cancel

05: Example - Build a coin flip game with high score

In this example, we build a coin flip game. We have two buttons, head and tail, and we randomly let one side win. We count how many games have been played and how many games we have won and save this as percentage into a high score list in the localStorage. We use JSON to achieve that.

Attention, this video is a bit longer.

This post is licensed under CC BY 4.0 by the author.