A samegame Implemented by Agouazi Lynda & Nour CHAMI & Sahnoune Thilleli.
SameGame is a puzzle game centered around matching tiles. The game board is comprised of a grid featuring colored tiles. The objective is to eliminate as many tiles as feasible by choosing groups of neighboring tiles that share the same color.
- Logic (Model): This part is complete
- Identification of same-colored blocks.
- Removing all this same color neighbors (stack method)
- Handling empty spaces by making the upper boxes fall in the empty places .
- The Game ends when the board is empty.
- View : for this part We completed the very first and important game View and we are working on linking the changes after updating the board to the game View
Note: The repository is currently experiencing issues with the baseline, and we are actively working to resolve them. Kindly utilize GitHub cloning in the Pharo environment to load the game. We appreciate your understanding. Thank you.
If you want to play MatchIt: Copy the code below in your pharo playground:
Metacello new
baseline: 'MatchIt';
repository: 'github://Ducasse/MatchIt:main/src';
onConflictUseLoaded;
load.
You can open the game to check for interfaces by executing the open method
MatchIt open
These images represent the main interfaces we created :