Skip to content

An experimental space game written in Java and Kotlin JS using canvas element. Just for fun 🚀

License

Notifications You must be signed in to change notification settings

Pozo/space-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

space-game

What is it?

An experimental space game written in Java and pure javascript (Kotlin!) using canvas element.

Currenly I'm porting javascript part so It's not working right now ¯_(ツ)_/¯

In the future I plan to use some kind of Rx library with websocket.

space-game

Modules

Installation

git clone https://github.com/Pozo/space-game.git && cd space-game

In order to make Set-Cookie works

sudo sed -i '1i\127.0.0.1 localhost.com' /etc/hosts

Backend
cd backend
./gradlew jar
java -jar build/libs/backend-1.0-SNAPSHOT.jar server config.yml
Frontend
cd frontend
./gradlew stop
./gradlew run
Reload the frontend after a change

There is a hot module replacement function but it's not working for me.

./gradlew stop && ./gradlew run

Issues

Regarding this suggestion( on the bottom ) I should use gradlew -t run but I've got this exception

java.io.IOException: User limit of inotify watches reached

This did'nt solve my problem:

https://askubuntu.com/questions/770374/user-limit-of-inotify-watches-reached-on-ubuntu-16-04

So I'm using ./gradlew stop && ./gradlew run

Licensing

Please see LICENSE

Contact

Zoltan Polgar - pozo@gmx.com

Please do not hesitate to contact me if you have any further questions.

About

An experimental space game written in Java and Kotlin JS using canvas element. Just for fun 🚀

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages