Code Monkey home page Code Monkey logo

slowpoke's Introduction

Slowpoke

slowpoke.png

Slowpoke is a checkboard playing program for my 3rd year dissertation. It's inspired by Blondie24 but also includes a series of modifications that allow it to be a system that can be taken seriously in 2017. It revolves around GANNs (Genetic Algorithms / Neural Networks) and moves are evaluated using a modified Monte-Carlo Tree Search.

Training

Training is called by running the python file:

python3 simulate.py heavy

The program will attempt to utilise as many cores that the computer running the program has. I'm currently running this on a 128-core machine, which takes around 20 hours to finish (200 generations, 15 players per generation, 6ply).

Playing a Champion

python3 play.py

The program above also allows arguments; so you can quickly test the system:

python3 play.py b=slowpoke w=slowpoke ply=8

Evaluations

python3 evaluate.py

There is currently a variety of configured games that slowpoke will try to win. They're currently set to play for 256 games (128 on both sides - black and white). Statistics are scored in root/results/evaluations in the form of a .json and a .csv.

slowpoke's People

Contributors

thien avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

zymitsky

slowpoke's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.