Lynag16 / MatchIt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MatchIt

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.

Code description

  • Logic (Model): This part is complete
  1. Identification of same-colored blocks.
  2. Removing all this same color neighbors (stack method)
  3. Handling empty spaces by making the upper boxes fall in the empty places .
  4. 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

To install

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 :

image image

About

License:MIT License


Languages

Language:Smalltalk 100.0%