Skip to content

Comments

Feature/58/add controls menu#121

Open
thzero0 wants to merge 2 commits intodevelopfrom
feature/58/add-controls-menu
Open

Feature/58/add controls menu#121
thzero0 wants to merge 2 commits intodevelopfrom
feature/58/add-controls-menu

Conversation

@thzero0
Copy link

@thzero0 thzero0 commented Oct 31, 2023

I've added a feature where there is a button called "controls" inside "options" screen at the start menu. There you can personalize the controls you use to move the snake, you need to click the button "personalize" and then click the key you want to use to control that movement.

To do that i've added some functions in sucury.py (such as controls() and get_key() )and made the keys used to move the snake variables (not constants as before).

@thzero0 thzero0 added the enhancement New feature or request label Oct 31, 2023
@thzero0 thzero0 self-assigned this Oct 31, 2023
Copy link
Contributor

@thaislauriano31 thaislauriano31 left a comment

Choose a reason for hiding this comment

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

I really like the idea of this PR, it makes the game easier to play for left-handed players and for those who simply prefer to use different keys as the game controls.
Maybe it would be best to change the merge base to the v1.1.0 branch.

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants