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

https://github.com/ruzhila/snake-java

Snake game implemented in 100 lines of Java
https://github.com/ruzhila/snake-java

100-line-code campus-project java-game learning-by-doing

Last synced: 10 months ago
JSON representation

Snake game implemented in 100 lines of Java

Awesome Lists containing this project

README

          

# A snake game using swing, 100 lines java code

By [ruzhila.cn](http://ruzhila.cn/?from=github_snake), a campus for learning backend development through practice.

### 🚀 [100-line-code](https://github.com/ruzhila/100-line-code) A collection of learning projects written in 100 lines of code

This is a tutorial code demonstrating how to use Java write game. Pull requests are welcome. 👏

![game](./game.gif)

## Usage
```bash
javac SnakeGame.java
java SnakeGame
```