Biotris.java This is a modified version of tetris with an educational aspect of biology questions. Blocks will be falling from the top of the screen on a timer. They will land in the next available grid square. The user can contol the postion of the blocks by usuing 'a' to move it to the left, 's' to move it down, 'w' to move it up, and 'd' to move it to right. When there is one empty grid square surrounded by full grid squares, a question mark will appear. The user may click on the question mark and a question will appear on the screen. If the question is answered correctly, 100 points are awarded and a block appears on that square. If answered incorrectly, 50 points are taken away. In addition, points are awarded when an entire row of blocks are filled. If the user wishes to reset the game at any moment, they may do so by pressing 'r'.
"Overview of Tetris: Blocks of random shapes and colors will be falling from the top of the screen on a timer. When the block hits the next available, empty grid square, it will stop moving. When a row is completely filled with blocks, 100 points are awarded. You, as the user, can control the block's movement by pressing 'a' to move it to the left, 's' to move it down, 'w' to move it up, and 'd' to move it to the right.";
"Biotris: As the name suggests, there must be some aspect of biology to this game. If there is one empty grid square, surrouned by squares which contain blocks, a question mark will appear on that isolated block. The user may click on it and a question will appear. If answered correctly, a block will appear and 100 points will be awarded. If answered incorrectly, 50 points will be taken.";
The user interface is entirely in Java Swing.
Build: javac Biotris.java [ There are many inner classes and nested inner classes] Run: java Biotris [And the Swing user interface pops up] */
Log in or sign up for Devpost to join the conversation.