Skip to content
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

Create Tetris game #2

Open
13 of 16 tasks
HaiqiangXu opened this issue Jul 25, 2024 · 0 comments
Open
13 of 16 tasks

Create Tetris game #2

HaiqiangXu opened this issue Jul 25, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@HaiqiangXu
Copy link
Owner

HaiqiangXu commented Jul 25, 2024

Create Tetris game in 3-4 FC-16 matrix LED with joystick and buttons for interaction

  • Optional:
    • joystick-Down accelerates Y-axis movement
    • Add incremental Y-axis speed every X lines are cleared
    • Add a buffer in webserver to cumulate direction commands from UI, max. buffer of ?16? commands
  • Add and test SHIFT movement with MD_MAX72XX library for each possible piece
    • add surrounding hit box on each piece for easier collision calculation
    • time changes Y-axis movement
  • Add the 7 different pieces
  • There are 2 logic blocks to control:
    • piece 'falling' at that moment
    • the accumulated bottom base
  • Add interaction with joystick
    • joystick buttons A and B rotates piece anti/clockwise
    • joystick mainly changes X-axis movement
  • Calculate game when piece hits the bottom base
  • Reset game last piece can't move from upper border
  • joystick-Up hits immediately with accumulated bottom block
@HaiqiangXu HaiqiangXu added the enhancement New feature or request label Jul 25, 2024
@HaiqiangXu HaiqiangXu added this to the LedGames-1.0 milestone Jul 25, 2024
@HaiqiangXu HaiqiangXu self-assigned this Jul 25, 2024
@HaiqiangXu HaiqiangXu modified the milestones: LedGames-1.0, LedGames-1.1 Aug 5, 2024
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

No branches or pull requests

1 participant