Skip to content

Some 2D games that are made using python's pygame library.

Notifications You must be signed in to change notification settings

EliteLabyrinth/Python-games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Some 2D-Games Using Pygame

A repository of some 2D games

  • sliding-puzzle Game

SLIDING PUZZLE GAME

The board is a 4x4 grid with fifteen tiles (numbered 1 through 15 going left to right) and one blank space. The tiles start out in random positions, and the player must slide tiles around until the tiles are back in their original order.

There are three options:

  • Reset
  • New Game
  • Solve

Reset will rearrange the positions of the tiles.

New game will create another combination of tiles.

Solve will solve the puzzle for you.

Run


To run the game python and pygame should be installed. To install pygame open command prompt and type

pip install pygame

then type

python sliding_puzzle.py

And voila. Now you can play the game.

About

Some 2D games that are made using python's pygame library.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages