Tetris

by turtureanu (submitted 4/6/2025) Tetris
description:

It is a rather simple Tetris clone. It handles everything apart from: - rotating the tetrominos according to the original game (right now I'm just rotating the currentTetromino 2D array) - wall kicks - sound (if I'm gonna implement this, it's gonna have an on/off switch) - persistent storage (leaderboard) - hold piece (I really wanted to implement this, but I ran out of time) - pause menu I plan on implementing all of the above as time goes on, but for now I'm happy to ship something that works. Apart from those things everything looks and feels like usual. I never coded something bigger than a calculator in Java (basically my first time coding something _meaningful_ in Java), so the game is defined in one single file (couldn't for the life of me figure out how to correctly use classes in multiple files). The project has some practicality and was not created just 'cause. I actually play Tetris quite often (jstris.jezevec10.com), and I used to own an old mobile phone, where I could play it (but then it got stolen - who even steals such a phone?!).

source code: github

hey, sorry there's no web emulator yet. it's in the works!
in the meantime, you can download the .jar file and run it on your computer (or a phone?).
~nora