ATtiny85 Combat Game
Print Profile(1)

Description
How to Play:
This game is played on a 5×4 LED battlefield. Your objective is to destroy enemy tanks and achieve the highest score possible.
The leftmost button is the FIRE/START button, while the remaining four buttons are used for movement.
Use the direction buttons to move your tank one space at a time in any of the four directions: up, down, left, or right.
Mines are not displayed on the screen. However, a warning sound will be played whenever a mine is directly above, below, left, or right of your tank. No warning sound is given for mines located diagonally.
Unlike the original game, attacks are performed in two steps. First, press the FIRE button to enter Attack Mode. Then press a direction button to attack the adjacent space in that direction.
If the attack misses, your tank will not move and Attack Mode will be canceled. You can also cancel Attack Mode at any time by pressing the FIRE button again.
When an enemy tank is destroyed, your score is displayed and the game waits before starting the next stage. Press the FIRE button to begin the next stage.
After a Game Over, press the FIRE button to start a new game.
This is a compact handheld game console that recreates the classic retro LSI game "Bandai Combat" using an ATtiny85 microcontroller.
The game display consists of a 5×4 LED matrix that shows the player's tank and enemy tanks. Input is provided through a 5-button resistor ladder interface. A 2-digit seven-segment display is used for the score and remaining time, and sound effects are generated with a piezo buzzer.
I designed the enclosure as best as I could, but if you have better CAD design skills, please feel free to create a cleaner and more attractive case.
The 3D printing files support two-color printing, but this results in a large number of unnecessary filament changes and increased print time. For this reason, I recommend printing the parts in a single color and painting them afterward.
To assemble this enclosure, you will also need the following components (all dimensions are in millimeters):
- M2.5 × 6 mm heat-set inserts (3.5 mm outer diameter) ×4
- M2.5 × 8 mm pan-head screws ×8
- M2 × 8 mm screws ×2
- M2 nuts ×2
- AAA ×2 battery holder
- Power switch (fits a 7.6 × 15.6 mm opening with approximately 19 mm mounting-hole spacing)
- Hot glue or double-sided tape for securing the battery holder
- OHP transparency film, plastic sheet, tracing paper, cyanoacrylate glue, and other materials for creating the LED matrix artwork
- Tactile switches for the control buttons with a height of at least 4.7 mm
- 8 mm diameter button caps for the control buttons
The following files are required to build the project:
- Schematic: BandaiCombat_schematic.pdf
- Bill of Materials: bom.zip
LED matrix artwork: film.zip
Note: The PCB files are included in the GitHub repository.
Location: https://github.com/eggcup001-maker/BandaiCombat/releases/download/v1.0.0/BandaiCombat_Release_v1.0.zip
Important:
Four 0603-size SMD resistors are used in the resistor network. These components are very small and may be difficult to solder by hand. If you are not comfortable with surface-mount soldering, consider having them assembled during PCB fabrication or redesigning the PCB to use larger through-hole components.
The firmware required for the ATtiny85 is available on GitHub:
https://github.com/eggcup001-maker/BandaiCombat
Notes:
When using this enclosure, route the wiring for the power switch and battery holder along the back side of the case.

The battery holder is secured using either hot glue or double-sided tape.

Print and assemble the artwork for the LED matrix display. The assembly order is:
- Place tracing paper directly above the LEDs
Place the tank artwork on top of the tracing paper.

Place the plastic sheet with the terrain artwork on top.

Secure the assembly with cyanoacrylate glue or a similar adhesive.
Disclaimer:
This project is a fan-made recreation inspired by the classic Bandai Combat handheld game. It is intended for educational and hobby purposes only.This project is not affiliated with, endorsed by, sponsored by, or associated with Bandai Namco Holdings Inc., Bandai Co., Ltd., or any of their subsidiaries or affiliates.All trademarks and copyrights remain the property of their respective owners.If you enjoy modifying designs, feel free to
improve the project and make it look even closer to the original game!








Comment & Rating (0)