Hello, everybody and thanks for taking your time to read this.
I know people like to cheat. I never did this in a CS-Game however, I understand the argument that it’s nice to know where a choice leads or what’s the right answer to a question. From time to time I saw in some topic that some players look at the code while playing so they have this advantage. Everybody can play the way they want.
But I really would like to make a riddle that can’t be solved without the intended thought process by the player and connecting the puzzle pieces. Also, I know that hiding content is probably a bad idea. However, the content I want to hide wouldn’t be a major plot part and rather a small reward for players who take the time to read between the lines.
The only solution I can think of would be something like this:
*input_text riddleans *goto_scene riddle *label riddleend *if reward = 1 Some text describing the reward *goto rewardend *label rewardend Usual story content
*if riddleans = "randomtext" *set reward 1 *goto_scene chapterx_eventx riddleend *else *goto_scene chapterx_eventx riddleend
I thought with this the player won’t be able to look at the code since he never stays inside the riddle.txt and there is no variable which contains the answer in any other file the player is able to reach. However, there is still the possibility that someone can enter the file itself. But I guess if someone goes this far he really is desperate to know what is behind the locked door.
I would be amused and satisfied with myself since I at least forced the player to put some effort to solve the riddle. I guess that would be the savage way and something like breaking a lock with brute force instead of finding the key. With all that said I wanted to know if there is a better way to achieve my goal or if I should just accept the fact that some player will cheat.