Skip to content

Instantly share code, notes, and snippets.

@s3gfau1t
Forked from codenamegary/gist:7012970
Last active December 25, 2015 17:29
Show Gist options
  • Save s3gfau1t/7012997 to your computer and use it in GitHub Desktop.
Save s3gfau1t/7012997 to your computer and use it in GitHub Desktop.
<?php
$velocities = array("turtle", "donkey", "rabbit");
$players = array(
'1' => array(
'name' => 'Foo',
'velocity' => $velocities[rand(0,2)]),
'2' => array(
'name' => 'Bar',
'velocity' => $velocities[rand(0,2)]),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment