Here's yet another Tetris (tm) clone, this one called "InfoEther Blocks".
It's very simple as you can see:
To play this game, you need to have Java Web Start - http://java.sun.com/products/javawebstart/download.html#1.2 - installed.
Once you've got that, just click here to get started.
Please feel free to send any feedback to tom@infoether.com.
Also, here's all the source code if you want to see how it works. The code
isn't all that clean, so any feedback on that would be great too. Thanks!
Changelog:
- Dec 16 2002: Changed controls so that down arrow lowers the piece and spacebar drops it.
- Dec 4 2002: Fixed a scoreboard bug.
- Dec 3 2002: Added a "piece planted" animation of sorts.
- Dec 3 2002: Fastest speed is now 100 ms between block lowerings
- Dec 2 2002: First release
Development steps/notes:
- Window pops up
- Two states - title screen and playing screen
- Screens are rendered using double buffering
- Switch between games states using keys
- Uses Graphics2D
- Piece generation and rotation
- Piece rendering
- Piece falling
- Piece rotation using l/r arrow keys
- Piece rotation using up arrow key
- Piece can be moved left and right
- Piece can't be moved horizontally out of field
- Piece can't be rotated out of field
- TODO Occasionally at edges a piece should be able to rotate but can't
- Piece stops at floor
- Down arrow plummets piece
- New piece appears when previous one stops
- When a piece hits the floor it is no longer a piece, it's just added to the field
- Score 1 point for every block that's planted
- Erase full rows
- -score increases by 10
- -other rows move down
- Game can be paused
- Pieces have random colors
- Piece stops when it hits another block below it
- Show control keys on playing screen
- FPS display on screen
- Scoreboard - high scores and names displayed on title screen
- Demo mode
- -solver 1:just drop each piece
- -solver 2: randomly move, rotate, and drop
- Pieces fall faster as score goes up
- Added a piece planted animation
- Down arrow lowers piece, spacebar drops it
- Improve demo player
- -find deepest well, drop piece there
- -rotate to fit deepest well
- add a "next piece" display
- Animation for filled row removal
- -debris falls down rather than jumping down
- -something sparkles or fades or explodes
- Put little buggies in wells for blocks to squash for extra points
- Make pieces keep their color when they are added to the debris, and score different points for different colors
- REFACTOR: clean up row filled notification
- FPS: 11/20/02 ~45
- FPS: 11/25/02 ~65