Skip to content

RobertCurtin-eaton/RockPaperScissorsKata

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RockPaperScissorsKata

image

Rules

The rules of rock paper scissors are fairly simple:

  1. Scissors/Rock: Player1 Loses
  2. Scissors/Paper: Player1 Wins
  3. Scissors/Scissors: Tie
  4. Paper/Rock: Player1 Wins
  5. Paper/Scissors: Player1 Loses
  6. Paper/Paper: Tie
  7. Rock/Paper: Player1 Loses
  8. Rock/Scissors: Player1 Wins
  9. Rock/Rock: Tie

This Code Kata is to implement a modules that meets these rules.

Setup

This codespace environment should be setup properly. This includes the ability to debug, check code coverage, and calculate complexity.

Build/Run

To build and run:

 cmake -S . -B build && cmake --build build --target run-tests

Example Answers

There is a branch with a set of examples named solution.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CMake 85.4%
  • C++ 11.1%
  • C 3.5%