Skip to main content

A Simple Puzzle Game

Project description

Fifteen-Puzzle-Game
==============

A simple python puzzle game.
Play at you free time.

The code is Python 3 .

Installation
------------

Fast install:

::

pip install Fifteen-Puzzle-Game

For a manual install get this package:

::

wget https://github.com/skdhell/Fifteen-Puzzle-Game/archive/master.zip
unzip master.zip
rm master.zip
cd Fifteen-Puzzle-Game-master

Install the package:

::

python setup.py install

Example
--------

.. code:: python

from Game import main

main.play()


output
-------
$------$------$------$------$
| 1 | 2 | 3 | 4 |
$------$------$------$------$
| 5 | 6 | 7 | 8 |
$------$------$------$------$
| 9 | 10 | 11 | 12 |
$------$------$------$------$
| 13 | 14 | 15 | |
$------$------$------$------$
You have completed this game in
Press
N: New Game
S: Resume Last Game
Q: Exit
Enter Choice Here:







Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Fifteen-Puzzle-Game-0.0.1.tar.gz (3.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page