Hello everyone! Quick intro: I'm currently a Sophomore in Electrical Engineering at UTK, and I'm planning to get a minor in computer science. Anyway, I'm on spring break right now, and I started to learn about game developing. I only have the standard/basic c++ 102 course under my belt right now, but I'm really getting into self learning. I realize that I need to crawl before I walk and so fourth, so I started out my developing journey by making three simple console text-based games.
The first one was a simple hi-low guessing name that kinda got some rust off of my programming skills from freshman year. The second game was a states and capitals guessing game. It basically loaded a list of states and capitals from a file, randomly picked a state, and randomly picked a few capitals to guess from in a multiple choice format. When the user guesses correctly, the state/capital combination is removed from the array and a new list is written to a separate file. That gave me a solid refresher on file I/O.
-Connect 4 Twist-
The third game (which I just started today) works likes this.
Similarly to connect 4, you (drop) pieces onto a board from the top. Instead of two players and two colors, you instead have letters A, B, and C. The letters are generated randomly so you don't know which letter you will be available to use on a given turn. Getting a combination that lines up to ABC will win the game. Each letter placed by a player can be used by anyone to win. Each player also has the chance to use a Wildcard letter 'W' one time during the game that counts as any letter.
Finally getting to the point...
I was hoping someone out there could check out my code and look for bad habits/redundancies, etc... I'm trying to improve my programming skills in general in preparation for simple SDL 2d games, all constructive criticism is welcome. If you really hate my code, I'll just say it's because I'm EE not CS xD
Quick note: I know the code is lacking proper commenting, but I was just really in the zone spitting out code.