No description, website, or topics provided.
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Command
DependencyInjection
Game
Resources
Tests/Game
README
SensioHangmanBundle.php

README

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