Stupid Text Game
#1
The aim of it is to find keys to your house, and get inside.

It only runs on Windows, as it was designed for Windows but feel free to covert it if you wish to Linux or MacOS

I also upload the source code if you wish to look at it.
It was made in Visual Studio so if you don't have VC++ Runtime libraries installed here is the link to install them, to check go to applications and look for Microsoft C++ 2008 Redistribute(yes when installed the name changes for some reason)
VC++ Runtime Libraries Link: http://www.microsoft.com/en-us/download/details.aspx?id=30679
Link to Game Download: https://drive.google.com/file/d/0B36hVvK...sp=sharing
Source Code: https://drive.google.com/file/d/0B36hVvK...sp=sharing

All the descriptions are made for humor, if you find them offensive i don't care

Hope you Enjoy
[Image: ETQjSgL.jpg]
Made by Me X | Give a Rep, You May Get Something in Return *wink* ,Click Here
#2
Hey, nice program.

I was looking at the source code and noticed many massive clumps of if statements checking the condition of one variable, most being location.
As you are coding in C++ you can use the switch statement to reduce the size and increase the efficiency of these checks.
[Image: KInLxEm.png]
#3
(04-12-2017, 07:28 AM)Devon Wrote: Hey, nice program.

I was looking at the source code and noticed many massive clumps of if statements checking the condition of one variable, most being location.
As you are coding in C++ you can use the switch statement to reduce the size and increase the efficiency of these checks.

ok no idea why i looked at this, but I'll answer your question.

I hate switch statements, they piss me off. they are some of the most annoying things you can do in C++. also im lasy and programming the full thing using if and while true loops is much easier than using switch statements
[Image: ETQjSgL.jpg]
Made by Me X | Give a Rep, You May Get Something in Return *wink* ,Click Here


Forum Jump:


Users browsing this thread: 1 Guest(s)