Write a Binary Snap (pun intended) game

I saw this physical computing project elsewhere and thought it be a nice project to implement in Snap! itself
[edit] image added now :slight_smile:

image

The object is to display a number in decimal format and a binary representation of a number and then the player has to decide if they are the same number of not and press a button to say snap

So the project needs to display both numbers - wait a bit - then display another pair of numbers.

If the numbers are the same and the player doesn't hit the button before the wait time is exceeded - then they lose

I'm thinking once the basic game has been implemented, then different levels (i.e shorter waiting times) could be added

Or made into 2 player

etc etc

That is a great idea.

pic
How's this?

Nice start :slight_smile:

But the idea behind this is to make it like a game of Snap in that you only have a certain time interval to decide on whether the numbers match.

If you select match before the time runs out and they are the same - you win.

If you select match before the times runs out and they are different - you lose

If you don't select match after times runs out and they are the same - you lose

If you don't select match and they are different - the game carries on and
repeats with two new numbers

I'll change it to draw with pen, and do the check after a set time.

i'm seeing a distinct lack of "If you select match before the time runs out and they are different"

well spotted :slight_smile: