Skip to content

Browser game, with Java-backend. Catch the gold, while running from the snakes (yellow) and police (blue).

License

Notifications You must be signed in to change notification settings

jkosternl/animal-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Animal Game

2D browser board game, with Java-backend. Catch the gold items, while running from the snakes (yellow) and police (blue).

game example

Technology stack

  • Java 21
  • Spring Boot
  • WebSockets
  • JQuery & HTML

How to start

Prerequisites: installed applications:

  • Java JDK 11 or up (tested with 15, 17, 21)
  • Maven 3

Start application Java back-end by:

  • Compiling it firstly, by executing: mvn package
  • Starting it by executing: java -jar target/animal-game-0.0.1-SNAPSHOT.jar

Start application in front-end by:

  • Open the following URL in your browser: http://localhost:8080/

Game Controls

You can control your own animal (purple color) by using the arrow keys on your keyboard. If you hit a gold item, you get rewarded with 1 point.

About me

I am a Java Developer. I just created this game for fun and for experimenting with Websockets. Feel free to play or use it.

License

See LICENSE.md file

About

Browser game, with Java-backend. Catch the gold, while running from the snakes (yellow) and police (blue).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published