Fearless Forums
Stupid Text Game - Printable Version

+- Fearless Forums (https://fearlessrp.net)
+-- Forum: General Discussion (https://fearlessrp.net/forumdisplay.php?fid=10)
+--- Forum: Discussions (https://fearlessrp.net/forumdisplay.php?fid=4)
+---- Forum: Archive (https://fearlessrp.net/forumdisplay.php?fid=481)
+---- Thread: Stupid Text Game (/showthread.php?tid=78672)



Stupid Text Game - dawson270500 - 03-07-2017

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/0B36hVvKdZ7gfUkR5RG5IQnktUE0/view?usp=sharing
Source Code: https://drive.google.com/file/d/0B36hVvKdZ7gfSG5UVTZ2bExwRkk/view?usp=sharing

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

Hope you Enjoy


RE: Stupid Text Game - Devon - 04-12-2017

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.


RE: Stupid Text Game - dawson270500 - 04-18-2017

(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