Skip to content

Anko59/gptlife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mysterious Mansion Game

This project is a text-based game called Mysterious Mansion, built in Python. It's a part of the gptlife package, which is a collection of games and utilities.

Project Structure

The project is structured as follows:

  • gptlife/: The main package directory.
    • agents/: Contains classes related to game agents, including their personalities.
    • games/: Contains the main game logic and specific game implementations.
      • mystery_mansion/: Contains the specific implementation for the Mysterious Mansion game.
  • setup.py: The setup script for the package.
  • .gitignore: Specifies which files and directories to ignore in git.
  • .pre-commit-config.yaml: Configuration for pre-commit hooks.

Key Files

  • gptlife/agents/agent.py: Defines the base agent class.
  • gptlife/agents/personality.py: Defines the personality of agents.
  • gptlife/games/game.py: Defines the abstract game class.
  • gptlife/games/mystery_mansion/mystery_mansion.py: The main game file for Mysterious Mansion.

How to Run

To run the game, execute the main.py file in the gptlife directory.

python gptlife/main.py

Contributing

Contributions are welcome! Please read the contributing guidelines before making any changes.

License

This project is licensed under the terms of the MIT license.

About

Llms playing role games

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages