Godot RL Agents Activity
In this section, you will learn how to create a custom environment in the Godot Game Engine and then implement an AI controller that learns to play with Deep Reinforcement Learning. The example game we create today is simple, but shows off many of the features of the Godot Engine and the Godot RL Agents library. You can then dive into the examples for more complex environments and behaviors.
National Standards Alignment
OVERVIEW
Activity Overview:
In this section, you will learn how to create a custom environment in the Godot Game Engine and then implement an AI controller that learns to play with Deep Reinforcement Learning. The example game we create today is simple, but shows off many of the features of the Godot Engine and the Godot RL Agents library. You can then dive into the examples for more complex environments and behaviors.
Meta description
- Subject Area: Computer Science, Mathematics, Science, Technology, Engineering
- Grade Level : 9-12
- Computer Science Domains:
- Computing Systems
- Networks and The Internet
- Algorithms and Programming
- Impacts of Computing
- Computer Science Principles:
- Fostering an Inclusive Computing Culture
- Collaborating Around Computing
- Recognizing and Defining Computational Problems
- Developing and Using Abstractions
- Creating Computational Artifacts
- Testing and Refining Computational Artifacts
- Communicating About Computing
- Materials:
- Website, lab computer with ubuntu installed
Lesson Plan
Overview
In this section, you will learn how to create a custom environment in the Godot Game Engine and then implement an AI controller that learns to play with Deep Reinforcement Learning. The example game we create today is simple, but shows off many of the features of the Godot Engine and the Godot RL Agents library. You can then dive into the examples for more complex environments and behaviors.
ASSESSMENT PRE/POST-TEST
Were you able to get godot_rl agents working with ringpong?
OBJECTIVES
Install godot_rl agents, adjust parameters, train models
CATCH/HOOK
Godot Engine is a feature-packed, cross-platform game engine designed to create 2D and 3D games from a unified interface. It provides a comprehensive set of common tools, so users can focus on making games without having to reinvent the wheel. Games can be exported in one click to a number of platforms, including the major desktop platforms (Linux, macOS, Windows) as well as mobile (Android, iOS) and web-based (HTML5) platforms.
ACTIVITY INSTRUCTIONS
Full configuration of rl setup, relatively involved setup that even includes bug fixes.
Supplements
Any items in this section are the property & under the license of their respective owners.
REVIEW
Class discussion on our results, experiences, and findings.
STANDARDS
| Type | Listing |
|---|---|
| CS Domains | Computing Systems, Networks and The Internet, Algorithms and Programming, Impacts of Computing |
| CS Principles | Fostering an Inclusive Computing Culture, Collaborating Around Computing, Recognizing and Defining Computational Problems, Developing and Using Abstractions, Creating Computational Artifacts, Testing and Refining Computational Artifacts, Communicating About Computing |