Skip to content

RoyalUr/RoyalUr.net-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is an archive from an old version of the website. We have since rewritten the website from the ground up using more modern technologies. However, we will keep this repository up for any who are interested! The new version of the website is no longer open-source.


🎲 RoyalUr.net Game Server

A website for playing the ancient Mesopotamian board game, The Royal Game of Ur!

This repository holds the server code for RoyalUr.net, https://royalur.net. The client code of RoyalUr.net can be found in the RoyalUrClient repository.

RoyalUr.net was created based upon the ancient Sumerian board game, The Royal Game of Ur, in the British Museum. The original board game can be dated to 2600 BC, and was discovered in a royal tomb in the city-state of Ur in ancient Mesopotamia. Learn more about the game on Wikipedia, or watch a fun match between Tom Scott and Irving Finkel on YouTube!

The game also has a Discord and a Reddit that you might want to check out! The Discord can be used to chat about the game, find worthy opponents to challenge, discuss the development of RoyalUr.net, and it also contains a changelog with a summary of the changes being made to the website.

🖥️ Compilation

This project uses Maven, and so can be compiled using the command, mvn install.

This will produce a jar file containing the servers dependencies in the /target/ directory.

⚙️ Configuration

The RoyalUrServer uses a JSON config file for its settings. If you wish to use a config file, the ROYAL_UR_SERVER_CONFIG environment variable should be set with a file location in which to generate and read the config file from.

📝 License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.