ASCII Terminal Game Rockman .cursorrules prompt file
About .cursorrules prompt file
What you can build
Terminal Game Development Platform: Create a tool that allows users to design and program ASCII-based terminal games with ease, providing templates and modules to handle input, rendering, and game logic similarly to the Rockman game structure.
Online ASCII Game Repository: Develop a website where users can upload, share, and play ASCII-based terminal games, with features for rating, commenting, and downloading source code. This platform could host games like Rockman and foster a community around terminal gaming.
ASCII Game Engine Library: Build a software library that provides ready-to-use components for creating terminal games, including input handling, collision detection, and ASCII rendering. This library would help developers quickly prototype games like Rockman.
Real-time ASCII Coding Contest Platform: Design an online platform where developers can participate in real-time coding contests focused on creating or enhancing terminal games such as Rockman. The site would offer leaderboards and timed challenges to engage users.
Educational Game Programming Course: Offer an online course that teaches game design and programming through the creation of ASCII-based games, using Rockman as a primary project. The course could cover object-oriented programming, game loops, and performance optimization.
Cross-Platform Terminal Game Emulator: Create a tool that enables ASCII-based terminal games like Rockman to run across various platforms (Linux, Windows, macOS) with consistent behavior and performance, ensuring a wider audience can access these games.
ASCII Game Art Generator: Develop an app that allows users to design ASCII artwork easily with drag-and-drop features, which can be used in terminal games for characters, enemies, and UI elements.
Rockman Power-Up Plugin System: Implement a plugin system specifically for the Rockman game, allowing developers to create and share their custom power-ups or modifications, enhancing replayability and community engagement.
Terminal Game Balance Analyzer: Offer a tool that analyzes ASCII-based games for balance issues, offering insights into difficulty curves, spawn rates, and player progression indicators, perfect for iterating on the dynamic difficulty system of Rockman.
Interactive Rockman Development Workshop: Host an interactive workshop where participants collaboratively build on the Rockman game, introducing new features and challenges while learning best practices in a live coding environment.
Benefits
- Utilize efficient rendering techniques for flicker-free ASCII display to enhance user experience and performance.
- Implement a dynamic difficulty system and responsive controls to maintain a challenging and engaging gameplay.
- Employ object-oriented programming and design patterns, ensuring clear class hierarchies and maintainable code.
Synopsis
Developers can build a terminal-based game with object-oriented design and responsive mechanics using this prompt.
Overview of .cursorrules prompt
The .cursorrules file outlines the development of an ASCII-based terminal game called Rockman. The game involves Rockman ('X') moving horizontally to avoid falling rocks ('o'). It specifies key game mechanics such as responsive controls, dynamic difficulty, collision detection, and a scoring system. The file emphasizes using object-oriented programming and maintaining a robust game loop. It also advocates for efficient rendering, performance optimization, and implementing comprehensive error handling. Optional features include configurable difficulty levels and power-ups. Finally, it underscores the importance of unit testing and playtesting to ensure a balanced and enjoyable gaming experience while adhering to software engineering best practices.