Commit ce28a64e authored by Anthony Jacob's avatar Anthony Jacob
Browse files

Update README.md

parent d41e4ee3
Loading
Loading
Loading
Loading
+27 −3
Original line number Diff line number Diff line
@@ -5,17 +5,41 @@ python-snake is a side project I developped in order to practice Python

## Installation

so far, the project is not using specific dependencies other than the basic python module
the project is using specific dependencies other than the basic python module
I developped it using Python 3.8.2

clone the repo with
###clone the repo with

```
git clone https://gitlab.anthony-jacob.com/anthony.jacob/python-snake.git
```

###create a Python virtual environment

```
cd python-snake
python main.py
python -m venv venv
```

###activate the Virtual environment

with Windows command:
`venv\Scripts\activate.bat`

with powershell:
`venv/bin/Activate.ps1`

with bash:
`source <venv>/bin/activate`

###install the dependencies

`pip install -r requirements.txt`

###run 

`python main.py`

## Play

there is a intermediary menu where you can exit or choose the play mode (only in terminal for now)