Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

Build a Game with an AI Coding Agent

JetBrains via Coursera

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Build a 3D browser game from scratch – step by step, with the help of an AI coding agent. In this hands-on course, you'll create a complete game where a brave frog named Tode defends his home from waves of enemies. Starting from an empty project, you'll set up a 3D scene, implement player movement and attacks, spawn enemies, add a scoring system, and scale the difficulty – all inside a professional IDE. Along the way, you'll learn how to work effectively with a coding agent: writing clear prompts, reviewing generated code, and deciding what to keep. Each lesson builds on the last, so you see real progress after every step. By the end of this course, you will: – Have a playable 3D game running in your browser. – Understand how to plan, build, and iterate on a software project. – Be able to use an AI coding agent to accelerate your development workflow. No game development experience required. Basic familiarity with JavaScript and a willingness to experiment are all you need.

Syllabus

  • Planning
    • Before writing a single line of code, you need a plan. In this module, you'll define the game's story, world, and core mechanics – player movement, combat, enemies, scoring, and difficulty progression. You'll also learn how to scope a project by focusing on a Minimum Viable Product (MVP) first, then listing ideas for future improvements. By the end of this module, you'll have a clear blueprint for everything you're about to build.
  • Skeleton
    • Time to build. In this module, you'll set up the development environment, meet the AI coding agent, and start constructing the game's foundation. You'll create a 3D scene with a camera and lighting, add a player character that moves in four directions, spawn enemies that chase the player, implement collision detection, and give your hero the ability to attack. By the end, you'll have a rough but functional prototype – the skeleton of your game.
  • Core Loop and Visual
    • A prototype isn't a game until it has a beginning, an end, and a reason to keep playing. In this module, you'll add the core game loop: a scoring system that combines survival time and kill count, game states that take the player from a start screen through gameplay to a game-over screen, and difficulty scaling that makes the game progressively harder as the score rises. You'll also enhance the game world with improved visuals: better environment design, refined character models, lighting adjustments, and overall aesthetic polish. After this module, your project will be ready and feel like a real game.
  • Conclusion
    • You've built a complete, playable game – congratulations! In this final module, you'll review what you've accomplished and explore ideas for taking your game further: sound effects, new enemy types, hero enhancements, extra lives, and more. You'll also learn about resources for finding game assets and continuing your development journey.

Taught by

JetBrains Academy team

Reviews

Start your review of Build a Game with an AI Coding Agent

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.