File tree Expand file tree Collapse file tree 1 file changed +20
-8
lines changed Expand file tree Collapse file tree 1 file changed +20
-8
lines changed Original file line number Diff line number Diff line change 1
- PythonShootGame
2
- ===============
1
+ # PythonShootGame
3
2
4
- A simple shoot game by python
3
+ A simple shoot game written in Python.
5
4
5
+ # Introduce
6
6
7
7
This project only include two simple .py files:
8
8
9
- mainGame.py:the initialization and main loop of the game
10
-
11
- gameRole.py: class of the game role
9
+ 1 . mainGame.py:The initialization and main loop of the game.
10
+ 2 . gameRole.py: Class of the game role.
11
+
12
+ # Requirement
13
+
14
+ 1 . Python 2.7
15
+ 2 . Python-Pygame
12
16
17
+ # How To Start Game
13
18
14
- To run this game, first install python 2.7, then install the corresponding version of pygame.
15
- After that, double click the mainGame.py, you can play it.
19
+ ``` bash
20
+ $ python mainGame.py
21
+ ```
22
+
23
+ #Screeshot
24
+
25
+ ![ ] ( http://s2.postimg.org/728c1wy4p/Screenshot_5.png )
26
+
27
+ ![ ] ( http://s30.postimg.org/fflxcv9ld/Screenshot_6.png )
You can’t perform that action at this time.
0 commit comments