~shunter/ur-game

The Royal Game of Ur
Move networking plan
Bump version number
Move to fukamachi/myway for routing

clone

read-only
https://git.sr.ht/~shunter/ur-game
read/write
git@git.sr.ht:~shunter/ur-game

You can also use your local clone with git send-email.

#ur-game

A web app that you can play right now. Hosts 2-player sessions of The Royal Game of Ur, inspired by this YouTube video from The British Museum:

Tom Scott vs Irving Finkel: The Royal Game ofUr

I took advantage of this project to learn about WebSocket communications, and Common Lisp web development.

#Run Locally

The web app uses Roswell to launch. After you have that installed and you have this project in your local-projects/, run:

$ ./roswell/ur-game.ros

Alternatively, with your CL impl of choice (I use SBCL):

$ sbcl --load ur-game.asd --eval '(ql:quickload :ur-game) (ur-game:start)'

#Contributing

While I have a mirror of this repo on GitHub, my main repository for development and CI is on Sourcehut.

#Rules

  • You win the game by getting all your seven pieces from one end of the board to the other.
  • You roll four marked dice, and the sum of all dice with marks up is how much you can move a single piece on your turn.
  • If your piece lands on a rosette, you gain an extra turn.
  • You can jump over or capture enemy pieces, but you cannot capture pieces that are your own, or are on a rosette.