Have you ever read a Choose Your Own Adventure book? Well, now you can read a CYOA book in the terminal. This book is called Prompt-Quest. Complete the quest by picking from the fixed prompts for your KNIGHT.GPT and let the story go wild.
No followers yet
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
I worked on making it available on PyPI for a while. I found this surprisingly difficult as it made me make an account, add api keys, GitHub workflows and etc. This is why I pivoted to have someone who wants to play my game clone the git repo and then run start.py to start the game.
I added, tested, and fixed everything. The only error was that there was no sleep(seconds) command in the toastocracy ending, so I had to fix that. Next, I made a list of every possible path you can take, whether it leads you to a win or not, in path.txt.
I finally added the last layer of the last option. I am done now. I just have to make sure everything is working and all the pages are hooked up correctly.
I finished layer 2 of option 2. In this investigation the bush you get 2 options. You can eat a berry of the bush or apologize to it for startling it. If you eat, you die; if you talk to it, it becomes your friend. this forces you to go to option 3 at the end, which is what I will work on now.
I know I said I would work on layer 2 of option 2, but instead I worked on layer 3 of option 1. Now all layers of option 1 are finished. At the end of option 1, if you pick the right path, it will make you pick 1 of the original 3 options without the one that led there. If you pick the wrong one, then there is an end screen
I added a second layer for option 1. This includes either trying to change the source code or joking with it to try to make it your friend. The battle introduces layer 3 into option 1. Next up is layer 2 for option 2.
I added a print story for all the choices on start now, I have added the choices that you get for each choice. still have roughly 6 branches left. last layer of branches to do.
At the end of each page, it must print the same message, prompting the user to select their next choice. This is why I made it a function that has 1 parameter, which is how many choices there are, and it will print and return which choice the user has picked.
I added another page and also created a plan for how the story will unfold. Lastly I added a way to go from one page to the next, where the next page is a function and you call that function to go the the next page.
I first made a starting screen which I can now build on. Next I need to make a plan on how I will go to the next page. I think I will keep each page in its own .py file and maybe write a .sh file to run that