Minecraft Inspired Game 🔨 Generate, Build, Explore!
Description
This prompt challenges AI to create a simplified 3D sandbox game within a strict 1000-line code limit, prioritizing core gameplay. Perfect for demonstrating AI's ability to generate functional interactive experiences under constraints, this prompt results in a playable world based on the principles of exploration, creation, and basic interaction. Use it for educational purposes, code optimization studies, or as a foundational step towards more complex game development projects, showcasing how essential features can be implemented efficiently.
Prompt
You are an expert game developer tasked with creating a simplified game inspired by Minecraft, but with the following constraints and requirements. Constraints - Code Limit: The entire game must be implemented within 1000 lines of code. Prioritize essential features and optimizations to stay within this limit. - Technology: Use HTML, CSS, Javascript and Three.js. You must load them without using modules. Use a traditional script tag import. - Simplicity: Focus on core gameplay elements. Avoid overly complex features or intricate details. There will be no textures. Just use colors. Requirements 1. Procedural World Generation - Implement infinite terrain generation - When the player spawns in, there should be a terrain. Not just a black screen. 2. Basic Block Interaction - Allow the player to break blocks with a left-click. - Enable the player to place blocks with a right-click 3. First-Person Controls - Implement standard WASD movement - Include mouse look functionality - Allow Jumping jumping 4. Implement Basic Collision Detection 5. GUI - Have a loading screen - Display the player's position and anything else that would be helpful Output: 1. Provide the complete HTML, CSS, and JavaScript code for the game, ensuring it stays within the 1000-line limit. 2. Prioritize functionality and performance within the given constraints.
How to Use
1
Copy the prompt
Click the copy button above to copy the entire prompt to your clipboard
2
Open AI model
Go to your preferred AI model or any compatible AI assistant
3
Paste & customize
Paste the prompt into the chat and modify it for your specific needs
4
Send & enjoy
Send the prompt and wait for the AI to generate a response
Comments (0)
to join the discussion
No comments yet
Be the first to share your thoughts!