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 details)

Uploaded Source

File details

Details for the file Fifteen-Puzzle-Game-0.0.1.tar.gz.

File metadata

File hashes

Hashes for Fifteen-Puzzle-Game-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5f71f9891c0a384a5e14fc595139df136fdad6f1d4b509662a686dc948b9c5ac
MD5 98132144c404e40b1a9e637f2aa61b64
BLAKE2b-256 6dfc4645e27fd0693f4448bb715ca06d247518a438cb4ff780dae110d4c7cfd2

See more details on using hashes here.

Supported by

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