Explore the creation of a Python-based route generator for the board game Ticket to Ride in this coding tutorial video. Learn how to add variety to gameplay by randomly selecting city pairs and assigning points based on distance. Follow along as the instructor develops a program that generates new ticket cards, potentially increasing the game's difficulty. Discover techniques for working with city lists, implementing player input, looping, applying physics concepts to calculate distances, and testing the generated routes. Gain insights into using VPython for code creation and find links to access the full source code and a standalone Windows executable.
Overview
Syllabus
Introduction
List of Cities
Number of Players
Player Name
Looping
Physics
Distance
Generating Routes
Testing
Taught by
Let's Code Physics