log

demo : https://post-tetris.vercel.app/

Day 1

  • basic implemetation with useState hook

Day 2

  • redux integration implementing draft-save model

Day 3

my Mac book pro broke down. all commits are gone.. gotta push commits + cloud/physical backups later on..

  • restart the project

Day 4

  • simple reinit for code style
  • layouts and styling UI
  • block render on matrix
  • move block down every N millisecond which game level define
  • clear lines when row get full
  • add features for each user input
    • move block by a cell as arrow button pressed
    • move block straight down for space bar input
    • move block by a cell as a mousemove event fires on board