Coder Social home page Coder Social logo

rapfi-gomocup's Introduction

Rapfi

Rapfi is a Gomoku (Five in a Row) engine designed for the Gomocup AI Tournament. Since Gomocup requires AI to communicate through the Gomocup protocol, in order to use it comfortably, you may need the compatible GUI called Piskvork which you can download here. Partly documented in author's native language (Chinese).

As the code structure is not suitable for future development, this version of Rapfi will no longer be updated.

Overview

  • Rapfi is written in C++, based on the alpha-beta algorithm with enhancements.

  • This version of Rapfi only supports freestyle rules.

  • It has a relative strong playing strength. It ranks 4st in Gomocup 2018, with about 300 elo gap between the top.

Game Type Elo + - games
Freestyle 2096 37 35 1344
Fastgame 2090 47 44 1008

Modify config

Rapfi has a built-in config, however, if you want to change the config, you need to re-generate a config file. Config file contains all the information needed, such as eval value, score value, pruning margin, etc. Since Rapfi has an enormous amount of evaluation values, it's nearly impossible for manual adjustment. But we can generate the full config file using a simplified eval file, which contains much less values.

In order to generate a config file, compile "EvalGen" project, then use this command:

EvalGen.exe basicEval.txt config

basicEval.txt contains all the basic eval settings, with its meaning written in Chinese. Put config in the same dictionary with Rapfi, then Rapfi will automatically load it when started.

rapfi-gomocup's People

Contributors

dhbloo avatar

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.