The following is a project I’m wanting to develop and I’m looking for the right solution to get it done. My search has led me to Twine which, so far, appears to be able to handle 3/4 of what I need it to do. The question regards the rest of it, and how to go about getting it done. If Twine is not the right tool for the job, any suggestions on what to check out instead is most appreciated.
First, fundamentally, the game is pretty much a form with user submitted answers which can/should be able to be done with js. Whether Twine can do it is the question.
The game is a puzzle trail. This is from the old school 90s era html puzzle games with the puzzle on page 1, the user types in the url with the answer as the page e.g. domain.com/game/answer.html format.
In an app version it works like so:
Start or intro page to describe the game and objective and issues an example puzzle worth 100 points.
The player clicks start and goes to a new page.
On this page is either 1. text, 2. image 3. audio/video as the puzzle
Below that is the text “Answer” and beside that is a text box for the user to input the correct solution/answer
If correct, the player is awarded 100 points.
If incorrect, a message “Incorrect” is displayed. They cannot proceed until they input the correct answer.
The correct solution moves the player to the next page & puzzle in the level (passage)
All points are tracked, adding to or subtracting from the total on any given puzzle
When points reach a specific amount or last puzzle is complete, the player wins.
When points reach 0 the player loses, a Game Over page is shown, with the option to try again.
If they try again, from the start, all points and user input data is cleared.
A “stats” bar showing the current level, correct answers, incorrect answers, total points would be maintained across all pages and tracked.
That’s basically all there is to it.
From there, it is converted into whatever the required format to publish on the app stores for sale.
If Twine can do all of this but the app store is not an option in 2022, then the next option is a free to play browser game hosted on my own website, but the file itself with the source code is not handed off to people to run in Twine and do whatever. It needs to be as secure as any other web page, no view source, no inspect option for the actual code, so the solutions are not on display. It is a game, after all.
Finally, in either game format option, is there a way to do a purchase to play option so they get a page link to play the game or to download it as a game without being able to see the code structure and bones…just to play it.
Thanks! I hope someone can point me in the right direction. It’s a stupid simple game…I just don’t know what tools to use to make this happen.