IntegratedQuantum / Snake3D

Playing snake on a 3d cube

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snake3D

In Snake3D you can play snake on the surface of a 3d-cube.

Screenshot from 2019-07-24 23-08-18

Features

→ two gamemodes:

  1. normal(like the old snake, but on a cube)
  2. hard(like normal + every time you eat a radom border appears somewhere on the cube, so be careful)

→ two levels

→ no external libraries needed(Snake3D has already everything on board it needs.)

How to build

  1. Download the source code here on github.
  2. Extract the .zip file.
  3. Compile the content of src. This can be done with javac *.java in the terminal OR by importing the code to any IDE you want and compile it from there.

How to play

Self-compiled:

Press run in your IDE OR type java main in your terminal

Official version:

Go to releases and download any version of Snake3D. Double click the .jar file and you are good to go.

Game-play:

You can change game mode/level with g and l or using your mouse, start the game with space or click on Start. You can turn the cube with wasd and move the snake with and

Contribution

If you find something you can make better, feel free to make a pull request(Thank you in advance). I would like it if you would try to roughly follow the syntax and commentation density I used in the code, but I won't reject your PR if you don't. If you want to support me, but don't know what to make better in my code, there are some comments containing a TODO note.

About

Playing snake on a 3d cube

License:GNU General Public License v3.0


Languages

Language:Java 100.0%