ur.js

0.1.5 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i ur.js

Weekly Downloads

1

Version

0.1.5

License

BSD-2-Clause

Unpacked Size

20.4 kB

Total Files

5

Last publish

Collaborators

  • george3d6