Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andreacervetti/buttons
A Button Mania game written in Ada
https://github.com/andreacervetti/buttons
ada game gtkada
Last synced: about 2 months ago
JSON representation
A Button Mania game written in Ada
- Host: GitHub
- URL: https://github.com/andreacervetti/buttons
- Owner: andreacervetti
- License: gpl-3.0
- Created: 2019-05-06T14:15:00.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-28T15:51:10.000Z (over 5 years ago)
- Last Synced: 2024-07-31T20:31:53.210Z (5 months ago)
- Topics: ada, game, gtkada
- Language: Ada
- Size: 16.6 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ada - buttons - A simple [gtkada] Button Mania game. (Games / Continuous Integration)
README
# Buttons
A Button Mania game written in Ada
## Gameplay
The game presents a 6x6 grid of button with number from 0 to 3.
![image](https://user-images.githubusercontent.com/49284593/58492104-8fc6c700-8170-11e9-8a9c-7895d91c9e19.png)
Clicking on a number that number and the four number surrounding it decrease by 1. If the value is 0 it is set to 3 again.
The goal of the game is to set all numbers to 0.
The game can be set to different level of difficulty.
Every level can be solved in a maximum number of moves that is \ * 3. So, level "Normal" (5) can be solved in 15 moves.## Prerequisites
To compile the program you will need:
- An Ada 2005 compliant compiler.
- GtkAda 3.Both can be dowloaded from [Adacore](https://www.adacore.com/community).
Under Linux or Freebsd you can use the packages that came with your distribution.