renn-the-dev / Embedded-Tetris

Building Tetris using an Arduino to escape the ads taking over my mobile game.
0 stars 0 forks source link

Research Software Implementation #5

Open renn-the-dev opened 2 months ago

renn-the-dev commented 2 months ago

Goal

Determine an algorithm for playing Tetris. This stage should consider both the complexities in designing the software program for the gameplay itself, as well as the code required to facilitate the user's interaction. This may require software-based prototyping to validate game controls, rather than debugging on the deployed code.

Where possible, I want to avoid using the Arduino libraries, and manually toggle pins, etc. However, in the interest of time, I may leverage the Arduino libraries for the more complex functions.

Constraints

  1. The complexity of this is going to be largely dependent on the capabilities of the hardware. As well as limited by my rusty C coding skills.
  2. Latency of the hardware controls may need to drive how much of a pause there is between each pixel of the Tetrino dropping.

Open Questions (return post-

  1. What is the LCD capable of displaying?
    1. The LCD exclusively displays dots, for simplicity of the design.
  2. How will this data be relayed to the LCD from the Arduino? How complex or simple can it be?
    1. TBD, need to watch some SPI videos.
  3. Is it going to be possible to display score? Will that make the screen unreadable, size-wise?
    1. Score will be handled by an external scoreboard module, pins permitting.
  4. How much latency is there in the controls? Can I check for user input between every line, or does it have to be interrupt based?
    1. TBD, based on experimentation

Things to Build