Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/anandthegreat/snakevsblocks
- Owner: anandthegreat
- Created: 2018-10-18T17:38:45.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-14T12:52:50.000Z (over 5 years ago)
- Last Synced: 2024-10-12T18:41:03.854Z (3 months ago)
- Topics: javadoc, javafx, javafx-gui, snake-game
- Language: Java
- Homepage:
- Size: 11.4 MB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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