GamineAI — AI-Powered Gaming Platform

A modern gaming-focused website built with Reboot CMS, emphasizing AI-driven game development content and tools. The platform focuses on delivering comprehensive guides, tutorials, courses, and resources for AI game development, along with an AI Game Builder tool.

🎮 Overview

GamineAI is a comprehensive platform that combines educational content (70%) with practical AI game development tools (30%). Built on Reboot CMS, a PHP-based flat file CMS, it provides a fast, secure, and scalable foundation for gaming-focused content and developer resources.

Mission: Empower indie developers, hobbyists, and small studios to build AI-powered games through comprehensive educational content and innovative BYOK (Bring Your Own Key) tools.

✨ Key Features

Content Platform (70% Focus)

  • 📝 Blog System: In-depth articles about AI in gaming, neural networks, machine learning, and game development
  • 📚 Guides & Tutorials: Comprehensive step-by-step guides for AI game development (Unity, Godot, Blender, C#)
  • 🎓 Courses: Structured learning paths with lessons and units (W3Schools-style progressive learning)
  • 📦 Resources: Curated resources, tools, and references for developers (50+ resource pages)
  • ❓ Help Center: FAQ and support documentation
  • 🎯 SEO Optimized: Comprehensive SEO with meta tags, structured data, and sitemaps

AI Game Builder (30% Focus)

  • 🛠️ Dashboard: Interactive game builder interface with 3-pane layout (Editor, Preview, Console)
  • 🔑 BYOK (Bring Your Own Key): Support for multiple AI providers (OpenAI, DeepSeek, Anthropic, Custom)
  • ✏️ Prompt Editing: Customizable AI prompts for game generation
  • 👀 Preview & Play: Test games directly in the browser
  • 💾 File Management: Download individual files or bulk download generated games
  • 📤 Export/Import: Save and share projects via JSON
  • 🎨 Game Templates: Pre-built templates for quick game creation
  • 📊 Analytics: Game performance analytics and statistics

Platform Features

  • 🔄 Workflow System: Automated content creation workflows for blog posts, guides, courses, and resources
  • 🎨 Gaming Theme: Dark design with neon accents and modern UI
  • ⚖️ Legal Compliance: Privacy policy, terms of service, cookie consent, and ads disclosure
  • ⚡ Performance: Fast loading, optimized assets, and efficient caching
  • 📱 Responsive Design: Mobile-first approach with gaming aesthetics

🛠️ Technology Stack

  • CMS: Reboot CMS 2.8.2 (PHP-based flat file CMS)
  • PHP: 7.4+ with Composer dependency management
  • Frontend: Vanilla JavaScript ES modules (no frameworks)
  • Styling: Custom CSS with gaming theme, Bootstrap 5
  • Content: Markdown files with YAML frontmatter
  • Blocks: Modular PHP components for dynamic content rendering

Dependencies

  • erusev/parsedown - Markdown parsing
  • symfony/yaml - YAML configuration parsing
  • whitehat101/apr1-md5 - Password hashing

📁 Project Structure

GamineAI/
├── web/                      # Public web root (document root)
│   ├── index.php            # Main entry point
│   ├── assets/              # Public assets
│   │   ├── css/            # Stylesheets
│   │   ├── js/             # JavaScript ES modules
│   │   │   ├── builder/   # Game builder modules
│   │   │   └── *.js       # Core modules
│   │   └── img/            # Images and media
│   ├── favicon.ico
│   ├── robots.txt
│   └── sitemap.xml
├── site/                    # Content and configuration
│   ├── config.yml          # Site configuration (navigation, settings)
│   ├── template.php        # Main template file
│   ├── pages/              # Content pages (markdown)
│   │   ├── index.md       # Homepage
│   │   ├── blog/          # Blog posts (77+ posts)
│   │   │   ├── index.md
│   │   │   └── *.md
│   │   ├── guides/        # Guide chapters
│   │   │   ├── ai-in-game-development/
│   │   │   ├── blender/
│   │   │   ├── godot/
│   │   │   └── unity/
│   │   ├── courses/       # Course lessons (92+ lessons)
│   │   ├── resources/     # Resource listings (50+ resources)
│   │   ├── help/          # Help articles (21+ articles)
│   │   └── *.md           # Other pages
│   ├── blocks/            # Reusable PHP content blocks
│   │   ├── hero.php
│   │   ├── blog-posts.php
│   │   ├── course-content.php
│   │   ├── guide-chapters.php
│   │   └── *.php
│   └── media/             # Content media files
├── core/                   # Reboot CMS core (do not modify)
├── vendor/                 # Composer dependencies
├── local/                  # Local configuration (not committed)
│   ├── config.yml
│   └── .htpasswd
├── workflows/             # Content creation workflows
│   ├── workflows.md       # Workflow registry
│   ├── blog-create.md
│   ├── guide-create.md
│   ├── course-create.md
│   ├── resource-create.md
│   ├── help-create.md
│   ├── builder-implement.md
│   └── integrations-maintain.md
├── instructions/          # Development documentation
│   ├── architecture.md
│   ├── content.md
│   ├── css-structure.md
│   ├── js-modules.md
│   ├── game-builder.md
│   ├── seo-content.md
│   ├── routing-security.md
│   ├── legal-compliance.md
│   └── content-policy.md
├── data/                  # Content planning and metadata
│   ├── blog-plan.md
│   ├── course-plan.md
│   ├── guide-plan.md
│   ├── resource-plan.md
│   └── *.json
├── resources/             # Static HTML resources
├── composer.json          # PHP dependencies
├── CHANGELOG.md          # Version history
├── LICENSE               # MIT License
└── README.md             # This file

🚀 Installation

Requirements

  • PHP: 7.4 or higher
  • Web Server: Apache (with mod_rewrite) or Nginx
  • Composer: For dependency management
  • File Permissions: Write access to content directories

Setup Steps

  1. Clone the repository

    git clone <repository-url>
    cd "Gamine Ai 2026"
  2. Install dependencies

    composer install
  3. Configure web server

    Apache: Point document root to web/ directory and ensure mod_rewrite is enabled.

    Nginx: Configure URL rewriting to point to web/index.php.

    Example Apache .htaccess configuration:

    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php [QSA,L]
  4. Set file permissions

    chmod -R 755 web/
    chmod -R 755 site/
  5. Configure local settings (optional)

    • Copy local/config.yml.example to local/config.yml (if exists)
    • Update site/config.yml with your site settings
    • Configure admin access in local/.htpasswd if needed
  6. Test the installation

    • Visit your domain in a browser
    • Check that pages load correctly
    • Verify routing works (try /blog, /guides, /courses, etc.)

📖 Usage

Content Creation Workflows

The project includes an automated workflow system for content creation. Simply say "go" and the system will:

  1. Read the workflow registry (workflows/workflows.md)
  2. Calculate priority scores for each workflow: Priority Score = Run Count / Weight
  3. Select the workflow with the lowest priority score
  4. Execute the workflow's tasks
  5. Update the run count

Available Workflows:

  • Blog-Create (Weight: 10) - Create and update blog posts
  • Guide-Create (Weight: 10) - Create and update guides/tutorials
  • Course-Create (Weight: 10) - Create and update course lessons
  • Resource-Create (Weight: 5) - Create and update resources
  • Help-Create (Weight: 5) - Create and update help pages
  • Builder-Implement (Weight: 5) - Implement game builder functionality
  • Integrations-Maintain (Weight: 5) - Maintain Google AdSense and Analytics integrations

Manual Content Creation

  1. Create a markdown file in the appropriate directory:

    • Blog posts: site/pages/blog/
    • Guides: site/pages/guides/
    • Courses: site/pages/courses/
    • Resources: site/pages/resources/
    • Help: site/pages/help/
  2. Add YAML frontmatter with metadata:

    ---
    title: Page Title
    description: Page description for SEO
    author: Author Name
    date: 2024-01-15
    category: Category
    tags: [tag1, tag2, tag3]
    ---
  3. Write content using markdown syntax with block comments:

    <!-- hero -->
    
    # Page Title
    
    Page content...
    
    <!-- text -->
    
    ## Section Title
    
    Content sections...
  4. Use block comments (<!-- block-name -->) to trigger PHP blocks for dynamic content

Content Management

Pages

Pages are stored in site/pages/ as Markdown files with YAML frontmatter. Use block comments to trigger PHP blocks for dynamic sections.

Blocks

Blocks are PHP components in site/blocks/ that render dynamic content:

<?php
/** @var \Shaack\Reboot\Block $block */
?>
<section class="block block-custom">
    <div class="container-fluid">
        <h2><?= $block->nodeHtml($block->xpath("//h2")) ?></h2>
        <!-- Block content -->
    </div>
</section>

Site Configuration

Global site settings in site/config.yml:

navbar:
  brand: GamineAI
  structure:
    Blog: /blog
    Guides: /guides
    Courses: /courses
    Resources: /resources
    Dashboard: /dashboard
    Help: /help
    About: /about

🎨 Gaming Theme

Color Palette

:root {
  --gaming-primary: #00d4ff;    /* Neon blue */
  --gaming-secondary: #ff6b35;  /* Orange accent */
  --gaming-accent: #7c3aed;     /* Purple accent */
  --gaming-dark: #0a0a0a;       /* Dark background */
}

Design Principles

  • Dark Theme: Primary dark background with gaming aesthetics
  • Neon Accents: Bright blue and purple highlights
  • Gaming UI: Interactive elements with hover effects
  • Modern Typography: Inter font family for clean readability
  • Responsive Design: Mobile-first approach

🔐 Routing & Security

Routing Rules

Reboot CMS handles routing automatically:

  • /site/pages/index.md
  • /blogsite/pages/blog/index.md
  • /blog/post-namesite/pages/blog/post-name.md
  • /guides/guide-namesite/pages/guides/guide-name.md
  • /courses/course-namesite/pages/courses/course-name.md

Important: When creating pages with sub-content, always use directory structure:

  • /site/pages/blog/index.md + /site/pages/blog/post-1.md
  • /site/pages/blog.md + /site/pages/blog/ directory (conflicts)

Security

  • Folder Protection: Block access to core/, vendor/, local/, instructions/ via .htaccess
  • Directory Listing: Disabled via .htaccess
  • Content Validation: Input sanitization and validation
  • HTTPS: Always use secure connections
  • API Keys: Never stored remotely, only in localStorage (BYOK approach)

📊 SEO & Performance

SEO Features

  • Meta Tags: Title (≤60 chars), description (≤160 chars), canonical URLs
  • Open Graph: Social media sharing optimization
  • JSON-LD: Structured data (Organization, Article, BreadcrumbList)
  • Internal Linking: Each page links to ≥3 relevant pages
  • Sitemap: web/sitemap.xml (referenced from robots.txt)
  • Robots.txt: Blocks system folders

Performance

  • Fast Loading: Optimized CSS and JavaScript
  • Caching: Efficient content caching
  • Images: Optimized gaming screenshots and assets
  • CDN Ready: Compatible with content delivery networks

🧑‍💻 Development Guidelines

Content Creation

  1. Blog Posts: Create in site/pages/blog/ with proper frontmatter
  2. Guides: Create in site/pages/guides/ with chapter structure
  3. Courses: Create in site/pages/courses/ with lesson structure
  4. Resources: Create in site/pages/resources/ with metadata
  5. Pages: Use markdown with block comments for sections
  6. Blocks: Create reusable PHP components for dynamic content

Content Policy

  • Static Only: No database, no user tracking, no dynamic content
  • Text-Only: No video tutorials or AI-generated images
  • Online Resources: Use images from Dribbble or other resources with attribution
  • Original Content: No placeholders or lorem ipsum
  • No Community Features: Focus on content and tools only

Block Development

  • Use XPath to extract content from markdown
  • Implement responsive design with gaming aesthetics
  • Add hover effects and animations
  • Follow gaming theme color palette

JavaScript Modules

  • Use vanilla ES modules only (no frameworks/build tools)
  • Implement gaming-focused interactive elements
  • Add animations and hover effects
  • Support AI Game Builder functionality
  • All modules loaded with type="module"

Code Standards

  • PHP: Follow PSR standards
  • JavaScript: Use ES modules and modern syntax
  • CSS: Use gaming theme variables and utilities
  • Markdown: Proper frontmatter and block structure
  • Documentation: Clear, comprehensive documentation

📚 Documentation

Comprehensive documentation is available in the instructions/ directory:

  • Architecture: instructions/architecture.md - Folder structure and routing
  • Content: instructions/content.md - Content creation guidelines
  • CSS Structure: instructions/css-structure.md - Styling and theme
  • JavaScript: instructions/js-modules.md - Frontend development
  • Game Builder: instructions/game-builder.md - AI Game Builder implementation
  • SEO: instructions/seo-content.md - SEO guidelines
  • Security: instructions/routing-security.md - Security best practices
  • Legal: instructions/legal-compliance.md - Legal requirements
  • Content Policy: instructions/content-policy.md - Content creation rules

🤝 Contributing

Development Workflow

  1. Content Updates: Modify markdown files in site/pages/
  2. Block Development: Create PHP blocks in site/blocks/
  3. Styling: Update CSS with gaming theme
  4. Testing: Test all functionality and responsiveness
  5. Documentation: Update relevant documentation

Before Making Changes

  • Read relevant instruction files in instructions/
  • Follow content policy guidelines
  • Ensure SEO best practices
  • Test routing and security

After Making Changes

  • Update plan.md with new content created
  • Update CHANGELOG.md for significant changes
  • Test all functionality
  • Update documentation if needed
  • Run thumbnail audit before publishing content:
    • python scripts/audit-thumbnails.py
    • The audit fails only for new duplicate thumbnail issues and protects blog/resources listing pages from future repeat-image regressions.

📝 License

This project is built on Reboot CMS and follows the same licensing terms. See the LICENSE file for details.

License: MIT License
Copyright: Copyright (c) 2018 Stefan Haack (https://shaack.com)

📋 Changelog

See CHANGELOG.md for detailed version history and updates.

🆘 Support

For issues, questions, or contributions:

  • Refer to the documentation in the instructions/ directory
  • Check the Help Center at /help
  • Review workflow documentation in workflows/

🔗 Links


GamineAI — Empowering AI game development through comprehensive content and innovative tools.

Built with ❤️ using Reboot CMS