Skip to content

repo: merge v1.0.0 with dev#214

Open
de-abreu wants to merge 138 commits intodevfrom
repo/213/merge-v.1.0.0-with-dev
Open

repo: merge v1.0.0 with dev#214
de-abreu wants to merge 138 commits intodevfrom
repo/213/merge-v.1.0.0-with-dev

Conversation

@de-abreu
Copy link
Copy Markdown
Collaborator

Partially solves #213 .

Albshoji and others added 30 commits November 13, 2024 17:21
fixing a wrong upload
improving initial description
fix: added visual feedback to the config interface
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
Remove unnecessary snake.speed attribute
@de-abreu
Copy link
Copy Markdown
Collaborator Author

I'll delete this branch as further changes are need to add binary files to v1.0.0

@de-abreu de-abreu closed this Dec 17, 2024
@de-abreu de-abreu deleted the repo/213/merge-v.1.0.0-with-dev branch December 17, 2024 21:16
@de-abreu de-abreu restored the repo/213/merge-v.1.0.0-with-dev branch December 17, 2024 23:17
@de-abreu de-abreu reopened this Dec 17, 2024
Copy link
Copy Markdown
Collaborator

@raultel raultel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.