Vindinium starter in (mostly) hack-strict
Hack C++ PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
src
.gitignore
.hhconfig
LICENSE
README.md Merge pull request #7 from mcrumm/feature/hh_enums May 6, 2015
composer.json
composer.lock

README.md

Hackdinium

Vindinium starter in (mostly) hack-strict, based on the Scala version by @ornicar.

Four legendary heroes were fighting for the land of Vindinium
Making their way in the dangerous woods
Slashing goblins and stealing gold mines
And looking for a tavern where to drink their gold

Play

The game script is located at bin/hackdinium, or vendor/bin/hackdinium if installed via composer.

$ 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

Extend

Install

Hackdinium is available via composer.

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

Virtual Environment

Check out the vagrant-hackdinium repo for a fully-functional virtual environment for Hackdinium.

Why "mostly" hack-strict?

First off, the top-level namespace, as well as the Bot and Game namespaces are entirely //strict. Any companion code you write can likely be the same.

However, there are a few partial objects/namespaces, as well:

If I had my way, I'd never work... I'd paint, and read, and play violin. I'd climb the mountains, and sing the songs that I like to sing. But I don't got that kinda time. --P. Diddy