So I just finished Setion_02 and scratched the surface of Section_03. Then I had an idea and decided to make my own console game, like Bulls and Cows. But my game is called Find Me! It it pretty simple, at least in my head, heh.
So here it goes,
the game starts with a text explaining that you’re alone in a dark cave and have only three options: going right, left or forward, then it tells you your proximity to the objetive(that Proximity value is the value responsible for winning or losing the game, I’ll get there).
The game works with the player typing an input i.e. ‘left’. This triggers a response that gives the player one of three possible destinations(‘rooms’ for future reference). Once the game describes a new room to the player it will give the player their new Proximity value based on the new room(either add 1 [getting closer to objetive], subtract 1 [getting farther away from objective] or add 0/nothing [maintaining distance to objective]). The game ends when the Proximity value reaches 10(win! you found the objetive) or 0(lose. you went too far away from the objective and died).
I hope that’s understandable, I’m trying my best to explain it here.
This is the first actual programming I’m doing all by my own after taking the course lectures and I’m hitting some walls. I’m hoping someone there’s willing to take a look at my code and give me some feedback. Tell me if I’m on the right path(or not), maybe point me in the right direction, or if I have a lot of nonsense typed in VS, heheh, or generally just give it a look and give me some pointers… Any at all would be greatly appreciated. I’m hitting some pretty big walls here.
And just for the record, there may be some unfinished lines or functions in my code, or really unnecessary stuff, but that’s pretty much why I’m posting this, I don’t know that much to know these things. I’m a complete begginer.
EDIT: Finally got my code on github.
Project code files
So, thanks in advance to anyone wiling to take a look at this!
Have a nice day!