Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
se3xa3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hameed Andy
se3xa3
Commits
50d2348b
Commit
50d2348b
authored
6 years ago
by
Hameed Andy
Browse files
Options
Downloads
Patches
Plain Diff
Edit files to remove unnecessary associations
parent
c0951368
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
BlankProjectTemplate/src/Food.py
+2
-2
2 additions, 2 deletions
BlankProjectTemplate/src/Food.py
BlankProjectTemplate/src/Gameplay.py
+0
-1
0 additions, 1 deletion
BlankProjectTemplate/src/Gameplay.py
BlankProjectTemplate/src/highscore.py
+0
-1
0 additions, 1 deletion
BlankProjectTemplate/src/highscore.py
with
2 additions
and
4 deletions
BlankProjectTemplate/src/Food.py
+
2
−
2
View file @
50d2348b
...
...
@@ -10,8 +10,8 @@ class Food():
## @brief Food constructor
# @details Initialize
z
the size of the food, this needs to be the same as
snake's
#
block size
# @details Initialize
s
the size of the food, this needs to be the same as
#
snake's
block size
# @param blockSize the width and height of the square block representing the food
def
__init__
(
self
,
blockSize
):
self
.
size
=
blockSize
...
...
This diff is collapsed.
Click to expand it.
BlankProjectTemplate/src/Gameplay.py
+
0
−
1
View file @
50d2348b
...
...
@@ -7,7 +7,6 @@
from
random
import
randint
from
Snake
import
*
from
Food
import
*
from
init
import
*
# One size for all blocks created for snake
size
=
20
...
...
This diff is collapsed.
Click to expand it.
BlankProjectTemplate/src/highscore.py
+
0
−
1
View file @
50d2348b
import
pygame
,
sys
import
Interface
class
HighScore
():
def
runfile
(
runfilename
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment