A feature-rich framework for prototyping and developing grid-based games in C# (Unity).
The framework provides the following functionality:
- Takes care of much of the boilerplate code for the game, allowing the developer to focus on game logic specific to the project.
- Provides the means for easy visual debugging of the state data.
- Ability to pause and step through processing steps to help debugging.
- Generic and reusable across a wide variety of game types.
- Replay and rewind functionality.
The following constraints apply to games that use the framework:
- Must be a game that uses a 2-D grid to represent its data
- Data model has to be deterministic: no floating point values or physics in the model. (physics and floats can still be used to visualize the data model)
example 1 – match3
https://www.youtube.com/watch?v=Zgrb0CTj3bA
In order to test and demonstrate the framework two prototype games were developed. The first of these is a standard match-3 puzzle game, where the player swaps 2 adjacent gems in order to match patterns and score points to reach a target score within a predefined number of moves.
example 2 – 2048
https://www.youtube.com/watch?v=pj-iyi0bC-E
The second game built to test the GridGame framework is a clone of the math puzzle game 2048. The game was originally developed by Italian developer Gabriele Cirulli in 2014, and was itself a clone of an earlier game called 1024 by Veewo Studios.