AGH University of Science and Technology
——
2020

Dino Game on STM32

C interrupts
C language
STM32
game
LCD
jumping
Design
Technology

Project Overview

This project was created to showcase handling interrupts in the C programming language. It was an assignment for the Microcontroller Applicationsclass.

Execution

Concept & Gameplay

The idea behind this project was to use hardware interrupts in a visually engaging way. Using an LCD screen for a game is an unconventional choice, but it aligned with my previous experience — I'd previously developed a Tetris game using a Flip-Dot display, so this wasn’t my first time creating a game with a microcontroller and a non-traditional display.

In this project, interrupts are used to manage the moment when the character jumps over an obstacle — allowing both the character and the obstacle graphics to be displayed simultaneously.

I designed three character options and three types of obstacles to add visual variety. The gameplay is simple: the player controls a character that must jump over incoming obstacles. Each successful jump earns a point. If the character collides with an obstacle, the game ends.

Results

This project received a positive grade. It was also very fun to just play.

See more