Skip to content

Newton-Musyimi/Rock-Paper-Scissors-Extended

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rock, Paper, Scissors + Lizard + Spock EXTENDED (Including Class)

For the third version of the game, I switched up gears a bit and split it into 3 files:

  1. The main file which initializes the game and starts it. (13 lines of code)
  2. The header file which contains the class definition and the class members' declaration. (26 lines of code)
  3. The logic file Where the game logic is coded. Also where the class member methods declared in the header file are defined. (351 lines of code)

390 total lines of code

To compile, run g++ rpslsGAME.cpp rpsls.cpp

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages