mcrumm / vindinium-hacklang
Vindinium in (mostly) hack-strict
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 1
Language:Hack
Requires
- hhvm: >=3.3.0
- aura/cli: 2.0.*@dev
- mcrumm/vindinium-guzzle: ~0.2.1
Requires (Dev)
- hackpack/hackunit: ~0.3.3
This package is not auto-updated.
Last update: 2024-10-26 16:57:33 UTC
README
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:
- Hackdinium\Cli depends on Aura.Cli.
- Hackdinium\Http extends vindium-guzzle, which itself depends on Guzzle4.
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