A comprehensive collection of game development projects demonstrating various game engines, frameworks, and platforms, built with AI-assisted development tools.
This directory contains game projects built with popular game engines (Unity, Godot, Unreal Engine) and web/desktop frameworks (Phaser.js, Pygame, LÖVE). Each project showcases game development patterns, physics systems, graphics rendering, and player interaction mechanics.
Browser-based games using HTML5 Canvas and JavaScript game engines.
Projects:
snake-game- Classic snake game with Phaser.jsspace-shooter- Top-down space shooterbreakout-game- Brick breaker arcade gameflappy-bird- Side-scrolling endless runner
Key Features:
- HTML5 Canvas rendering
- WebGL acceleration
- Browser compatibility
- Touch and keyboard controls
- Score tracking and leaderboards
- Sprite animations
- Collision detection
- Particle effects
Technologies:
- Phaser.js - HTML5 game framework
- PixiJS - 2D rendering engine
- Three.js - 3D graphics library
- Babylon.js - 3D game engine
- Matter.js - 2D physics engine
- Howler.js - Audio library
Mobile games for iOS and Android platforms.
Projects:
- Casual puzzle games
- Endless runners
- Match-3 games
- Physics-based games
Key Features:
- Touch controls and gestures
- Accelerometer integration
- In-app purchases
- Advertisement integration
- Cloud save functionality
- Social features
- Achievement systems
- Leaderboards
Technologies:
- Unity with mobile export
- Godot mobile builds
- React Native games
- Flutter Flame engine
Native desktop games for Windows, macOS, and Linux.
Projects:
pong-pygame- Classic Pong game with Pygamesnake-pygame- Snake game in Pythonbreakout-love2d- Breakout game with LÖVEsokoban-electron- Puzzle game with Electron
Key Features:
- Native performance
- Keyboard and mouse controls
- Gamepad support
- Save/load game states
- Settings configuration
- Fullscreen mode
- Cross-platform compatibility
Technologies:
- Pygame - Python game library
- LÖVE - Lua game framework
- Electron - Cross-platform desktop apps
- SDL - Simple DirectMedia Layer
- MonoGame - C# game framework
- Godot - Game engine with desktop export
Professional game development using major game engines.
Projects:
unity-platformer-2d- 2D platformer with Unitygodot-dodge-game- Dodge game with Godotgodot-roguelike-2d- Roguelike dungeon crawlerunreal-fps-3d- First-person shooter with Unreal Engine
Key Features:
- Professional-grade graphics
- Advanced physics systems
- Complex AI behaviors
- Visual scripting
- Asset management
- Animation systems
- Lighting and shadows
- Post-processing effects
- Multiplayer networking
- C# scripting
- 2D and 3D capabilities
- Asset store integration
- Cross-platform deployment
- Physics engine
- Animation system
- UI toolkit
- GDScript/C#/C++ support
- Open-source engine
- Scene system
- Node-based architecture
- Built-in animation
- Shader language
- Lightweight builds
- Blueprint visual scripting
- C++ programming
- Photorealistic graphics
- Advanced materials
- Nanite geometry
- Lumen lighting
- MetaHuman integration
- Unity Editor - Game development environment
- C# - Primary scripting language
- Unity Asset Store - Pre-made assets
- Unity ML-Agents - Machine learning integration
- Unity Netcode - Multiplayer networking
- TextMesh Pro - Advanced text rendering
- Cinemachine - Camera systems
- Shader Graph - Visual shader creation
- Godot Engine - Open-source game engine
- GDScript - Python-like scripting
- VisualScript - Node-based scripting
- C#/.NET - Alternative scripting
- C++/GDNative - Native performance
- 2D/3D Engines - Separate optimized engines
- Animation System - Built-in animation tools
- Godot Shading Language - Custom shaders
- Unreal Editor - Development environment
- Blueprint - Visual scripting system
- C++ - Core programming language
- Niagara - VFX system
- Chaos - Physics simulation
- MetaSounds - Audio engine
- Sequencer - Cinematic tool
- Marketplace - Asset marketplace
- WebGL/Canvas - Rendering options
- Arcade Physics - Built-in physics
- Sprite System - 2D graphics
- Input Management - Keyboard, mouse, touch
- Audio - Sound and music
- Tilemaps - Map creation
- Animations - Sprite animations
- Plugins - Extensible architecture
- WebGL - 3D graphics
- Scene Graph - Object hierarchy
- Materials & Shaders - Visual effects
- Lighting - Dynamic lights
- Cameras - Perspective/orthographic
- Loaders - 3D model formats
- Post-processing - Visual effects
- VR Support - WebXR integration
- Python - Programming language
- SDL - Multimedia library
- Sprite Management - 2D graphics
- Sound Mixer - Audio playback
- Event System - Input handling
- Draw Module - Primitive shapes
- Transform - Scaling, rotation
- Surface - Image handling
- Lua - Scripting language
- Graphics - 2D rendering
- Audio - Sound system
- Physics - Box2D integration
- Filesystem - File I/O
- Joystick - Gamepad support
- Particle System - Effects
- Cross-platform - Windows, macOS, Linux
- Box2D - 2D physics
- Bullet Physics - 3D physics
- Matter.js - Web-based 2D physics
- Cannon.js - Web-based 3D physics
- PhysX - NVIDIA physics engine
- Havok - Professional physics
- OpenGL - Graphics API
- DirectX - Microsoft graphics API
- Vulkan - Modern graphics API
- Metal - Apple graphics API
- WebGL - Browser 3D graphics
- Shader Languages - GLSL, HLSL, Cg
# Download Unity Hub
# https://unity.com/download
# Install Unity Editor (recommended LTS version)
# Select platforms: Windows, macOS, Android, iOS, WebGL
# Visual Studio or Rider for C# development# Download Godot Engine
# https://godotengine.org/download
# Extract and run (no installation needed)
# Supports Windows, macOS, Linux
# Optional: VS Code with Godot extension# Install Epic Games Launcher
# https://www.unrealengine.com/download
# Install Unreal Engine (latest version)
# Visual Studio with C++ development tools
# Minimum 8GB RAM, 100GB+ storage recommended# Node.js (v18 or higher)
node --version
# Package manager
npm install -g pnpm# Python 3.8+
python --version
# Install Pygame
pip install pygame# Download LÖVE framework
# https://love2d.org/
# Install for your platform
# Run games with: love game_directory/# Open Unity Hub
# Click "Open" and select project directory
# Unity will import and compile
# Or use command line
# /path/to/Unity -projectPath /path/to/project# Open Godot Engine
# Click "Import" and select project.godot file
# Project opens automatically
# Or use command line
# godot -e project.godot# Right-click .uproject file
# Select "Generate Visual Studio project files"
# Open .sln file in Visual Studio
# Build and run from Visual Studiocd games/web-games/<project-name>
# Install dependencies
pnpm install
# Start development server
pnpm dev
# Build for production
pnpm buildcd games/desktop-games/<project-name>
# Install requirements
pip install -r requirements.txt
# Run game
python main.pycd games/desktop-games/<project-name>
# Run with LÖVE
love .
# Or create executable
# Package contents into .love file// JavaScript (Phaser.js)
class GameScene extends Phaser.Scene {
create() {
// Initialize game objects
}
update(time, delta) {
// Update game state each frame
this.handleInput();
this.updatePhysics(delta);
this.checkCollisions();
}
}// Unity C#
public class PlayerController : MonoBehaviour {
[SerializeField] private float speed = 5f;
private Rigidbody2D rb;
void Start() {
rb = GetComponent<Rigidbody2D>();
}
void Update() {
float move = Input.GetAxis("Horizontal");
rb.velocity = new Vector2(move * speed, rb.velocity.y);
}
}# Godot GDScript
extends KinematicBody2D
enum State { IDLE, WALK, JUMP, FALL }
var current_state = State.IDLE
func _physics_process(delta):
match current_state:
State.IDLE:
handle_idle()
State.WALK:
handle_walk()
State.JUMP:
handle_jump()
State.FALL:
handle_fall()# Pygame Python
class BulletPool:
def __init__(self, size):
self.pool = [Bullet() for _ in range(size)]
self.available = self.pool.copy()
def get_bullet(self):
if self.available:
bullet = self.available.pop()
bullet.active = True
return bullet
return None
def return_bullet(self, bullet):
bullet.active = False
self.available.append(bullet)-- LÖVE Lua
function checkCollision(a, b)
return a.x < b.x + b.width and
a.x + a.width > b.x and
a.y < b.y + b.height and
a.y + a.height > b.y
end
function love.update(dt)
if checkCollision(player, enemy) then
handleCollision()
end
end// Unity C#
using UnityEngine.SceneManagement;
public class GameManager : MonoBehaviour {
public void LoadLevel(string sceneName) {
SceneManager.LoadScene(sceneName);
}
public void RestartLevel() {
SceneManager.LoadScene(SceneManager.GetActiveScene().name);
}
}// Phaser.js
class AudioManager {
constructor(scene) {
this.bgMusic = scene.sound.add('background', { loop: true });
this.sfx = {
jump: scene.sound.add('jump'),
coin: scene.sound.add('coin'),
hurt: scene.sound.add('hurt')
};
}
playMusic() {
this.bgMusic.play();
}
playSFX(name) {
this.sfx[name].play();
}
}-
GitHub Copilot
- Game logic implementation
- Boilerplate code generation
- Algorithm suggestions
-
Claude Code
- Architecture design
- Bug fixing
- Performance optimization
-
ChatGPT
- Game design brainstorming
- Level design ideas
- Balancing suggestions
- Shader code generation
-
AI for Game Assets
- Midjourney/DALL-E - Game art concepts
- ElevenLabs - Voice acting
- Suno/Udio - Game music
-
Concept Phase
- AI brainstorming for game mechanics
- Genre analysis and inspiration
- Story and character development
-
Design Phase
- Level design suggestions
- UI/UX layout ideas
- Game balancing algorithms
-
Development Phase
- AI-assisted code generation
- Physics implementation
- AI behavior trees
-
Polish Phase
- Performance optimization
- Bug identification
- Shader effects
- Start with a clear core mechanic
- Prototype early and iterate
- Playtest frequently
- Balance challenge and fun
- Provide clear feedback to players
- Design for your target platform
- Optimize draw calls and batching
- Use object pooling for frequent spawns
- Implement level of detail (LOD)
- Profile regularly to find bottlenecks
- Minimize garbage collection
- Use appropriate data structures
- Follow SOLID principles
- Use design patterns appropriately
- Keep game loop efficient
- Separate concerns (MVC pattern)
- Write modular, reusable code
- Comment complex algorithms
- Organize assets in clear folder structure
- Use appropriate texture sizes
- Compress audio files
- Optimize 3D models (polygon count)
- Use texture atlases
- Implement asset streaming
- Smooth, responsive controls
- Clear visual and audio feedback
- Intuitive UI/UX
- Proper difficulty curve
- Save systems and checkpoints
- Accessibility options
# Unity
# Use Unity Test Framework
# Window > General > Test Runner
# Godot
# Use GUT (Godot Unit Testing)
# Run from editor or command line- Internal team testing
- Alpha/beta testing
- User feedback collection
- Analytics integration
- Bug tracking systems
- Performance metrics
# Phaser.js - Deploy to web hosting
pnpm build
# Upload dist/ to hosting service
# itch.io, Newgrounds, Kongregate# Unity - Build executables
# File > Build Settings > Build
# Godot - Export project
# Project > Export > Add Preset
# Steam, itch.io, GOG# Unity/Godot - Build for mobile
# Configure for iOS/Android
# App Store / Google PlayContributions are welcome! Please see the main CONTRIBUTING.md for guidelines.
- Choose appropriate directory (web/mobile/desktop/engine)
- Implement core game loop
- Add comprehensive README with controls and instructions
- Include assets or asset sources
- Write tests if applicable
- Update this README
- Unity Documentation
- Godot Documentation
- Unreal Engine Documentation
- Phaser.js Documentation
- Pygame Documentation
- LÖVE Documentation
- Unity Learn - Official Unity tutorials
- Godot Tutorials
- Unreal Online Learning
- Game Programming Patterns
- Gamasutra - Game development articles
- GDC Vault - Game Developer Conference talks
- OpenGameArt - Free game assets
- itch.io - Game assets marketplace
- Kenney.nl - Free game assets
- Freesound - Sound effects
- Incompetech - Royalty-free music
- Blender - 3D modeling
- Aseprite - Pixel art editor
- Tiled - Tilemap editor
- Unity Forums
- Godot Community
- Unreal Forums
- r/gamedev - Reddit community
- Discord servers - Various game dev communities
- TIGSource - Independent game development
All projects in this directory are licensed under the MIT License - see the LICENSE file for details.
Asset licenses may vary - check individual project READMEs for details.
- Web Apps - Web application projects
- Mobile Apps - Mobile application projects
- XR Immersive - VR/AR projects
- Multimedia Apps - Media applications
Note: All projects are for educational and demonstration purposes. Some games may use third-party assets - always check licensing before commercial use.
Last updated: 2025-12-31