Open
Conversation
fixing a wrong upload
feat: add win condition
improving initial description
fix: added visual feedback to the config interface
Add multiple language support
Updated movement keys with arrow keys or WSAD keys
"Add functionality to run in game using the space bar"
Add functionality to run in game using the space bar
feat: code to use the space bar to run
Change comments to English
Remove unnecessary snake.speed attribute
148/Adding a new opensource font
The area of colision wasnt updating properly when the grid size changed before this commit
Bug/189/grid resize
Update AUTHORS
Chore/145/added licensing text
Authors update
Collaborator
Author
|
I'll delete this branch as further changes are need to add binary files to v1.0.0 |
raultel
requested changes
Dec 18, 2024
Collaborator
raultel
left a comment
There was a problem hiding this comment.
I got the following crash when getting an apple:
Traceback (most recent call last):
File "/home/raul/Projects/coral/coral.py", line 8, in <module>
from app.main import main
File "/home/raul/Projects/coral/app/main.py", line 166, in <module>
snake.draw()
File "/home/raul/Projects/coral/app/snake.py", line 349, in draw
self.draw_tail(square, (self.xmov, self.ymov))
File "/home/raul/Projects/coral/app/snake.py", line 322, in draw_tail
tail_color = gm.snake_color if self.alive else DEAD_SNAKE_COLOR
^^^^^^^^^^^^^^
AttributeError: 'Game' object has no attribute 'snake_color'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Partially solves #213 .