~shunter/ur-game

Royal Game of Ur tabletop online web game

02b28c3 Remove github mirror buildscript

~shunter pushed to ~shunter/ur-game git

19 days ago

cf883de Move networking plan

~shunter pushed to ~shunter/ur-game git

1 year, 2 months ago

#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.