/15-puzzle

15 Puzzle game from CS50

Primary LanguagePythonMIT LicenseMIT

15-puzzle

It's a puzzle game. Goal is to arrange all the numbers 1 to 15, it has one empty space to move around the numbers.

Getting Started

Clone the project using git clone https://github.com/towfiq046/15-puzzle.git

Prerequisites

You will need python to run the project.

  • Python 3.7.x

Installing

A step by step series of examples that tell you how to get a development env running

Say what the step will be

Set up the virtual environment:

  • Install the virtual environment pip install virtualenv

  • Navigate to the project folder in command line using cd <folder_directory>.

  • Put this command to create the virtual environment virtualenv venv

  • To begin using the virtual environment, it needs to be activated: .\venv\Scripts\activate

Install the requirements pip install -r requirements.txt

Running the project

  • Type python main.py in command line.