Rush Hour Taxi Game

An assembly language-based taxi simulation game where players navigate a 20×20 grid to pick up and deliver passengers while avoiding obstacles.


Table of Contents


Overview

In Rush Hour Taxi Game, you control a taxi on a 20×20 grid map (75% roads, 25% buildings). Your goal is to pick up passengers (P) and deliver them to their destinations (D) while avoiding obstacles and earning the highest score possible.


Features

  • Arrow key-based taxi movement on a 20×20 grid
  • Passenger pick-up and drop-off system
  • Three difficulty levels: Easy, Medium, Hard
  • Three game modes: Career, Timer, Endless
  • Two taxi types with different collision penalties
  • Comprehensive collision detection
  • Leaderboard tracking top 10 high scores (saved to highscores.txt)
  • Timer system for timed challenges
  • Basic sound effects

Getting Started

  1. Launch the game executable.
  2. Enter your player name when prompted.
  3. Select your Taxi Type (Yellow or Red).
  4. Select a Difficulty Level (Easy / Medium / Hard).
  5. Select a Game Mode (Career / Timer / Endless).
  6. Navigate the grid, pick up passengers, and deliver them to destinations!

Game Modes

Difficulty Levels

Level Cars Trees Obstacles Bonus Items
Easy 5 4 2 3
Medium 8 6 3 4
Hard 12 9 5 6

Play Modes

Mode Description
Career Complete all 5 passengers (not yet implemented)
Timer Race against the clock (Easy: 1 min, Medium: 1.5 min, Hard: 2 min)
Endless Continuous gameplay with infinite respawning passengers

Taxi Types

Taxi Building Collision Car Collision
Yellow (Faster) −4 points −2 points
Red (Slower) −2 points −3 points

A Random Selection option is also available.


Controls

Key Action
Arrow Keys Move taxi (Up/Down/Left/Right)
Spacebar Pick up / Drop off passenger
P Pause game
ESC Return to main menu

Scoring System

Positive Points

Action Points
Pick up passenger +5
Successful delivery +10
Collect bonus item +10

Negative Points

Event Points
Building collision −1 to −4 (varies by taxi type & difficulty)
Car collision −2 to −3 (varies by taxi type)
Tree / obstacle collision −2 to −4
Hitting a pedestrian −5

Note: The game ends if your score goes negative, time runs out (Timer mode), or all passengers are delivered (Easy/Medium).


Map Elements

Symbol Element Color
- Road —
# Building —
P Passenger —
D Destination Green (appears after picking up a passenger)
C Car obstacle Purple
* Tree Green
X Obstacle Yellow
B Bonus item Light cyan

User Interface

The Main Menu includes:

  1. Start New Game
  2. Continue Game
  3. Change Difficulty Level
  4. View Leaderboard
  5. Instructions
  6. Exit

The Game Screen displays:

  • Real-time score
  • Timer (in timed modes)
  • Taxi color indicator
  • Help instructions bar
  • Full 20×20 game grid

Project Info

Built With

  • assembly
  • filehandling
  • ui/ux
Share this project:

Updates