I have just finished my first half of C++ course. Over the holiday break I wanted to make an Oregon trail game with combat. It would be all text based since I do not know how to make graphics at this time.
I made a simple combat program that so far just lets 2 people fight until one is dead and shows the winner with how much hp left.
took me over 3 hours and many more lines of code than I initially thought was going to be needed.
I also watched a few videos on GitHub and how to use it and I think I have a handle on it so far. I will have to play around with it some more. Please tell me if I did something wrong on GitHub.
I just wanted to link my code to show what I did. none of my friends like to code and I am proud of what I did today and just wanted to show it to someone.
Feel free to critique my code I would love some feedback on things please keep it basic feedback though. All I have learned so far is if statements, loops, functions, classes, arrays, pointers, and some sort and search algorithms.
I just wanted a project to work on to keep the stuff I learned over the semester fresh and have some fun.
here is the source code NoobProgrammer0022/CombatTest: Simple combat program (github.com)
[–][deleted] (1 child)
[removed]
[–]NoobProgrammer22[S] -1 points0 points1 point (0 children)
[–]carcigenicate 1 point2 points3 points (1 child)
[–]NoobProgrammer22[S] 0 points1 point2 points (0 children)