Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anandthegreat/snakevsblocks

A simple game using JavaFX
https://github.com/anandthegreat/snakevsblocks

javadoc javafx javafx-gui snake-game

Last synced: about 2 months ago
JSON representation

A simple game using JavaFX

Awesome Lists containing this project

README

        

# 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.
1. **Ball** : Increases snake's length by its value.
2. **Destroy Blocks** : Destroys all blocks on the screen and increases score by its value.
3. **Magnet** : Attracts coins towards the snake within a range.
4. **Shield** : Protects the snake against any block for 5 seconds.
5. **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](https://github.com/anandthegreat/SnakeVSBlocks/tree/master/javadoc) folder and open [index.html](https://github.com/anandthegreat/SnakeVSBlocks/blob/master/javadoc/index.html) file in a browser to see the documentation.
### Contributors
[Anand](https://github.com/anandthegreat) and [Atul Anand](https://github.com/atul2938)

## Game Screenshots