Skip to content
Snippets Groups Projects
Commit 26b21a6e authored by Hameed Andy's avatar Hameed Andy
Browse files

Created images folder for images

parent 7afc54e0
No related branches found
No related tags found
No related merge requests found
Showing
with 7 additions and 7 deletions
......@@ -10,7 +10,7 @@ import ScoreDisplay
def game(speed, colour,food_colour, backgroundColour):
pygame.event.clear()
image = pygame.image.load("barrier.png")
image = pygame.image.load("Images/barrier.png")
black1 = (48,47,47)
x = randint(0, grid_length) * size
y = randint(0, grid_length) * size
......
BlankProjectTemplate/src/Images/maze_border.png

853 B

......@@ -46,8 +46,8 @@ def main():
pygame.init()
lightBlue = [89,131,145]
darkgray = [100,100,100]
image1 = pygame.image.load("Snake_Game_Logo_background.png")
image2 = pygame.image.load("Snake_image.png")
image1 = pygame.image.load("Images/Snake_Game_Logo_background.png")
image2 = pygame.image.load("Images/Snake_image.png")
#while loop required to always refresh the page
run = True
......
# Project Name Source Code
# Snake 2.o Source Code
The folders and files for this project are as follows:
...
......@@ -20,7 +20,7 @@ def display(score,speed, colour,food_colour, backgroundColour):
lightBlue = [89,131,145]
darkgray = [100,100,100]
white = [255,255,255]
image1 = pygame.image.load("Exit_image.png")
image1 = pygame.image.load("Images/Exit_image.png")
run = True
......
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
......@@ -13,7 +13,7 @@ import Interface
def main():
pygame.init()
image1 = pygame.image.load("Exit_image_empty.png")
image1 = pygame.image.load("Images/Exit_image_empty.png")
run = True
while run:
help_ = pygame.display.set_mode((500,500))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment