PHPackages                             eridal/vindinium - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. eridal/vindinium

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

eridal/vindinium
================

Vinidium Client

2141PHP

Since Feb 4Pushed 12y ago1 watchersCompare

[ Source](https://github.com/eridal/Vindinium)[ Packagist](https://packagist.org/packages/eridal/vindinium)[ RSS](/packages/eridal-vindinium/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Vindinium
=========

[](#vindinium)

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

**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.

Install and Run
===============

[](#install-and-run)

Download and install using [Composer](https://packagist.org/packages/eridal/vindinium)

1. Install Composer:

    ```
    curl -s https://getcomposer.org/installer | php
    ```
2. Add Vindinium as a dependency to your `composer.json`

    ```
    {
        "require": {
            "eridal/vindinium": "master-dev"
        }
    }
    ```
3. Install

    ```
    php composer.phar install

    ```
4. Execute your Robot

    ```
    php vendor/bin/vindinium.php path/to/RobotClass.php

    ```

Robots
======

[](#robots)

1. Register your robot at [vindinium](http://vindinium.org/register).

    > Tip: Use one key per robot, or stats will be shared.
2. Create a class, and implement the [Robot](https://github.com/eridal/Vindinium/blob/master/src/Robot.php) interface

Getting Started
---------------

[](#getting-started)

```
/**
 * This hero will randomly move
 */
class Random implements \Vindinium\Robot {

    /**
     * Robots's secret key.
     *
     * Secret as in "Keep. It. Secret."
     *
     * @return string
     */
    function secretKey() {
        return "";
    }

    /**
     * Your robot logic goes here
     *
     * On each turn this method will be called with the game `$state`
     * for you to decide what to do next.
     */
    function play(\Vindinium\State $state, \Vindinium\Move $to) {
        $to->random();
    }
}
```

Feedback
========

[](#feedback)

Yes, please!

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/369adca43e0248a4f376a50a5176d3a5b2130a8bf5a0a3f92eaafe75660f4bd0?d=identicon)[eridal](/maintainers/eridal)

---

Top Contributors

[![eridal](https://avatars.githubusercontent.com/u/95427?v=4)](https://github.com/eridal "eridal (30 commits)")

### Embed Badge

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

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

###  Alternatives

[stingbo/easyexchange

easy use digital currency exchange sdk

871.3k](/packages/stingbo-easyexchange)

PHPackages © 2026

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