Skip to content
/ Ur Public
forked from George3d6/Ur

The royal game of Ur, as a javascript plugin

License

Notifications You must be signed in to change notification settings

JollyGrin/Ur

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 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://ur.cerebralab.com/ur.js"></script>
    <script type="text/javascript">
        ur(document.getElementsByTagName('body')[0], '80', 'px', 7);
    </script>

For the cool kids

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

Languages

  • JavaScript 98.1%
  • HTML 1.9%