Package Exports
- ur.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ur.js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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.