Skip to content

George3d6/Ur

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The royal game of Ur

The royal game of Ur, now as a plug and play javascript file.

Try out the game at: https://ur.cerebralab.com

Using the plugin

Normal install

To play this game or introduce it into your website simply add the html:

    <script type="text/javascript" src="https://cdn.cerebralab.com/misc/ur.js"></script>
    <script type="text/javascript">
        ur(document.getElementsByTagName('body')[0], '80', 'px', 7);
    </script>

For the cool kids

(Probably not up to date

npm i ur.js
# The javascript file will reside at: node_modules/ur.js/ur.js

What is the royal game of Ur ?

The royal game of ur is an ancient board game, probably played by the Babylonians 5000 years ago. Various versions of the game and rules have been found and proposed. This board-game uses a simplified version of the rule I've based mostly on the video which popularized the game

If anyone feels like an alternative ruleset could be included or the current ruleset could be improved feel free to create and issue and detail on your proposal.

About

The royal game of Ur, as a javascript plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published