U-Byte85 is a submarine game for ATtiny85 microcontroller. It's written in C++ but mostly uses C.
This project is WIP. There's also a desktop version for Linux and Windows. See the desktop readme.md for details.
You control a subrimare and try to avoid mines. If you touch a mine, you lose. Controls are: W = up, S = down.
- ATtiny85
- Other AVR microcontrollers should work with minor modifications
- Serial device (e.g. USB to serial converter or arduino)
For desktop use the instructions in desktop/readme.md
- ATTinyCore
- NeoSWSerial
- ArduinoIDE
- A programmer(e.g. Arduino as ISP)
Assuming you have already installed ATTinyCore and NeoSWSerial.
- Clone this repository
- Open ArduinoIDE and open this project
- Select ATTiny85(no bootloader) as the board. You can use also the optiboot version if you have installed optiboot in your MCU. Leave the configuration as is if you don't know what it means.
- Select the correct port and upload the sketch
- Open serial monitor(e.g. PuTTY) at 9600 baud. ArduinoIDE's serial monitor isn't recommended.
If you encounter any problems, please search the internet before submitting an issue. Thanks!
U-Byte85 is released under the GNU GPL v2 license. See LICENSE for details.