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 phone available to you (for added difficulty, assume you have no paper and pencil either). 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(3) { ["visited"]=> array(1) { [1234]=> int(1) } ["path"]=> array(1) { [0]=> string(4) "1234" } ["length"]=> int(1) }

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.