RichTeaMan / Draughts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

License:MIT License


Languages

Language:C# 87.2%Language:PowerShell 3.5%Language:HTML 3.4%Language:JavaScript 3.0%Language:CSS 1.8%Language:Shell 1.0%