Did you set up your initialize section properly in game.php?
$block_io = new BlockIo($apiKey, $pin, $version);
The sample php for generating a new address is a bit different than the way you are trying to do it.
$newAddressInfo = $block_io->get_new_address(array('label' => 'shibe1'));