mcrumm/vindinium-hacklang

基于(主要是)hack-strict的Vindinium

v0.3.3 2015-05-06 17:46 UTC

README

Vindinium入门教程(主要是)hack-strict,基于@ornicar的Scala版本

四个传奇英雄为了Vindinium的土地而战
在危险的森林中开辟道路
砍伐哥布林并掠夺金矿
寻找酒馆喝他们的金币

游戏

游戏脚本位于bin/hackdinium,或通过composer安装时的vendor/bin/hackdinium

$ hackdinium

SUMMARY
    hackdinium -- Vindinium is an Artificial Intelligence programming challenge.

USAGE
    hackdinium <key> <[training|arena]> [-t,--turns=300] [-h,--host="http://vindinium.org/"]

DESCRIPTION
    Vindinium is an Artificial Intelligence programming challenge.
You have to take the control of a legendary hero using the programming language of your choice.
You will fight with other AI for a predetermined number of turns and the hero with the greatest
amount of gold will win.

For more information, visit http://vindinium.org/

OPTIONS
    -t [<value>]
    --turns[=<value>]
        Number of Turns / Number of Arena Games
    -m [<value>]
    --map[=<value>]
        Training mode map [m1..m6]
    -h [<value>]
    --host[=<value>]
        The host URL

扩展

安装

Hackdinium可通过composer获得。

{
    "require": {
        "mcrumm/vindinium-hacklang": "~0.3"
    }
}

虚拟环境

查看vagrant-hackdinium存储库以获取Hackdinium的完整功能虚拟环境。

为何说是“主要是”hack-strict?

首先,顶级命名空间以及BotGame命名空间完全使用//strict。您编写的任何配套代码可能也是相同的。

然而,也有一些partial对象/命名空间

如果我愿意,我永远不会工作...我会画画,读书,拉小提琴。我会爬山,唱我喜欢唱的歌。但我没有那种时间。--P. Diddy