diff --git a/BlankProjectTemplate/src/Interface.py b/BlankProjectTemplate/src/Interface.py index d1e9e515f51d0515b12488c2c1e1733df01b75c1..546aa509a8c9e534bf044e20c2a1e7ea0b7c2c5d 100644 --- a/BlankProjectTemplate/src/Interface.py +++ b/BlankProjectTemplate/src/Interface.py @@ -1,6 +1,7 @@ #importing necessary libraries import pygame, sys import highscore + class GUI(): #a function made to execute other files from the system def runfile(runfilename): @@ -36,7 +37,7 @@ def main(): GUI.button(game,darkgray, [270,455,250,50], 0) #checking if the button is clicked if mouseclick[0] == 1: - GUI.runfile('Snake_2.o_Demo.py') + GUI.runfile('Gameplay.py') else: GUI.button(game,gray, [270,455,250,50], 0) GUI.text('GAME TIME',"comicsansms", 40,[0, 0, 200],(275,450),game) diff --git a/BlankProjectTemplate/src/highscore.py b/BlankProjectTemplate/src/highscore.py index 8eef23bebad2303b4befde3726cd8faf5dd2ae98..0a784db50dba28b8a11099758bfb15a4c56a953f 100644 --- a/BlankProjectTemplate/src/highscore.py +++ b/BlankProjectTemplate/src/highscore.py @@ -1,5 +1,5 @@ import pygame, sys -import Snake_Game +import Interface class HighScore(): def runfile(runfilename):