Taxi Fare Predictor Game

Estimate every fictional ride, tune pricing factors, train prediction models, compare routes, inspect errors, and master fare decisions through interactive city challenges and rewards.

Score0
Level1
Accuracy0%
Streak0
Coins0
Best error

Prediction Result

Your latest estimate appears here before the controls.
Ready for a trip
Predicted fare
Actual fare
Absolute error
Percentage error
Generate a journey, enter a prediction, and reveal the fictional fare.

Interactive City Trip

Canvas powered by p5.js. Use Start, Pause, Reset, or keyboard controls.
Progress: 0%
Running meter: $0.00
Route: Fastest

Trip Generator and Fare Controls

Change journey conditions, pricing rules, difficulty, routes, and challenge types.

Game Setup

Journey Conditions

Context

Route and Zones

Extra Charges

Pricing Rules

Prediction Entry

$
Unlimited
Keyboard: G generate, P predict, R reveal, Space start or pause trip.

Model Training Lab

Train a browser-based regression model on synthetic taxi journeys.
Model not trained

Algorithm

Training Controls

Model Status

Training progress
Ready to train.
Test MAE

Selected Features

Performance Dashboard

Interactive Plotly.js charts update after predictions and model training.

Trip History and Exports

Progress is stored in your browser.
#TripModeDistanceDurationTrafficDemandPredictedActualErrorScore
No completed predictions yet.

Formula Used

Fare = max(Minimum Fare,
  (Base Fare + Distance Charge + Duration Charge + Waiting + Tolls + Fixed Fees)
  × Traffic Adjustment × Demand Multiplier × Time Adjustment × Weather Adjustment × Vehicle Adjustment
)

How to Use

  1. Generate a fictional trip or adjust every journey condition manually.
  2. Select a prediction mode, route, challenge, difficulty, and pricing rules.
  3. Enter your estimate, use a formula, or train a browser-based model.
  4. Reveal the actual fictional fare and inspect its complete breakdown.
  5. Use charts, history, badges, and error feedback to improve predictions.

Learning Goals and Safety

Skills Practised

  • Regression thinking and feature selection.
  • Effects of traffic, demand, time, and route choices.
  • Absolute error, percentage error, MAE, and R².
  • Training, testing, overfitting, and model comparison.

Important Limits

  • All locations, passengers, prices, and journeys are fictional.
  • No sensitive passenger data is collected or required.
  • Actual taxi pricing varies by city, provider, law, and contract.
  • Never use these results as a real fare quotation.

Related Calculators

House Price PredictorCar Price EstimatorTemperature Prediction GameStudent Score PredictorDelivery Time EstimatorCrop Yield PredictorEnergy Consumption ChallengeSales Forecast GameRegression Line Builder

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.