Melting-Mindz

Play Games Here => New Games => Topic started by: selfdefiant on February 23, 2026, 12:35:10 PM

Title: Sneaky's Carnival
Post by: selfdefiant on February 23, 2026, 12:35:10 PM
(https://www.melting-mindz.com/imgs/Sneakys-Carnival.png)

Step right up to Sneaky's Carnival, a 20-level web riddle game where nothing is as it seems! Inspect the source, decode hidden messages, listen for whispers, and use every trick in your browser to escape the carnival. Each level is a new puzzle that will test your wits, creativity, and detective skills. Can you unlock all 20 stages and earn your freedom from the Ringmaster? Log in to save your score!

Play here! (https://melting-mindz.com/game_page.php?Game=Sneakys-Carnival)
Title: Re: Sneaky's Carnival
Post by: Skink on February 25, 2026, 08:47:24 AM
Nice idea, but in the game that is based on using the browser's development tools placing the correct answer right and straight in the source of the page... I mean, if I opened the source code anyway, and see the answer right before me, why should I try to solve riddles?
What you really should change here is to place the answer check on your server. The page should query it on user's attempt to enter the answer, and the server will respond if it correct or not.
Title: Re: Sneaky's Carnival
Post by: selfdefiant on February 25, 2026, 09:37:10 AM
Quote from: Skink on February 25, 2026, 08:47:24 AMNice idea, but in the game that is based on using the browser's development tools placing the correct answer right and straight in the source of the page... I mean, if I opened the source code anyway, and see the answer right before me, why should I try to solve riddles?
What you really should change here is to place the answer check on your server. The page should query it on user's attempt to enter the answer, and the server will respond if it correct or not.
Not all answers are available in the console. Only some and some aren't easy to find!
Title: Re: Sneaky's Carnival
Post by: Skink on February 25, 2026, 02:43:53 PM
Quote from: selfdefiant on February 25, 2026, 09:37:10 AM
Quote from: Skink on February 25, 2026, 08:47:24 AMNice idea, but in the game that is based on using the browser's development tools placing the correct answer right and straight in the source of the page... I mean, if I opened the source code anyway, and see the answer right before me, why should I try to solve riddles?
What you really should change here is to place the answer check on your server. The page should query it on user's attempt to enter the answer, and the server will respond if it correct or not.
Not all answers are available in the console. Only some and some aren't easy to find!
All, except the last one. You can find them in level<N>.html, function CarnivalEngine.initLevel, argument's property "answer". And the last one you can see in comments in the same file.
(https://skrinshoter.ru/s/250226/xiGBNQYg.jpg?download=1&name=%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82-25-02-2026%2020:33:16.jpg)

BTW, to place answer validation on the server you don't even need a specific API. You can make on server folder "answers", and put there empty files with names: "1-map.txt", "2-glass.txt" etc. When user proposes an answer, you try to fetch a file with corresponding name, for example if he answers "planet" on 1st question, you try to fetch "answers/1-planet.txt", receive 404, and show to user that the answer is not correct. This way you can easily check answers and user will not be able to see a correct one because he cannot browse a folder on your server.
Title: Re: Sneaky's Carnival
Post by: selfdefiant on February 25, 2026, 04:20:13 PM
Quote from: Skink on February 25, 2026, 02:43:53 PM
Quote from: selfdefiant on February 25, 2026, 09:37:10 AM
Quote from: Skink on February 25, 2026, 08:47:24 AMNice idea, but in the game that is based on using the browser's development tools placing the correct answer right and straight in the source of the page... I mean, if I opened the source code anyway, and see the answer right before me, why should I try to solve riddles?
What you really should change here is to place the answer check on your server. The page should query it on user's attempt to enter the answer, and the server will respond if it correct or not.
Not all answers are available in the console. Only some and some aren't easy to find!
All, except the last one. You can find them in level<N>.html, function CarnivalEngine.initLevel, argument's property "answer". And the last one you can see in comments in the same file.
(https://skrinshoter.ru/s/250226/xiGBNQYg.jpg?download=1&name=%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82-25-02-2026%2020:33:16.jpg)

BTW, to place answer validation on the server you don't even need a specific API. You can make on server folder "answers", and put there empty files with names: "1-map.txt", "2-glass.txt" etc. When user proposes an answer, you try to fetch a file with corresponding name, for example if he answers "planet" on 1st question, you try to fetch "answers/1-planet.txt", receive 404, and show to user that the answer is not correct. This way you can easily check answers and user will not be able to see a correct one because he cannot browse a folder on your server.
Good job! I didn't think many people would actually dig that deep!