Skip to content

Alex-Bellamy/rock_paper_scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Craft Academy Tech Interview Simulation - Rock Paper Scissors

Deployed at Netlify
Netlify Status

The challenge

Build a Rock Paper Scissors game as part of a hiring process which included two interviews, pre and post implementing the game. The rules are:

Rock vs Paper -> Paper wins
Rock vs Scissors -> Rock wins
Paper vs Scissors -> Scissors wins

It was totally up me how I wanted to work, what programming language I wanted to use, if I wanted to deliver game logic only or build a web based interface where a player is challenged by the computer or where two players can play against each other.

In my game the user can play against the computer that randomly chooses a weapon, the player or the computer get a point for each win.

Tech and packages

  • React
  • Cypress testing framework

Setup

You can fork this repo to your own GitHub account or clone it directly to your local drive.

Install all packages by running the command:

$ yarn

Run the app in development mode:

$ yarn start

Start Cypress and run the tests:

$ yarn cy:open

License

This app is open source software licensed as MIT.

About

An old-school kid's game built in React. Dare to challenge the computer on the deployed app?!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published