Fun and Games

Interactive games I've developed using various AI models to showcase different models' capabilities and creativity

Project Overview

This collection showcases four distinct games developed in collaboration with different AI models, demonstrating the unique strengths and coding styles of each AI assistant. From modern Space Invaders implementations to educational typing games, each project explores different aspects of web-based game development, visual design, and user interaction.

Gaming Setup

Featured Games

Cosmic Invaders 3D - Extreme Edition (Claude Sonnet 4.5)

Cosmic Invaders 3D Extreme Edition Screenshot

🌟 COSMIC INVADERS 3D 🌟

Screenshot Coming Soon!

Play the game to see the amazing 3D perspective rendering, boss battles, and explosive particle effects in action!

▶ PLAY NOW

An absolutely wild and mind-blowing Space Invaders experience developed with the cutting-edge Claude Sonnet 4.5 AI model. This game pushes the boundaries with a 3D perspective rendering engine, dynamic camera system with screen shake, epic boss battles every 5th wave, and a stunning cyberpunk neon aesthetic. Features include multiple weapon systems (Plasma, Laser, Special 360° attack), diverse enemy types with unique behaviors (Basic, Fast, Tank, Shooter), power-ups (Shield, Multishot, Rapid Fire, Laser, Health), an advanced combo system with up to 5x multipliers, achievement tracking, and explosive particle effects throughout. The game includes multi-phase boss battles where bosses evolve their attack patterns as they take damage, animated starfield backgrounds with parallax scrolling at multiple speeds, glassmorphism UI design, heat management for weapons, invulnerability frames after taking damage, wave progression with increasing difficulty, high score persistence, and smooth animations everywhere. Built with professional-grade ES6 class architecture featuring Camera, ParticleSystem, ComboSystem, and AchievementSystem classes.

🌟 Play Now - EXTREME!

Space Invaders - Modern Edition (Qwen3)

Space Invaders Modern Edition Screenshot

A sleek, modern take on the classic Space Invaders game developed with assistance from Qwen3 AI model. This HTML5 Canvas implementation features smooth animations, particle effects, progressive difficulty, and a clean modern UI with score tracking and lives display.

🎮 Play Now

Neon Invaders (Kimi K2)

Neon Invaders by Kimi K2 Screenshot

A stunning neon-styled Space Invaders game developed with Kimi K2 AI model. This advanced JavaScript implementation features spectacular visual effects, multiple enemy types, power-up systems, combo mechanics, wave progression, and high score tracking. The game includes modular ES6 classes and sophisticated particle systems.

✨ Play Now

Neon Invaders (Horizon Alpha)

Neon Invaders by Horizon Alpha Screenshot

An elegant, polished Space Invaders game developed with the mysterious Horizon Alpha AI model. This implementation showcases premium design with glassmorphism UI effects, smooth animations, accessibility features, touch controls for mobile, and reduced motion options. Features wave-based progression and sophisticated visual design.

🚀 Play Now

Fallande Bokstäver (Claude Sonnet 3.7)

Fallande Bokstäver Screenshot

An educational Swedish typing game developed with Claude Sonnet 3.7 AI model. This retro-styled mobile game features falling Swedish letters that players must type before they reach the bottom. The game includes animated starfield backgrounds, neon styling with Press Start 2P font, and is optimized for mobile devices with touch-friendly controls.

📝 Spela Nu

Technology Stack

JavaScript ES6+
HTML5 Canvas
CSS3 Animations
Glassmorphism UI
3D Perspective Rendering
Mobile Touch Controls
Qwen3 AI
Kimi K2 AI
Horizon Alpha AI
Claude Sonnet 3.7 AI
Claude Sonnet 4.5 AI
Roo Code
Object-Oriented Programming
Game Development
Advanced Particle Systems
Dynamic Camera Systems
Boss Battle Mechanics
Combo Systems
Achievement Tracking
Responsive Design
Accessibility Features

Game Features Comparison

Feature Modern (Qwen3) Neon (Kimi K2) Neon (Horizon) Cosmic 3D (Sonnet 4.5) Fallande (Sonnet 3.7)
Platform JS/Canvas JS/Canvas JS/Canvas JS/Canvas 3D HTML/CSS/JS
Graphics Modern UI, particles Neon glow, advanced particles Glassmorphism, premium 3D perspective, cyberpunk neon, parallax stars Retro neon, starfield
Enemy Types Formation-based 4 types Wave-based 4 types + 3 Boss types Swedish letters
Boss Battles None None None Yes - Multi-phase (every 5th wave) None
Power-ups None 4 types None 5 types (Shield, Multi, Rapid, Laser, Health) None
Weapon Systems Single Standard Standard Plasma, Laser, Special 360° attack Typing-based
Special Features Progressive difficulty Combo system, high scores Touch, accessibility Combo 5x, Achievements, Camera shake, Heat system Swedish typing
Complexity Medium Very High High EXTREME Medium
Innovation Clean implementation Advanced effects Premium UX 3D rendering, Boss AI, Dynamic camera Educational focus
Code Quality Clean ES6 Modular ES6 Professional Professional ES6 (Camera, Particles, Combo, Achievement systems) Inline styling

Development Process

Each game was developed through a collaborative process with the respective AI models, with additional project coordination and documentation managed using Roo code:

Cosmic Invaders 3D - Claude Sonnet 4.5 Development

The Cosmic Invaders 3D game was built using the latest Claude Sonnet 4.5 AI model with a challenge to create something "wild" that would push beyond the existing implementations. The development process showcased the advanced capabilities of Claude Sonnet 4.5:

  • Initial Analysis: Claude examined three existing Space Invader implementations to understand the baseline features and quality
  • Ambitious Architecture: Designed a comprehensive system with Camera, ParticleSystem, ComboSystem, and AchievementSystem classes from the ground up
  • 3D Rendering Engine: Implemented a custom 3D perspective system with z-depth sorting, scale, and alpha calculations for realistic depth
  • Boss Battle AI: Created multi-phase bosses with evolving attack patterns (spread shot, spiral, aimed barrage) that change based on remaining health
  • Dynamic Visual Effects: Built advanced particle systems, camera shake with intensity control, parallax starfield backgrounds, and glassmorphism UI
  • Iterative Bug Fixing: Collaboratively identified and fixed issues including bullet trajectory corrections and wave spawning logic
  • Polish and Enhancement: Added moving colorful starfield backgrounds based on user feedback for a more dynamic experience
  • Professional Code Quality: Generated clean ES6+ code with proper class hierarchies, state management, and modular architecture

Roo Code Prompt Used

For guiding the visual and UX polish of the Space Invaders implementations, the following Roo code prompt was used: Design an aesthetically pleasing and visually enhanced version of the classic Space Invaders game with modern graphics, smooth animations, vibrant color schemes, intuitive controls, responsive gameplay mechanics, engaging visual feedback for player actions, polished user interface elements.

General Development Workflow

  • Initial concept and design discussions with the AI
  • Iterative code generation and refinement
  • Testing and debugging with AI assistance
  • Feature expansion based on AI suggestions
  • Code optimization and performance improvements
  • Project documentation and website integration with Roo code assistance

Key Learnings

Through this project, several valuable insights were gained about AI-assisted game development:

  • Different AI models have distinct strengths and coding styles - Claude Sonnet 4.5 demonstrated exceptional architectural planning and system design
  • AI can rapidly generate functional code but requires human guidance for creative direction
  • Iterative refinement with AI leads to significant improvements in code quality
  • AI models can suggest innovative features that might not be immediately obvious
  • Combining multiple AI approaches can result in more robust solutions
  • Latest AI models like Claude Sonnet 4.5 can handle complex multi-file projects with advanced features like 3D rendering, boss AI, and sophisticated game systems
  • Real-time collaboration with AI for debugging (bullet trajectories, wave spawning) is highly effective
  • AI can respond to open-ended challenges ("make it wild") with creative and technically impressive solutions

Future Enhancements

Planned improvements for this project include:

  • Adding multiplayer capabilities to the games
  • Implementing a high score system with online leaderboards
  • Creating a unified launcher for all games
  • Adding sound effects and background music
  • Developing mobile versions of the games
  • Expanding with more game concepts using additional AI models