Stupid Text Game
#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]


Messages In This Thread
Stupid Text Game - by dawson270500 - 03-07-2017, 06:35 PM
RE: Stupid Text Game - by Devon - 04-12-2017, 07:28 AM
RE: Stupid Text Game - by dawson270500 - 04-18-2017, 05:13 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)