Skip to content

urhprimozic/Backgammon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backgammon

Game of Backgammon implemented in Java.

Project overview

Code is inside src. Run src/Backgammon.java for the game. Separate packages are divided into folders inside src.

Folder Contains
src/ai AI for computer.
src/gui Graphics user interface
src/leader Manages every session
src/rules Rules for Bacgammon game
src/utils Utils

Backgammon in action

Computer AI

Computer player uses Monte Carlo Tree Search with intuitive heuristic. Heavily inspired by the work at alpha zero general.

Usage

To play a new game, select player type from the New game menu. To change the difficulty of computer player, click AI difficulty.

To make a move, first click ROLL DICE, than click and drag desired movable chip to a desired location. Off board chips are stored on the right side, removed chips are on the wood in the middle.

Human player playing vs computer

About

Backgammon igra za fmf

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages