Log In  

Cart #tweetris1_0-5 | 2020-05-15 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

This is a fully playable version of Tetris in fewer characters than a moderate-length email, including:

  • Line removal
  • Level progression (speed increases after every 10 lines cleared)
  • 'Lines cleared' display
  • Soft drop button (with slight delay when next piece appears)
  • Reset button

L/R-------move piece
Down------soft drop
O,X-------rotate piece
S---------reset game

Fitting everything in this small a space was really tough, but I made it. I had to cut a few corners, for instance there's no next piece preview, only one rotation direction, and there wasn't space for logic to allow movement of blocks once they land, so overhangs are a nuisance. With all that said, though, I worked hard trying to make this an actually decent version of tetris and not just a technical curiousity, so hopefully somebody actually enjoys playing it instead of just staring at the indecipherable souce code. Shoutout to 2dArray, whose Tweetjam Tetris and its genius piece indexing system I built on for this project.

P#76116 2020-05-08 08:53 ( Edited 2020-05-15 05:07)

All Comments

Nice job.

My criticism is more towards the speed of the soft drop and the lack of a proper restart button when you reach a game over tbh. The lack of sound isn't too much of a hindrance, but overall great tweetcart. Maybe you could make it a full game sometime.

P#76125 2020-05-08 13:52

Better than some Tetris games with 10x the space

P#76607 2020-05-15 06:13

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2020-07-12 19:36 | 0.019s | 4194k | Q:35