GithubHelp home page GithubHelp logo

royalur / royalur.net-backend Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 2.0 428 KB

The server behind https://royalur.net!

Home Page: https://royalur.net

License: MIT License

Java 99.92% Shell 0.08%
board-game game game-server java royal-game-of-ur ur web-game websockets

royalur.net-backend's People

Contributors

dependabot[bot] avatar fuzzymannerz avatar sothatsit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

royalur.net-backend's Issues

Announcements

There should be a way to announce things to everyone playing an online game. This would be useful for when the server is being restarted a message such as "The server will be restarted in 30 minutes" can be displayed.

Connection status packets

Players should be notified if their opponent loses connection to the game. Otherwise they could be left just waiting.

Persist games across restarts

Games should be saved to a database so that they can be persisted across restarts. This will make updating the game server not require aborting any games.

Write a README

Currently there is no README for this repository, one should be written.

It should contain a description of the repository, how to compile and run the server, and some pointers on how to navigate the repository.

Close users old games if they start a new online game

Currently a user is able to close out of one game, and then join another. This causes issues because although the packets sent by the user will be forwarded to their active game, they are able to receive packets from all their existing games. Once a user starts a new game, it probably makes the most sense to just stop their old games.

This needs to be tested as well though to make sure that starting multiple games across multiple tabs should still be possible.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.