No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
templates
templates_c
tests/robin
battleSimulator.php
classes.png
phpunit.xml
readme.md

readme.md

BattleSimulator

This is a Battle Simulator. It simulates battles between 2 combatants.

The only input the user gets is to choose a name for each combatant.

Usage

./battleSimulator.php

Requirements

This requires PHP 5.4 with readline support. It will not work with PHP <= 5.3.*, and it will not work without readline.

Unit tests

If you want to run the tests you need phpunit 3.6. You can run the tests just by typing

phpunit

In the project root.