Saw my buddy play Tetris on his laptop, soooo like the curious programmer that I am, I decided to recreate it in ruby (even though c# is my main language)! You can find the code here if you'd like to try it out for yourself or just view the code: https://github.com/ParkourManiac/Tetris-ruby- (Needs the gem ruby2d installed to be able to run). And we all know that if you've played tetris you have to try snake next... So I created that too, right here: https://github.com/ParkourManiac/Snake-ruby (Same here, ruby2d needs to be installed for it to work).
Up arrow to rotate shape.
Down arrow to drop shape.
Right and left arrow to move shape left or right.