Go to file
electron271 50eca8c985 possible fix 2024-02-20 10:46:09 -06:00
.gitignore update readme, add gitignore 2024-02-18 08:22:24 -06:00
LICENSE initial commit 2024-02-17 23:06:33 -06:00
Makefile fix makefile 2024-02-18 08:21:09 -06:00
README.md add sfx, more ergonomic keys (in my opinion), fixed (probably) piece swapping 2024-02-19 23:46:00 -06:00
beep.wav add sfx, more ergonomic keys (in my opinion), fixed (probably) piece swapping 2024-02-19 23:46:00 -06:00
preview.png add queue, fix alignment 2024-02-19 19:37:44 -06:00
tetris.c possible fix 2024-02-20 10:46:09 -06:00

README.md

a bog-standard tetris clone based on the one in raylib-examples

i spent a while looking for a gimmick-free tetris implementation because i'm hooked and want to play it when i'm bored. the problem is that none of them seem to work the way i want them to with standard features (like swap storage) AND without having some sort of gimmick that detracts from the classic experience (like Tetris 99 which is multiplayer-only)

screenshot of game

controls

R Rotate piece
/ Move left/right
S/ Move down
Tab Swap with storage
P Pause
Escape Quit
M Mute SFX

to do

  • balanced pseudorandom piece generation
    • no more than 2 of a kind in a queue of length 5, for example
      • compare [0][0].color to tell what "kind" it is
  • gamepad input
  • fix graphics
    • readability