Giter Site home page Giter Site logo

zhanghad / starfish Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xwen99/starfish

0.0 0.0 0.0 2.18 MB

A Chinese cheese engine written in C++, final project of Spring 2019 Artificial Intelligence at Tongji Univ.

License: GNU Lesser General Public License v2.1

C++ 7.45% C 92.55%

starfish's Introduction

⭐starfish

Introduction

A Chinese cheese engine written in C++, final project of Spring 2019 Artificial Intelligence at Tongji Univ.

Starfish is featured by its high-efficiency best move searching algorithm. We let the AI figure out the gaming dark magic during deep adversial searching, rather than providing much prior knowledge with it(Because none of us is good at playing Chinese cheese :)).

Module Organization

  • ucci.h/ucci.cpp

    • UCCI communication module
  • tools.h

    • Basic tool functions
  • book.h/book.cpp

    • Opening book processing module
  • buffer.h

    • A fixed opening book extracted from BOOK.DAT in eleeye
  • position.h/position.cpp

    • Move generating module
  • movesort.h

    • Move sorting module
  • search.h/search.cpp

    • best move searching module

Compiler Environment

MSVC 16.1.0

Play with It

Protocol

We support a simplified version of Universal Chinese Chess Protocol(UCCI), a text-based communication protocol between a chess interface and a chess engine.

The supported instructions are:

  1. ucci
  2. isready
  3. position {fen | startpos} [moves < follow-up list>]
  4. go time <milliseconds>
  5. quit

Please refer to http://www.xqbase.com/protocol/cchess_ucci.htm for details.

For Human

starfish-debug.exe provides a simple graphical interface, have fun playing with it.

For Silicon-Based Organism

You may have more common languages with starfish-release.exe.

Why Starfish?

To pay tribute to our predecessors who developed xxfishes...

Since there are already stockfish, sunfish and moonfish, why not starfish?

haixing

Reference

starfish's People

Contributors

xwen99 avatar chong1144 avatar flust avatar bxdd 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.