Giter VIP home page Giter VIP logo

royal-ur's Introduction

Get it on Google Play

Royal Ur is my 3D implementation of the ancient Royal Game of Ur played around 4500 years ago in Mesopotamia. It was built with Unity.

I tried to go for a very clean and universal design, without using text at all. I was inspired to create this game after watching the following great video:

Tom Scott vs Irving Finkel: The Royal Game of Ur | PLAYTHROUGH | International Tabletop Day 2017

Objective

Run all your pieces through the course and out before your opponent.

Rules

Piece movements are determined by rolling four pyramid-shaped dice. Two of the four corners of each die are marked, giving each die a 50% chance of landing with a marked or unmarked corner facing up. After rolling, the total number of marked ends facing upwards indicates how many spaces a player may move during that turn.

Players are required to move a piece whenever possible, even if it results in an unfavorable outcome. Rolling a zero will automatically skip your turn. Sometimes it is impossible to move the indicated amount of spaces and the turn is also automatically skipped.

If a player lands a piece on a space already occupied by one of their opponent's pieces, the opponent's piece is captured and sent back to the beginning, off the board.

The spaces that have a mandala are special. Landing in one of them will grant a second roll of the dice. In addition, pieces on mandala spaces can't be captured.

To exit a piece off the board at the end of the course the player must roll the exact number of spaces remaining plus one.

Support

I hope you enjoy playing and learning from Royal Ur as much as I enjoyed making it.

If you come across any issues, please report them.

royal-ur's People

Contributors

danaugrs avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

royal-ur's Issues

Game unexpectedly wins early

In some games it will declare a winner and exit when either player gets their first piece of the board. Not sure if this is a bug or a feature.

This only occured after I'd played a game, and then was playing consecutive games. I only played against the computer, on the 'standard' board layout. If I refreshed and played again then it would work as normal.

(And as an aside, this is a great game. I'm hooked already and love your implementation).

Online version

You could also keep tabs of the dice outcomes separately for the AI and for yourself and compare the probabilities.

Thanks for the tip, it could be a nice try. How can I keep separate tabs of dice outcomes in the online version of the game?

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.