Coder Social home page Coder Social logo

tossug / tossug-arena Goto Github PK

View Code? Open in Web Editor NEW
6.0 7.0 0.0 135 KB

Board-Gamelets Arena for poor AI Players (土虱競技場)

Home Page: https://speakerdeck.com/bluebat/gamelets-arena-for-ai-players

License: The Unlicense

Makefile 0.96% Shell 99.04%
ai xiangqi chinese-chess

tossug-arena's Introduction

animated

Gamelets Arena for poor AI Players

TOSSUG Arena runs as a platform for building board-gamelets. Contributors can add their scripts as agent to battle with other agents, human players or themselves. https://github.com/tossug/tossug-arena

Testing

./tossug-arena
./tossug-arena XiangHalf Human Random
mkdir players/XiangHalf/MyAgent
cp players/XiangHalf/Random/main players/XiangHalf/MyAgent/main
${EDITOR:-vi} players/XiangHalf/MyAgent/main
./tossug-arena XiangHalf Random MyAgent

Install & Usage

make install
tossug-arena [ShuaiQi|TianQi|XiangHalf|XiangQi|XiangThree] [Human|Random|AGENTNAME] [Human|Random|AGENTNAME]

Chinese Description

簡單的桌遊開發平臺,提供參與者協同開發環境,或可視為「窮人的人工智能練習場」(不敢妄稱智慧)。 遊戲引擎與玩家引擎可以分別實作,不同的遊戲引擎可以有不同的使用者介面,不同的玩家引擎之間還可對戰以增加趣味。

已實作象棋整盤(大盤、明棋)、半盤(暗棋、盲棋)、三國暗棋、田棋、帥棋的文字介面, 以及棋步是否合乎規則的判斷。建議參考兩個不到五列程式的隨機玩家, 並以任何指令稿語言編寫自訂的玩家程式,即可進行與真人、隨機、自身程式的對戰。

For Android

Please install "termux" app. first, then input:

$ pkg upgrade
$ pkg install git make grep
$ hash -r
$ git clone https://github.com/tossug/tossug-arena.git
$ cd tossug-arena
$ make
$ ./tossug-arena
$ ./tossug-arena TianQi

Next time you only need:

$ cd tossug-arena
$ ./tossug-arena ShuaiQi

To update optionally you may input:

$ cd tossug-arena
$ make reverse
$ git pull
$ make

tossug-arena's People

Contributors

bluebat avatar kerwinhui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

tossug-arena'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.