knifecake / rush

A turn based strategy game that runs on your terminal!
1 stars 0 forks source link

pprog

Build Status

How to compile this project

Inside the root directory run make. An executable will be created inside build/. You may run it with ./build/gui. In addition, an executable with a text-only interface is avaiable in ./buil/tui Intermediate object files (*.o) will be deleted after running make clean, however, if by any chance one is left behind, git is instructed to ignore them. Also, it will ignore anything inside the build directory except for the directory itself which is required by make. Please, do not remove build/.keep, it makes sure build/ is committed and ready to use in compilation. Finally, note that, to save time, make is configured to only compile files that have changed. So do not be surprised if you do not see a lot of commands being run when you hit make if you did not change many files. If for any reason you need to start fresh, delete every intermediate file with make clean.

How to test this project

In addition to compiling, make is also capable of running tests. They may be compiled and run with make test.

plot proposal

Our game will be turn-based and will be set on an hexagonal grid. Your task will be to survive as long as possible, enduring natural disasters, shortage of resources, etc. At first, you will begin with a minimal amount of resources and you will need to build, mine and cultivate to be able to survive to the next round. The game ends when you run out of essential resources. In addition, we plan on adding attack functionality with a mini game. When you choose to attack or are attacked from an adjacent cell, the mini game will run and you will be more or less prepared to play it depending on your available resources. Also, the game theme is not final, and we are thinking of a more exciting topic for our story, although the game dynamics will remain the same.

Project architecture

Game architecture diagram

We've finally settled on the following architecture:

So where's everything