Build a Dinosaur Game and Email System with AI
Job to be done: Use AI to build a dinosaur jumping game and set up an email labeling system.
🇳🇬 Ways to use this in Nigeria
Ideas to get you started, adapt to your situation.
- Small business
Automatically label incoming WhatsApp order confirmations as 'New Orders' and move supplier invoices to an 'Accounts Payable' folder in Gmail.
- 9-5 employee
Set up an AI system to automatically label emails from your project manager as 'Urgent Project' and archive all internal meeting minutes after a week.
- Student
Generate Python code for a simple educational game to explain basic physics concepts for your CSC101 assignment.
What you’ll get
You will learn how to use an AI tool to generate code for a simple dinosaur jumping game and how to set up an AI-powered system for automatically labeling and archiving your emails in Gmail. This approach leverages AI’s ability to understand instructions and generate code or automate tasks, making complex projects more accessible.
Tools you need
- Codex App (paid): An AI tool that can understand natural language and generate code or automate tasks.
- Gmail (free): An email service that will be used for the email labeling system.
Steps
-
Initiate the game building process: Open the Codex app and start a new chat. The author does not specify the exact prompt used, but a good starting point would be to clearly state your intention to build a game.
I want to build a simple dinosaur jumping game. Can you help me with the code?You should see the AI begin to generate code or ask clarifying questions about the game’s mechanics.
-
Refine game features: Based on the AI’s initial response, provide further instructions to shape the game. The author mentions building a game for children, so you might want to specify simplicity.
Make it a very simple game, suitable for kids, with basic controls.The AI should provide more detailed code or suggest specific features.
-
Set up the email labeling system: In a new chat or by clearly separating the task, instruct the AI to help with your Gmail. The author mentions setting up a system to understand how to label and archive emails.
I need to set up a system to automatically label and archive my emails in Gmail. How can I do this?
You should receive guidance on how to configure rules or use AI to process your emails. 4. Configure email automation: Follow the AI’s suggestions to implement the email labeling and archiving. This might involve setting up filters or using specific AI features if the tool supports direct integration.
Provide the steps or script to automatically label emails from [sender type] as [label name] and archive them.
The AI should provide specific instructions or code snippets for your Gmail account.
Original source
This workflow is based on insights shared by Ben’s Bites on their blog, posted on April 30, 2026. The author, Ben, discusses how AI tools are changing their workflow, specifically mentioning the use of the Codex app for building a dinosaur game and automating email tasks.
Notes & variations
- Free tier alternative: While Codex is a paid tool, other AI coding assistants like GitHub Copilot (paid) or free tiers of general-purpose AI chatbots (like ChatGPT, Claude, or Gemini) can be used to generate code for simple games or provide guidance on email automation, though they may require more manual integration.
- Common pitfall: Ensure you are clear and specific in your prompts. Vague requests will lead to generic or unhelpful AI responses. For the game, specify the platform (e.g., web browser) and basic mechanics. For email, specify sender types, keywords, and desired labels.
- Tip for better results: Break down complex tasks into smaller, manageable steps. Instead of asking the AI to build the entire game at once, ask for specific components like the player character, movement, or collision detection. Similarly, for email automation, start with one type of email and one label before expanding.