SnakeVSBlocks
A Snake game using JavaFX similar to SnakeVsBlocks. Protect the snake from blocks greater than its length and break other blocks to gain points.
Instructions
- You have to control the snake, collect food balls, and destroy blocks to get points.
- The speed of snake will increase gradually with time.
- Each food ball has some points, which will be counted towards snake length.
- Each Block has some value and could be destroyed completely only if the snake's length is more than its value.
- If you collide with a block with value greater than snake's length, the snake dies.
Controls
- Press A or Left Key to move the snake left.
- Press D or Right Key to move the snake right.
Tokens
There are 4 token which could help you in scoring and tackling the falling blocks.
- Ball : Increases snake's length by its value.
- Destroy Blocks : Destroys all blocks on the screen and increases score by its value.
- Magnet : Attracts coins towards the snake within a range.
- Shield : Protects the snake against any block for 5 seconds.
- Coin : Increases the score by value of the coin.
Documentation
We have made a detailed documentation for this project using Javadoc tool. Just download the files in javadoc folder and open index.html file in a browser to see the documentation.
Contributors
Anand and Atul Anand