Python Pirate Trader
Create a game in which players travel between cities, buy and sell goods, and face pirate encounters. The project starts with input and control flow, then grows into an object-oriented game manager with data loaded from a CSV file.
16 linked teaching videos following the project from setup through CSV game data. The closing course-summary entry is awaiting its recording.
OdooClass · Course guide
Make Python click through a pirate trading adventure
Create a game in which players travel between cities, buy and sell goods, and face pirate encounters. The project starts with input and control flow, then grows into an object-oriented game manager with data loaded from a CSV file.
16 teaching videos · Python Pirate Trader
Explore the course curriculum View price and enrollWhat you will work on
- Build a menu-driven game loop with functions, conditions and collections.
- Represent cities, products and game behavior with classes and a game manager.
- Implement buying, selling, pirate encounters and CSV-backed game data.
Is this course for you?
New Python programmers and project-based learners who want a compact, connected introduction to application logic.
Before you start
A working Python environment and a code editor. The course begins with project setup, print, input, variables and if/else statements; no Odoo installation is required.
Your learning path
- Project setup, functions and a working menu loop
- Lists, dictionaries, dates and Python objects
- Game manager design and the buy/sell methods
- Pirate encounters, CSV data and next steps
What is included today
16 linked teaching videos following the project from setup through CSV game data. The closing course-summary entry is awaiting its recording.
Environment and version guidance
This course develops a standalone Python project. Follow the code and library usage demonstrated in each lesson when adapting it to your own Python environment.
See the published course outline
- Project Setup, Print, Input, Variables, and if/else Statements
- Learning to Work with Functions
- Using While & Break to Create Our Game Loop & Menu
- Using Dictionaries, Lists and For Loops for Managing Our Cities
- Learn to Use the DateTime Library
- Introduction to Python Objects & Object-Oriented Programming
- Understanding Class Methods & Properties
- Refactoring our Classes and Creating a Game Manager
- Finalize the Design of our Game Manager
- Implement the Buy Method
- Implement the Sell Method
- Create the Product/City Class
- Making the Game More Interesting
- Create the Class for Pirate Encounters
- Handle the Pirate Encounters
- Loading Game Data from a CSV File
Buying and accessing your course
Use the price and Add to cart control at the top of this page. Review your order and the available payment options at checkout.
After payment confirmation, sign in with the account used for your purchase and open the course curriculum. If you need help choosing a course or accessing an order, contact OdooClass and include your order reference.
View price and enrollView curriculum