Главная
Study mode:
on
1
Introduction
2
List of Cities
3
Number of Players
4
Player Name
5
Looping
6
Physics
7
Distance
8
Generating Routes
9
Testing
Description:
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.

Ticket to Ride Route Generator in Python - Episode 1

Let's Code Physics
Add to list