Binary Representation Game
In this game, you are given a number from 1 to 63. Your job is to place cards with a 1 under 32, 16, 8, 4, 2, and 1 so that the sum matches the given number.
Directions:
- Click on Generate Random Number to get your target number.
- Click on the green boxes to place or remove a card with a 1.
- Try to make the sum of the selected numbers equal the target number.
- Press Check Answer.
- When you get the correct answer, the app will show the binary representation of the number.
Example: If the number is 13, then you should place cards under 8, 4, and 1 because 13 = 8 + 4 + 1.
--
Target Number
32
16
8
4
2
1
0
0
0
0
0
0
Current sum: 0
Selected numbers: none
Current binary string: 000000