1010 for Arduboy
1# 1010 for Arduboy
2
3
4
5Gameplay and scoring modeled after the
6[1010!](https://itunes.apple.com/us/app/1010/id911793120?mt=8)
7game for iOS.
8
9Highlight one of the three randomly selected pieces with the left and
10right directional buttons, then choose a piece with the A button.
11Move it around on the board and place it anywhere that isn't overlapping
12with the A button, or press B to go back and choose a different piece.
13
14Position ten blocks in a row or column and it is freed up, play continues
15until there are no free spaces to place any of the three pieces.
16
17One point is scored for each block in the piece placed, and ten points
18are scored for clearing a row or column.
19
20## Command Mode
21
22Hold down both A+B buttons and:
23
24- Up to make the screen backlight brighter,
25- Down to make it dimmer, or
26- Left or Right to reset the game.
27
28## Flashing
29
30Use `avrdude` or similar flashing program to flash `arduboy-1010.hex`.
31
32## Compiling
33
34Requires
35[Arduino-Makefile](https://github.com/sudar/Arduino-Makefile)
36installed.
37Adjust the path to `Arduino.mk` in `Makefile`.
38
39Compile with `make` (requires GNU Make, which is `gmake` on OpenBSD).
40
41Connect your Arduboy and power it on, then flash it with `make upload`
42which should reboot the Arduboy into bootloader mode and flash the game.