Skip to content

Add Player Movement (Keyboard Left/Right) #5

@pyang4s

Description

@pyang4s

Description:
Allow user to move the player block horizontally using arrow keys.

Acceptance Criteria:

  • Implement KeyListener in the game
  • LEFT key moves player left
  • RIGHT key moves player right
  • Prevent player from moving off-screen
  • Movement updates the drawing correctly

Estimated Effort: 1–2 hours

Metadata

Metadata

Assignees

No one assigned

    Labels

    controlsuiuser unterface requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions