How whisperingpixel/the-salt-traders works
The repository is a teaching project built around a medieval salt-trading simulation, not a single modular application. Its principal workflow takes a learner from basic Python concepts through an interactive trading game, object-oriented design, and spatial-data handling. The README documents the lesson sequence and learning outcomes; sampled sources show trading behavior and raster loading, but excerpts do not establish all runtime connections in later lessons.
Main entry points: 11_raster_data.py Raster Weather · 01_variables_expressions.py Variables · 02_lists_dictionaries.py Collections · 03_conditions_loops.py Control Flow
Components 17
Programming Foundations
- Variables
lesson 01/01_variables_expressions.py - Collections
lesson 02/02_lists_dictionaries.py - Control Flow
lesson 03/03_conditions_loops.py - Functions
lesson 05/05_functions.py
Trading Game
- Files and Errors
lesson 06/06_filehanding_exceptions.py - Command Interface
lesson 07/07_command-line-interfaces.py - Trading Classes
lesson 08/08_object-oriented-classes.py - Trade Hierarchies Exercise
lesson 09/09_ex_object-oriented-hierarchies.py - Trade Hierarchies
lesson 09/09_object-oriented-hierarchies.py
Vector Data
- Vector Exercise
lesson 10/10_ex_vector_data.py - Vector Trading
lesson 10/10_vector_data.py
Raster Data
- Raster Exercise
lesson 11/11_ex_raster_data.py - Raster Weather
lesson 11/11_raster_data.py - Raster Inputs
data
Coordinate Systems
- CRS Exercise
lesson 12/12_ex_crs.py - CRS Trading
lesson 12/12_crs.py
Other components
- Learner
Connections 16
- Learner → Variables: starts with
README.md - Variables → Collections: builds on
README.md - Collections → Control Flow: builds on
README.md - Control Flow → Functions: builds on
README.md - Functions → Files and Errors: builds on
README.md - Files and Errors → Command Interface: builds on
README.md - Command Interface → Trading Classes: builds on
README.md - Trading Classes → Trade Hierarchies Exercise: builds on
README.md - Trade Hierarchies Exercise → Trade Hierarchies: example solution
README.md - Trade Hierarchies → Vector Exercise: builds on
README.md - Vector Exercise → Vector Trading: example solution
README.md - Vector Trading → Raster Exercise: builds on
README.md - Raster Exercise → Raster Weather: example solution
README.md - Raster Inputs → Raster Weather: loads DEM
- Raster Weather → CRS Exercise: builds on
README.md - CRS Exercise → CRS Trading: example solution
README.md