This project was made for a ADA class at EPITA. The goal of the project was to make an application using ADA on STM32F429 boards.
We decided to make a game we all played before which is a variation of a candy crush like games. The game goal is to link adjacent dot of the same color as fast as possible to earn points in a given time frame.
It works using ADA_Drivers_Library https://github.com/AdaCore/Ada_Drivers_Library made by AdaCore to interact with the hardware (LCD Screen drawing and tactile input).
It generates a matrix with a minimum of 2 adjacent dots of the same color to that there is always a possible move to make. On finger touch by the user, the program keep track of the dots the user move the finger on and draw a line between them if they are adjacent and the same color. When the user remove his fingers, the linked dots are removed and all dots above are moved down, new dots are generated at the top to fill the gaps created.
A demo video is available here
Comments