The simple Silex php app is designed to play the ancient game of rock, paper, scissors. The player picks rock, paper, or scissors, and then the computer picks one at random. Rock beats scissors, scissors beats paper, and paper beats rock.
The goal of this project is to practice BDD with phpUnit, as well as use of the Silex micro-framework for web apps and Twig html templating tools.
- Fork and clone this repository from gitHub.
- Navigate to the root directory of the project in which ever CLI shell you are using and run the command: composer install .
- Create a local server in the /web directory within the project folder using the command: php -S localhost:8000 (assuming you are using a mac).
- Open the directory http://localhost:8000 in any standard web browser.
No known bugs at this time.
If you have any questions, concerns, or feedback, please contact the author through gitHub.
This web application was created using the Silex micro-framework_, as well as _Twig, a template engine for php.
MIT License.
Copyright (c) 2016 Joseph Karasek