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


Release history Release notifications

Download files

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

Files for Fifteen-Puzzle-Game, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size Fifteen-Puzzle-Game-0.0.1.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page