The first week of GameProgramming!

So the first week of gameprogramming has gone by. Since i have studied a bit of programming in C# before i have not learned all the much from the courses. Thought it has been a great reminder on how programming works, and to adapt the previous knowledge of C# to C++. The most fundamental thing i have learned this week is that there are several ways to code the same thing, and it ts hard to differentiate which is the better way to code.

The most fundamental exercise that we have done this week was to create a guessing game. exercise 26this is the code i made for it, it works flawlessly, the program randomizes a number from 1-100 and you are supposed to guess the number 1-100

The more interesting thing is the program i am currently working on. I am trying to make a text based adventure game. With private variables only several classes and methods. Since i know that this is what I have to practice. My program is currently at 283 lines. And here is the current source code, hopefully it will be completed in the weekend  so that i can start practice using the SDL library.

Leave a comment