An open API service indexing awesome lists of open source software.

https://github.com/danijelaskov/expectiminimax-backgammon

A 2D JavaFX implementation of one of the most popular and old board games. The AI player's moves are calculated using the expectiminimax algorithm.
https://github.com/danijelaskov/expectiminimax-backgammon

2d-game artificial-intelligence backgammon bekgemon board-game board-games expectiminimax gradle inteligentni-sistemi java java-fx minimax tavla zero-sum

Last synced: 16 days ago
JSON representation

A 2D JavaFX implementation of one of the most popular and old board games. The AI player's moves are calculated using the expectiminimax algorithm.

Awesome Lists containing this project

README

        

# Expectiminimax Backgammon

[![CodeFactor](https://www.codefactor.io/repository/github/danijelaskov/expectiminimax-backgammon/badge)](https://www.codefactor.io/repository/github/danijelaskov/expectiminimax-backgammon)
![Build & Test Java Project](https://github.com/DanijelAskov/expectiminimax-backgammon/actions/workflows/gradle.yml/badge.svg)

![Gameplay demonstration](demo/gameplay.gif)

## Short application description

A 2D JavaFX implementation of one of the most popular and oldest board games.
Three game modes are supported:

* Human vs Computer (i.e. AI player)
* Human vs Human
* Computer vs Computer

The AI player's moves are determined using the [**expectiminimax algorithm**](https://en.wikipedia.org/wiki/Expectiminimax?oldformat=true).

## Setup

This project uses [Gradle](https://docs.gradle.org/current/userguide/userguide.html).
Open command-line interpreter and simply run `gradlew run` (Windows) or `./gradlew run` (macOS and Linux) to launch the application.

## Note to the reader of this README

If you have any question, suggestion or collaboration offer, please feel free to [contact me](mailto:[email protected]).
**If you find this repository useful, please consider starring it!**