Skip to content

RichTeaMan/Draughts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Draughts AI Trainer

Draughts build

This project attempts to train an AI Draughts player.

The AI make decisions based on weights for board metrics. These weights are honed with a genetic algorithm.

A playable version can be found at https://draughts.richteaman.com.

Cake Tasks

This project uses Cake!

  • cake -target=Clean
  • cake -target=Build
  • cake -target=Test
  • cake -target=Train
  • cake -target=Show-Names
  • cake -target=Game
  • cake -target=Web-UI

Desktop UI

The Draughts.UI.Wpf project builds a WPF application for playing any combination of human and AI players.

It can be built and run on (only) Windows computers with:

./cake.ps1 -target=Game

The latest build is available from Appveyor.

Draughts.UI.Wpf can be configured with command line flags:

-w ai D:\Projects\Draughts\AiOutput\ai.json -b human

Web UI

The Draughts.Web.UI project builds an ASP.NET Core project builds a web application for a human to player an AI opponent.

It can be built and run on most operating systems using:

./cake.ps1 -target=Web-UI

A live version is available at https://draughts.richteaman.com.