This repository contains a fully working Valorant tracker that manages players,
combat scores, ranks, and the team's upcoming match schedule. The program reads a
match file, groups the rows into Player objects, and lets the user look up a
player, edit the upcoming match schedule, and write a roster report as a file.
make./mainmake testmake clean-
Week 1 Program Basics
- Code location:
src/project.cpp(ScoreList::getTotal(),ScoreList::getAverage(),printPlayer(),printMenu()) - Test location:
tests/test_project.cpp(testProgramBasicsAverageCalculation())
- Code location:
-
Week 2 Decisions and Loops
- Code location:
src/main.cpp(menudo/while) andsrc/project.cpp(readMenuChoice()loop,isValidMenuChoice(),ScoreList::isValidScore(),UpcomingMatch::isValidMatchNumber(),Player::determineRank()) - Test location:
tests/test_project.cpp(testDecisionsAndValidation())
- Code location:
-
Week 3 Functions and Program Design
- Code location:
src/project.cpp(Player::addScore(),Player::sortScores(),Player::getAverage(),Player::getRank(),Player::getScoreList()) - Test location:
tests/test_project.cpp(testPlayerInstanceMethodsReturnValues())
- Code location:
-
Week 4 Arrays, Searching, and Sorting
- Code location:
src/project.cpp(ScoreList::findScore(),ScoreList::sortDescending(),ScoreList::getScoreAt(),RosterReport::findEntryByRiotId(),RosterReport::findTopFraggerIndex(),RosterReport::sortByAverage()) - Test location:
tests/test_project.cpp(testArraySearchAndSort())
- Code location:
-
Week 5 Strings and Structures
- Code location:
include/project.hpp(RosterEntry) andsrc/project.cpp(Player::isValidRiotId()) - Test location:
tests/test_project.cpp(testStringsAndStructuresRosterEntry())
- Code location:
-
Week 6 Pointers, Dynamic Memory, and Linked Lists
- Code location:
src/project.cpp(MatchNode,MatchQueue::insertByNumber(),MatchQueue::findMatch(),MatchQueue::removeMatch(),MatchQueue::clear()) - Test location:
tests/test_project.cpp(testLinkedMatchQueueInsertSearchAndCleanup())
- Code location:
-
Week 7 File I/O and Integration
- Code location:
src/project.cpp(RosterReport::readRosterFile(),RosterReport::buildRoster(),RosterReport::writeRosterReport()) - Test location:
tests/test_project.cpp(testFileBasedRosterLoadAndAverage()) - Files:
data/matches.txt
- Code location:
- My project compiles with
make. - My project runs with
./main. - My tests run with
make test. - I deleted or replaced the sample project code.
- My project uses class names that are nouns from my own project.
- My project integrates all 7 course topics in reachable code.
- My project includes at least one unit test per course topic.
- My README explains where each topic appears.
- My README explains which test verifies each topic.
- My code is committed and pushed to GitHub Classroom.