Overview
This prompt aims to generate a detailed C code for a complex action game, ensuring clarity and modularity. Game developers and programmers will benefit from the structured requirements and code organization.
Prompt Overview
Purpose: This game aims to provide an engaging and complex action experience for players through diverse gameplay mechanics.
Audience: Targeted towards gamers who enjoy action games with extensive customization and multiplayer features.
Distinctive Feature: The game uniquely combines thousands of levels with customizable teams and extensive inventory options.
Outcome: Players will experience a dynamic gaming environment that evolves with their progress and choices.
Quick Specs
- Media: Text
- Use case: Generation
- Industry: Content & Media Creation, Creative Writing & Storytelling, Inventory Management
- Techniques: Self-Critique / Reflection, Structured Output, Zero-Shot Prompting
- Models: Claude 3.5 Sonnet, Gemini 2.0 Flash, GPT-4o, Llama 3.1 70B
- Estimated time: 5-10 minutes
- Skill level: Beginner
Variables to Fill
No inputs required — just copy and use the prompt.
Example Variables Block
No example values needed for this prompt.
The Prompt
Create comprehensive C code for a complex action game with the following requirements:
**Game Structure:**
– The game consists of 10,000 levels.
– Level 1 contains 4 matches; each subsequent level has 2 additional matches than the previous.
– Difficulty increases progressively with each level.
**User Interaction:**
– On the first game launch, display “Hello” once, then prompt the user to sign up; afterward, the greeting is shown each subsequent time.
**Match Details:**
– Each match features teams of 4 to 12 players; players can customize team size.
**Home Page Features:**
– A left-side “Shop” button at the bottom offering purchasable items:
– Characters, weapons, pets, shields, glue-walls, flying-boards, chemoflash-moods, teleportation — requiring 250+ diamonds or 5000+ gold coins.
– 500+ characters with high-quality graphics (first two characters free: one male, one female).
– Character customization accessible by clicking the character on the home page.
– Inventory includes:
– 5000+ guns, machine guns, sniper rifles
– 200+ swords and knives
– 50+ sticks and spears
– 100+ grenades and missile launchers
– 300+ animals (crocodiles, tigers, lions, cats, dogs) and birds (phoenix, fire-phoenix, eagle, hawk) as pets (smallest 1.5 feet tall).
– 100+ shields and glue-walls
– 100+ flying-boards
– Settings option at the top right of the home page.
– Player description displayed between Settings and Play button at the bottom.
– Clicking Play starts the game.
**Gameplay Mechanics:**
– A plane transports players who then jump with parachutes.
– Players collect weapons after landing.
– Two teams battle; winning team members earn 500 gold and 5 diamonds, with rewards increasing with level.
– Player profile with diamonds and gold coin counts shown on the left.
– Control panel includes:
– Flying board option (right side) for flying.
– Help option for teammates to heal injured players.
– Central fire (one shot) button.
– Shield and glue-wall option (left of fire).
– Grenade (right of fire) and missile launcher option (right of grenade).
– Large round button at the bottom for cycling through weapons.
– Small teleportation button at the bottom left.
– Mini-map shows red dots for teammates, blue dots for enemies.
– Running, jumping, camouflage modes below the mini-map.
– Joystick for movement directions.
– Control panel customizable via Settings.
**Maps:**
– Includes maps of all countries and cities worldwide.
– Palestine map is free and used in the first matches.
– Players can select cities, each city includes 10 matches.
– Maps cost between 10,000 to 50,000 diamonds to unlock.
– Each city name labeled with its country.
**Offline Play:**
– Allows matches against AI.
**Diamond Purchase Options:**
– 10 diamonds for $1
– 50 diamonds for $5
– 100 diamonds for $9
– 250 diamonds for $15
**Communication:**
– Teammates can communicate via voice chat during matches.
**Code Requirements:**
Deliver well-organized, modular C source code that implements the described game mechanics, user interface, and features.
– Include comments explaining key components and logic.
– Assume access to standard C libraries and common game development frameworks if necessary.
– Prioritize clarity, extensibility, and performance.
Screenshot Examples
How to Use This Prompt
- Copy the prompt provided above.
- Open your preferred code editor or IDE.
- Create a new C source file.
- Paste the copied prompt into the file.
- Use the prompt to guide your coding process.
- Test and refine the code as needed.
Tips for Best Results
- Start Small: Begin with a basic game loop and gradually add features to avoid overwhelm.
- Modular Design: Break down the game into manageable modules (e.g., player, match, inventory) for easier debugging and updates.
- Optimize Performance: Use efficient data structures and algorithms to handle the large number of levels and matches smoothly.
- Comment Your Code: Maintain clear documentation within your code to explain logic and functionality for future reference and collaboration.
FAQ
- What is the maximum number of matches in the game?
The maximum number of matches in the game is 10,000 levels with increasing matches. - How many characters are available in the game?
There are over 500 characters available, with the first two being free. - What is the purpose of the shop button?
The shop button allows players to purchase items using diamonds or gold coins. - Can players customize their control panel?
Yes, players can customize their control panel through the settings option.
Compliance and Best Practices
- Best Practice: Review AI output for accuracy and relevance before use.
- Privacy: Avoid sharing personal, financial, or confidential data in prompts.
- Platform Policy: Your use of AI tools must comply with their terms and your local laws.
Revision History
- Version 1.0 (February 2026): Initial release.


