07/13/2020
Live Demo - http://matt-gammon.herokuapp.com/
- Implement different board theme
- I like this one from codepen: https://codepen.io/AdventureBear/pen/wBNaBP
- Saved in app/browser/css3-backgammon-board
- Customize and polish UI
- DONE - Hover style on clickable items
- DONE - Add different color themes
- Show move hints
- Add screenshots to rule selector buttons
- Update move mechanic to click-on-destination
- Show double dice
- Show upper header by default
- Add some log-style status output to header
- Add email/text link functionality
- Implement user management
Current version: 0.6
See CHANGELOG for recent changes.
- Challenge friends or play with strangers online without registration and game setup process.
- Fair gameplay that is as close to real game as possible:
- no visual hints (eg. for allowed moves);
- no pip counter;
- quality random generator.
- Extensible and modular engine that would allow the open source community to implement different variants of the game as known in different countries and different user interfaces (eg. themes).
- Lightweight - playable on any device, even old ones - anything that can run a modern browser;
- Works in browser @ PC & Mobile;
If you want to learn more about the project see Detailed documentation.
You can try the game locally or deploy it to your own server.
To host the game on your own server or test it locally for development, you need to install the main backgammon.js package. It includes both the backgammon.js server and client.
There is no need to install the client separately, as it is served automatically from the server via HTTP. Client should work in modern browsers of both desktop PCs and mobile devices.
The universal way to install the server is:
-
Clone repository locally
-
Change working directory to the local copy of the repository
-
Run:
npm install npm start
The game server has been tested to work on the following platforms:
Follow the links above for more detailed installation instructions on those platforms.
Currently three rules have been implemented (as known in Bulgaria):
RuleBgCasual
- Standard rules, but without doubling cube (Rules: Standard/Обикновена)RuleBgGulbara
-Gul bara
, also calledRosespring
orCrazy Narde
(Rules: Gul bara/Гюлбара)RuleBgTapa
-Tapa
(Rules: Tapa/Тапа)
The player can choose which rule to play before starting a new game.
Short instructions on how to add new rules are available here: Creating rules for backgammon.js
.