Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
A jam submission

AegisView game page

100% AI-created text adventure game, from ideation to creation
Submitted by pjs507 — 2 hours, 38 minutes before the deadline
Add to collection

Play game

Aegis's itch.io page

Large Language Model system
GPT4

Link to LLM
https://chat.openai.com/

Prompt
Craft an intricate Python text-based adventure game featuring Captain Alex Ryder, commander of the starship 'Aegis', responding to a distress signal from a proximate star system. Here's what you should include: Introduction: Develop a Python function named intro(). This function should utilize print statements to convey the game's initial narrative, incorporating the introduction of Captain Alex Ryder, the spacecraft 'Aegis', and the receipt of a mysterious distress signal. Game State: Instantiate a Python dictionary called game_state. This should encapsulate the player's current location, items they're carrying, and game progression status. Use keys like current_location, inventory, and game_progress for these respective elements. Provide sample initial values for these keys. Game Locations: Craft Python dictionaries to portray at least three unique game settings - possibly including the spaceship, a nearby planet, and an alien craft. Each dictionary should represent a location and should feature keys such as description, items, and characters. Populate these keys with appropriate sample values. Command Parser: Draft a Python function, perhaps titled parse_command(), to convert the player's text input into game actions. This function should handle basic commands like 'go', 'take', 'look', and 'talk'. Make sure the function can interpret these commands in context, e.g., 'go north', 'take key', 'look room', 'talk alien'. Player Actions: Formulate Python functions for possible player actions, including moving between locations (move()), examining the environment (look()), interacting with objects (interact()), and talking with characters (talk()). Each function should manipulate the game_state and game location dictionaries based on the action and provide feedback to the player. Game Progression and Decision Branches: Elucidate how different player actions may alter the narrative course. Show this by writing Python code snippets which represent conditional statements within the player action functions or within a new update_game() function. This code should check the game_state and location dictionaries for certain conditions and change the game flow accordingly. Game Loop: Finally, devise the main game loop, possibly titled game_loop(). This should read player input, use the parse_command() function to translate it into actions, call the relevant player action functions, update the game_state using update_game(), and check if any game end conditions have been met. The objective is to create a fully operational Python text-based adventure game from this single command. Ensure that every aspect of the game is interconnected, facilitating a captivating narrative where the player's choices dynamically mold the storyline and final outcome. Aim to implement clear, efficient code, which makes use of Python's data structures and control flow constructs effectively. Keep in mind that this game should be accessible and enjoyable for players, so prioritize readability and user feedback in your design.

Leave a comment

Log in with itch.io to leave a comment.

Comments

No one has posted a comment yet