Skip to content

walkershashi/Two-Flips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Two-Flips

The game is built using pygame module.The game is basically about matching the tile when clicked on it. At any time the screen will display at most two tiles that are recent. If both the flipped tiles are matched then a message Matched!! is displayed and the game continues on this fashion.

On the flip side the game has a counter that keeps incrementing each time the user clicks on the screen. At the start of the game the user has to enter their name and then the game starts.

At the end of the game the counter is displayed along side the name of the player

Start the Game

Run the main.py script

  • From Terminal:   python3 main.py
  • From IDE:   Simply run main.py script

Configuration

The game displays a total of 16 tiles with images on the flip side. When there is a mouse stroke the tiles flips and displays an image. The game box displays at most two of the most recent imges when the tile is flipped. The assets file conatins images of 8 different animals to be displayed on the screen. The other_assets directory contains the image that is displayed when the match is obtained.

Dimensions

  • Image Size: 128 x 128
  • Screen Size: 512 x 512
  • Total Images: 8
  • Total Tiles: 16
  • Images on each row: 4

About

A short matching game made during quarantine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages