PHPackages                             mcrumm/vindinium-hacklang - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. mcrumm/vindinium-hacklang

ActiveLibrary

mcrumm/vindinium-hacklang
=========================

Vindinium in (mostly) hack-strict

v0.3.3(11y ago)214[1 issues](https://github.com/mcrumm/vindinium-hacklang/issues)MITHack

Since Jul 19Pushed 10y ago1 watchersCompare

[ Source](https://github.com/mcrumm/vindinium-hacklang)[ Packagist](https://packagist.org/packages/mcrumm/vindinium-hacklang)[ RSS](/packages/mcrumm-vindinium-hacklang/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (4)Versions (12)Used By (0)

Hackdinium
==========

[](#hackdinium)

[Vindinium](http://vindinium.org) starter in (mostly) [hack-strict](http://hacklang.org), based on the [Scala version](https://github.com/ornicar/vindinium-starter-scala) 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

[](#play)

The game script is located at [`bin/hackdinium`](bin/hackdinium), or `vendor/bin/hackdinium` if installed via composer.

```
$ hackdinium

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

USAGE
    hackdinium   [-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 []
    --turns[=]
        Number of Turns / Number of Arena Games
    -m []
    --map[=]
        Training mode map [m1..m6]
    -h []
    --host[=]
        The host URL
```

### Extend

[](#extend)

#### Install

[](#install)

Hackdinium is available via [composer](http://getcomposer.org).

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

#### Virtual Environment

[](#virtual-environment)

Check out the [vagrant-hackdinium](https://github.com/mcrumm/vagrant-hackdinium) repo for a fully-functional virtual environment for Hackdinium.

### Why "mostly" hack-strict?

[](#why-mostly-hack-strict)

First off, the top-level namespace, as well as the [Bot](src/Bot) and [Game](src/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](src/Cli) depends on [Aura.Cli](https://github.com/auraphp/Aura.Cli).
- [Hackdinium\\Http](src/Http) extends [vindium-guzzle](https://github.com/mcrumm/vindinium-guzzle), which itself depends on [Guzzle4](https://github.com/guzzle/guzzle).

> 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](http://m.imdb.com/title/tt0353049/quotes?qt=qt0312304)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~36 days

Recently: every ~71 days

Total

9

Last Release

4021d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ef52ce0a4d546c303cbf41b8003f68daed00f492bdb75e514cfba859df02621?d=identicon)[mcrumm](/maintainers/mcrumm)

---

Top Contributors

[![mcrumm](https://avatars.githubusercontent.com/u/168677?v=4)](https://github.com/mcrumm "mcrumm (5 commits)")

---

Tags

hhvmhackhacklangvindinium

### Embed Badge

![Health badge](/badges/mcrumm-vindinium-hacklang/health.svg)

```
[![Health](https://phpackages.com/badges/mcrumm-vindinium-hacklang/health.svg)](https://phpackages.com/packages/mcrumm-vindinium-hacklang)
```

###  Alternatives

[hackpack/hackunit

An xUnit testing framework for Hack

622.7k14](/packages/hackpack-hackunit)[quizlet/hammock

Hammock is a stand-alone mocking library for Hacklang.

27445.5k](/packages/quizlet-hammock)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
