Skip to content

Feature/add harmful item to the board #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

hasanerdemak
Copy link
Collaborator

@hasanerdemak hasanerdemak commented Apr 5, 2021

I implemented a harmful item that appears and disappears at random times between 0-10 seconds on the game area.
When picked, this harmful item reduces the length of the snake.

To do this, I added one extra control, some global variables, and 2 methods, one in the Pawn class, the other in the Board class.
I got the harmful item image from "freepik.com" where we can find free licensed images.

@cagdasgerede
Copy link
Owner

@hasanerdemak
Yaptığın değişiklikleri anlattığın ve oyunu çalıştırıp demo yaptığın kısa bir video çekip YouTube linkini buradan paylaş.

@hasanerdemak
Copy link
Collaborator Author

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.

As a player, I would like to have an item that appears randomly on the game area and when picked, it reduces the length of the snake
2 participants