Skip to content

Commit

Permalink
fixing readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dalmamad committed May 17, 2023
1 parent c54581c commit c0713fc
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![forthebadge](https://forthebadge.com/images/badges/made-with-python.svg)](https://forthebadge.com)

This is a simple snake game made in python.
This is a simple snake game made with python.
Snake movement is smooth, appearance is simple and appropriate and also there is a two player mode :)

<p float="left" align="center">
Expand All @@ -14,29 +14,33 @@ Snake movement is smooth, appearance is simple and appropriate and also there is
## How to run the game

### Running executable file (Method 1)

For both Windows and Linux an executable file was made using pyinstaller so you can just download and run the game without any Requirements.
* [for windows](https://mega.nz/file/HrgHBZxB#xPiS2B0Unq-hnw0upVzuX0NStGk7j53p_oGtatdZdto)
* [for linux](https://mega.nz/file/Hq4hTTzB#lrq8g_Gf7OGVmSqLg0vEYcmBEaWjJSYatvuBFaNCSus)

- [for windows](https://mega.nz/file/HrgHBZxB#xPiS2B0Unq-hnw0upVzuX0NStGk7j53p_oGtatdZdto)
- [for linux](https://mega.nz/file/Hq4hTTzB#lrq8g_Gf7OGVmSqLg0vEYcmBEaWjJSYatvuBFaNCSus)

### running the python script (Method 2)

#### Requirements
* Python3
* Pygame

run the __main__.py
- Python3
- Pygame

run the **main**.py

```python
python __main__.py
```

## Setting

all setting are in setting.py folder.
if you needed to change the Resolution, change WIN_WIDTH variable to your desire.
note: only when you use Method 2 changing setting will be effective

example:

```python
WIN_WIDTH = 500
```


0 comments on commit c0713fc

Please sign in to comment.