Skip to content

kupad95/cpp-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

cpp-practice

Some practice C++ exercises.

1. Tell the time

A simple program to practice defining classes and methods that takes in the hour, minute and second in 24-hour time, and calls on a method to display the output in 12-hour and 24-hour time.

2. Punchout

A simple game to practice defining classes, constructors and simple control flow statements that generates boxers with a random skill level for the user to fight and calculates a score for how many have been defeated.

3. Poker 5-card draw

A more complex game to practice defining multiple classes, methods, constructors and managing a gamestate. Based on standard 5-card draw Poker rules.

4. Cypher

A program to practice string manipulation and working with key-value pairs by implementing a simple half-reversed alphabet cypher.

About

Some practice C++ exercises

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages