File tree 1 file changed +64
-0
lines changed
PyGamesScripts/Sprites and Cherries
1 file changed +64
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Package/Script Name
2
+
3
+ ## Aim
4
+
5
+ The main aim of this project is to create a game using pygame module
6
+
7
+ ## Purpose
8
+
9
+ The purpose of this project to bring fun to the players.
10
+
11
+ ## Short description of package/script
12
+
13
+
14
+ - If standalone script, short description of script explaining what it achieves.
15
+
16
+ Sprites are the 2-D figures when the sprites starts to eat cherries it will grow in size.
17
+
18
+ - List out the libraries imported.
19
+
20
+ - pygame
21
+ - random
22
+ - sys
23
+ - time
24
+
25
+ ## Setup instructions
26
+
27
+ Install the python 2.7 or above version
28
+
29
+ Install the pygame module using command - ` pip install pygame `
30
+
31
+
32
+ ## Workflow
33
+
34
+ - Importing the required modules
35
+ - Setting Up the Window and the Data Structure
36
+ - Adding a Sprite
37
+ - Changing the Size of a Sprite
38
+ - Setting Up the Music and Sounds
39
+ - Adding Sound Files
40
+ - Toggling the Sound On and Off
41
+ - Drawing the Player on the Window
42
+ - Checking for Collisions
43
+ - Drawing the Cherries on the Window
44
+
45
+
46
+ ## Compilation
47
+
48
+ Download the code file
49
+
50
+ Double click the code and enjoying your game.
51
+
52
+ ## Output
53
+
54
+
55
+
56
+ ![ ] ( https://github.com/rammya29/Awesome_Python_Scripts/blob/main/PyGamesScripts/Sprites%20and%20Cherries/Images/Image-1.png )
57
+
58
+ ## Author(s)
59
+
60
+ Rammya Dharshini K
61
+
62
+ ## Disclaimers, if any
63
+
64
+ None
1
65
You can’t perform that action at this time.
0 commit comments