Loading repository data…
Loading repository data…
wpernath / repository
A simple fat-cat / packman like multi player game, with a logic server written in Java with Quarkus and a Engine written in JavaScript with the MelonJS game framework.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
This Game uses Quarkus, the Supersonic Subatomic Java Framework and HTML 5 / JavaScript and MelonJS.
If you want to learn more about Quarkus, please visit its website: https://quarkus.io/ .
All client game logic is currently coded with JavaScript and MelonJS.
There is a demo of this game running here.
I am currently blogging about the creation of this game as it's still meant to be educational.
Here are the current articles:
This game was inspired by the old Fat-Cat game and by PacMan. You're controlling a dog in a maze which needs to eat all food without being caught by a grumpy cat or other enemies.
It also supports multi player gaming. A host can invite up to 3 other players who can join a multi player session. The winner of such a session is "last dog standing" or the player who has collected most points.
Right now you can control the dog with arrow keys UP, DOWN, LEFT & RIGHT and with W, A, S, D. More keys are:
If the cat gets into an exploding bomb, it stops for 3sec. A bomb can destroy barriers. The level ends if you got all food or if you don't have any energy left.
In order to use those weapons, you have to collect them in form of a magic potion or in form of a bomb first.
You can start the game in multi player modus. Up to 4 players are able to play against each other. You can place bombs, throw magic bolts and cast the magic firespin to harm other players. If you're hurting others, you also get points.
In multi player mode a level ends if either all bonus is collected or if you are the last player standing. The winner is that player with the highest score.
There are different bonus tiles to be collected.
There is a demo of this game running here. Please note, that I am using this server also for workshops etc. So the system might not be as stable as expected. But you can give it a try.
If you have any suggestestions or want to contribute, please open an issue here. Thank you!
Starting with v0.6.0, there is a multi player mode where up to 4 players can play against each other via network on specialized multi player maps (right now just 2 of them).
The game is over if:
The winner of the match is the player who has a higher score than all others or who has survived all others.
And do not forget: There are still other enemies who can hit you!
Please have a look at the contributors guide.
There are container images ready to be used on Quay.io. Use this command to pull the images to your local repository:
docker pull quay.io/wpernath/quarkus-grumpycat
docker pull quay.io/wpernath/grumpycat-melonjs
To run the server, the required database and the client, you need to have Docker / Podman configured and running. You can use the docker-compose.yaml to start the latest version of the game:
docker-compose [--detach|-d] up
The app is then available under http://localhost:8085 in your browser.
Please have a look here
To make use of all GitOps features, have a look at the documentation inside the gitops folder of this project.
The map graphics are coming from LPC Terrain and all its authors. Special thanks to all of them!