Skip to content

Commit

Permalink
made start.py executable
Browse files Browse the repository at this point in the history
  • Loading branch information
DerMolly committed Jun 1, 2019
1 parent ff05515 commit 52888fa
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Install python 2 or 3.
Install python 3.

The use of venv or similar is recomended:

Expand All @@ -10,7 +10,7 @@ source bin/activate
Run the commands:
```
pip install -r requirements.txt
python start.py
./start.py
```

Use the arrow keys to navigate the menu, the Enter key to chose a menu entry.
Expand Down
33 changes: 17 additions & 16 deletions start.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
# -*- coding: UTF-8 -*-

#standart lib
import pygame
import sys

#game objects
sys.path.append('objects')
from Menu import Menu

def main():
#Create an instance of Menuclass which does all necessary jobs to run the game
game = Menu()

if __name__ == '__main__':
main()
#!/usr/bin/env python3
# -*- coding: UTF-8 -*-

#standart lib
import pygame
import sys

#game objects
sys.path.append('objects')
from Menu import Menu

def main():
#Create an instance of Menuclass which does all necessary jobs to run the game
game = Menu()

if __name__ == '__main__':
main()

0 comments on commit 52888fa

Please sign in to comment.