Simulation Project Python .cursorrules prompt file
About .cursorrules prompt file
What you can build
- Village Simulation App: Create an interactive application where users can watch the simulated village life and optionally receive text-based updates on events happening in the simulation.
- Educational Tool for Learning Python: Develop a teaching app that uses the village simulation project as a case study to instruct users on how Python classes, functions, and modular code can be effectively used to model complex systems.
- AI-driven Simulation Complexity: Design a service that allows users to integrate AI algorithms into the village simulation, experimenting with how AI might affect the villagers' behaviors and environment interactions.
- Customizable Village Simulator: Build a platform where users can customize their own village simulations by adding different characters, buildings, and environmental factors, while observing how their changes impact the simulation.
- Web-based Simulation Viewer: Develop a web application that allows users to run and view the simulation in their browser, providing an easy-sharing feature for users to showcase their customized village simulations online.
- Simulation Debugging Tool: Create a tool for developers to test and debug village simulations by pausing mid-simulation to inspect or modify state variables, making it easier to locate logical errors in the simulation logic.
- Storytelling With Simulations: Design a platform where writers can leverage the village simulation to generate unique narratives or scenarios, enhancing creative projects by adding layers of interactive storytelling.
- Performance Analyzer for Simulations: Develop a service that benchmarks various simulation performance metrics such as processing time and memory usage, offering suggestions on optimizing the Python code for better efficiency.
- Village Historical Data Mapper: Create a tool that allows users to map and visualize the entire history or timeline of the village simulation, analyzing key events and how they influence overall village development.
- Documentation and Codebase Insights Generator: Design an app that analyzes the village simulation codebase to generate in-depth insights, documentation, and even beginner-friendly explanations to help new developers understand the code structure.
Benefits
- Simulation progression is user-controlled, advancing only upon pressing enter, requiring precise synchronization techniques.
- Modular design mandates class and function separation for villages, entities, ensuring code scalability and flexibility.
- Emphasis on readability, performance, and thorough testing promotes maintainability and user-friendly development.
Synopsis
This prompt would benefit simulation developers creating a modular, user-observable village simulation in Python with a focus on class-based architecture and efficient code documentation.
Overview of .cursorrules prompt
The .cursorrules file outlines the foundational guidelines for a Python-based simulation project. The project simulates a village where users can observe villager interactions and environmental dynamics, with progression controlled by the user pressing enter. It specifies the implementation should be structured with a focus on modularity, documentation, and performance optimization. The simulation is to be executed via a `main.py` file, with design allowing ease of maintenance and code expansion. The developers have the flexibility to use any libraries, design patterns, or programming paradigms they find suitable, and must document changes in the `README.md` file.