Rogier van der Geer | Risk Analysis

1,643 views · Published 25 April 2017 · 31:20 · Indexed 19 October 2026

Channel: PyData · 2017 · Science & Technology

Watch on YouTube

PyData Amsterdam 2017

Training a genetic algorithm to play the game of Risk.

The popular board game of Risk has many fans around the world. Using a Python-based simulation of the game, we use a genetic algorithm to train a risk-playing algorithm.

During this talk we’ll explain what genetic algorithms are and we’ll explain an entertaining use-case: how to win at popular board games. During the talk we’ll demo how object oriented patterns help with the design and implementation of these algorithms. We’ll also demonstrate a library that allows users to push their own risk bots into a game and battle it out on. 00:00 Welcome!
00:10 Help us add time stamps or captions to this video! See the description for details.

Want to help add timestamps to our YouTube videos to help with discoverability? Find out more here: https://github.com/numfocus/YouTubeVideoTimestamps

More from this channel