Skip to main content

A 2D market timing and strategy game featuring Tucker the Boston Terrier delivering goods around town!

Project description

Tucker Trucker 🐕🚛

A 2D market timing and strategy game featuring Tucker, a Boston Terrier who runs a delivery business in a bustling pet marketplace!

Game Overview

You play as Tucker, an entrepreneurial Boston Terrier who travels between different pet markets to buy and sell goods. Your goal is to make smart trading decisions, timing your purchases and sales to maximize profit while managing your limited cargo capacity.

Features

  • Adorable Boston Terrier protagonist with custom sprite design
  • Dynamic market system with fluctuating prices and demand
  • 5 unique pet markets scattered around the game world
  • 5 different goods types: Bones, Treats, Toys, Food, and Medicine
  • Real-time trading mechanics with supply and demand
  • Day/night cycle that affects market conditions
  • Inventory management with limited cargo capacity
  • Strategic gameplay requiring market timing and route planning

How to Play

Controls

  • WASD or Arrow Keys: Move Tucker around the world
  • E: Toggle inventory panel
  • R: Interact with nearby markets (when close enough)
  • ESC: Close menus and trading interfaces

Trading Controls (when at a market)

  • 1-5: Select different goods (Bones, Treats, Toys, Food, Medicine)
  • +/-: Increase/decrease trade quantity
  • B: Buy selected goods from market
  • S: Sell selected goods to market

Game Mechanics

  1. Movement: Guide Tucker around the game world to visit different markets
  2. Trading: Each market has different prices and stock levels for various goods
  3. Market Dynamics: Prices fluctuate based on supply and demand over time
  4. Cargo Management: You can only carry 10 items at once - choose wisely!
  5. Profit Strategy: Buy low at one market, sell high at another
  6. Time Management: Each day brings new market conditions

Markets

  • Doggy Depot (Top Left)
  • Paws & Claws Market (Top Right)
  • The Bone Zone (Bottom Left)
  • Furry Friends Store (Bottom Right)
  • Pet Paradise (Center)

Goods Types

  • 🦴 Bones: Classic dog treats with steady demand
  • 🍪 Treats: Popular snacks with variable pricing
  • 🧸 Toys: Entertainment goods with seasonal demand
  • 🥫 Food: Essential supplies with consistent market
  • 💊 Medicine: High-value specialty items

Strategy Tips

  1. Watch the demand indicators: High/Med/Low demand affects pricing
  2. Plan efficient routes: Minimize travel time between profitable trades
  3. Monitor market money: Markets need cash to buy your goods
  4. Track price trends: Some goods increase in value over time
  5. Manage inventory space: Don't get stuck with unsellable goods
  6. Start small: Begin with low-risk trades to build capital

Installation & Running

Easy Installation (Recommended)

Install directly from PyPI:

pip install tucker-trucker

Then run the game:

tucker-trucker

Manual Installation

If you want to run from source:

Manual Installation

If you want to run from source:

Prerequisites

  • Python 3.7 or higher
  • pygame library
  • numpy library

Running the Game

# Clone the repository
git clone https://github.com/jeremevans/tucker-trucker.git
cd tucker-trucker

# Install dependencies
pip install -r requirements.txt

# Run the game
python run_game.py

Or using the package module:

python -m tucker_trucker

Development

This game is built with:

  • Python 3.x
  • Pygame for graphics and game engine
  • Object-oriented design with modular components

File Structure

TuckerTrucker/
├── main.py              # Main game entry point
├── game/
│   ├── __init__.py      # Package initialization
│   ├── constants.py     # Game constants and configuration
│   ├── entities.py      # Game objects (Player, Markets, Goods)
│   ├── game_engine.py   # Main game logic and coordination
│   └── ui.py           # User interface and rendering
└── README.md           # This file

Future Enhancements

  • 🚛 Truck upgrades for increased cargo capacity and speed
  • 🏆 Achievement system for trading milestones
  • 🌦️ Weather effects that impact travel and demand
  • 📊 Price history charts for better market analysis
  • 🎵 Sound effects and music
  • 💰 Loan system for expanding business operations
  • 🏪 Player-owned market stalls
  • 📦 Special delivery contracts with time bonuses

Credits

Created with ❤️ for Boston Terrier lovers and strategy game enthusiasts!


Woof! Happy trading! 🐕💼

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tucker_trucker-1.1.0.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tucker_trucker-1.1.0-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file tucker_trucker-1.1.0.tar.gz.

File metadata

  • Download URL: tucker_trucker-1.1.0.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for tucker_trucker-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d6da34111b7ccc5571dc617bd30f0acc7ca07056f48f34ef960c6be3409d3562
MD5 5ac353020e2636f4dba66cd57e232112
BLAKE2b-256 aec9073c0482ac8b9b47823fbe0d98b27e90ff4bacdfcf5b10fb47e96c299788

See more details on using hashes here.

File details

Details for the file tucker_trucker-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: tucker_trucker-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for tucker_trucker-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a9b54440626e34bcaf9d3d33b683d577ff75bd38fe4c601c051addaf68604c28
MD5 373af5639dc78c5c8a0722ab4a15d953
BLAKE2b-256 8b5ec2d3c20c1cdea8c84634365f3d954951398edf76857d4344f6acaefe04cc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page