Match Royale is a tille matching game school project made using python. Have fun using it and adding additional changes to it.
---------------Match Royale---------------
=> To run the game follow the following steps : [The following steps are only for windows in linux you can still run the commands in the terminal.]
- Open the folder named 'Match Royale'
- Right click and a menu will appear , select the option open in terminal. OR open the terminal and then open till path is in the folder.
- Run the following commands. i.) pip install tk ii.) pip install pillow iii.) pip install pygame
{Make sure you have python preinstalled in your computer or else the game won't run and also make sure you have added pip to path.}
- Then enter the command: python main.py OR python3 main.py (based on your python version)
- Homescreen window of the game would appear.
=> To start playing here are the instructions:
- Enter your name in the entry bar and click on the play button.
- Game window will open and the time will start when you flip the first tile.
- After finishing the game the game winddow will cose auto maticallt in 1.5 seconds.
- To see the scoreboard again in terminal run(python main.py) and then click on view history.
{Make sure your device volume level is enough for you to hear as there are sound effects which make the overall experience good}
=> The gameflow is explained below.
- To play any game firstly the user has to enter their name or else the game won't start even extra blank spaces wont be considered.
- The game window opens when we click the play button and the timer starts when we flip the first tile.
- The player has to flip two tiles and if they match they will get disabled and if they dont they flip again
- The game will continue till all the tiles are matched and then the time will stop and the window will automatically close after 2 seconds.
- The view history button opens a screen which shows the credits of the project devlopers.
=> modules used in the game :
pillow==10.4.0 pygame==2.6.1 tkinter
=> files in the game :
- ui.py
- main.py
- my_game_logic.py
- file_handle.py
=> classes used in the game :
- GameLogic in file 'my_game_logic.py'