Skip to content

joekarasek/epicodus-php-rock_paper_scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rock Paper Scissors

An ancient game of raw savagery, 2.17.2016

By Joseph Karasek

Description

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.

Setup/Installation Requirements

  1. Fork and clone this repository from gitHub.
  2. Navigate to the root directory of the project in which ever CLI shell you are using and run the command: composer install .
  3. 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).
  4. Open the directory http://localhost:8000 in any standard web browser.

Known Bugs

No known bugs at this time.

Support and contact details

If you have any questions, concerns, or feedback, please contact the author through gitHub.

Technologies Used

This web application was created using the Silex micro-framework_, as well as _Twig, a template engine for php.

License

MIT License.

Copyright (c) 2016 Joseph Karasek

About

BDD with PhpUnit using Silex and Twig

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published