GOAP Game (Prototype)

Design

The "GOAP Game" (title pending) is a game that is to be paired with a series of articles about combinatorial algorithms, slated to be released in 2024.

Introduction

You wake up and find that you have been kidnapped and transported into a small sealed room with stone walls and no windows. You have no paper, phones, or writing utensils. The instructions in front of you read: "You must visit EACH ROOM ONCE AND ONLY ONCE." You turn around and see three doors available to you. To your relief, each one is labelled. Choose a door to follow -- but beware not to visit the same room twice!

PHP debug log: we need to instantiate the session variables. Doing so now.

array(4) { ["visited"]=> array(1) { [1234]=> int(1) } ["path"]=> array(1) { [0]=> string(4) "1234" } ["length"]=> int(1) ["start_time"]=> int(1722054724) }

Note: to be abundantly clear, I made this game for the express purpose of proving I am not stupid. It is not expected to be easy... until you know the "tricks." Visit the GOAP Hub for more hints & information, with varying levels of spoilers.


Image Credits

The door image is a photograph of Holy Trinity Church of Ireland, taken by Olliebailie. Licensed under Creative Commons (CC BY-SA 4.0).


License

The game is copyright (c) 2024 and is licensed under the Speak-to-me License. In order to view the source code, you must send an email to chozorho and receive written authorization. Redistribution is prohibited.

Thank you for showing that you care about pulling the author out of his state of perpetual isolation and loneliness.