Skip to content
This repository has been archived by the owner on May 1, 2019. It is now read-only.

hhamon/SensioHangmanBundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages