This repository was archived by the owner on May 1, 2019. It is now read-only.
hhamon/SensioHangmanBundle
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Installation
============
1. Put these files under the `src/Sensio/Bundle/HangmanBundle` directory.
2. Activate the bundle in your Kernel class:
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
// ...
new Sensio\Bundle\HangmanBundle\SensioHangmanBundle(),
);
// ...
return $bundles;
}
public function registerContainerConfiguration(LoaderInterface $loader)
{
$loader->load(__DIR__.'/config/config_'.$this->getEnvironment().'.yml');
}
}
3. Play the hangman from your command line.
$ php app/console game:hangman 8 --max-attempts=15