urgently need code for tetris game
RULES OF GAME:
1. Spheres come down from the top of the game board in pairs. A player can rotate them on their way down.
2. Spheres come in 4 different colors: red, blue, green, and yellow
3. Linking four spheres of the same color (horizontally, vertically or both(as in tetris)) removes them from the game board, allowing any sphere remaining to drop and fill the vacated space.
This may lead to several possible "chain combos" if additional colors match.
4. The game board can be any size you want (we recommend 6x12)
Note that the pair of spheres are not linked to each other. If one sphere is blocked because there is something underneath, the other one will continue falling (with no player control over it) until it reaches something.
I am having the pictures of the spheres
- Please submit a java console application that will open a window and start the game.
- You may attach a separate text file that documents player controls and any other comments (as gameplay improvements, bugs not corrected, any comment that will help evaluate your submission...)
IMPORTANT:
- JAVA only- Java console application (not an applet)
Please Please Please Please send me the code to the following id
behera.chinmayananda@gmail.com

