Skip to content

Real Estate TypeScript Re-Imagining of Oregon Trail

Notifications You must be signed in to change notification settings

chee86j/empire_trail

Repository files navigation

Empire Trail

Overview

Empire Trail is a modern twist on the classic Oregon Trail game, where players embark on a journey starting on the west coast in Los Angeles and ending on the east coast in New York City. Along the way, players will stop by major cities, managing their resources and making strategic real estate investments to build recurring income. The ultimate goal is to accumulate enough wealth to purchase an entire apartment skyscraper building in Manhattan, New York, without going bankrupt.

Features

Journey Across America

Travel from Los Angeles to New York City, encountering various challenges and opportunities along the way.

Real Estate Investments

Choose real estate investments in each city, with options to earn rental income or profit from immediate sales.

Player Actions

  1. Travel: Move to the next city (with animated plane travel).
  2. Rest: Pass one month with a sleep animation.
  3. View Portfolio: Access a screen displaying all owned properties and their details.
  4. Find Deals: Browse available properties for purchase.

Note

Monthly maintenance costs include property insurance, monthly mortgage, title insurance, utilities, property taxes, etc. The game's objective is to build up capital to purchase a skyscraper apartment building in New York City. Bankruptcy results in losing the game.

Technologies Used

TypeScript: Game logic and functionality are implemented using TypeScript, providing type safety and improved developer experience. HTML: Game interface and structure are built using HTML, providing a solid foundation for web-based gaming. Vanilla CSS: Styling is done using Vanilla CSS, ensuring simplicity and flexibility in design.

Local Storage:

Game progress and real estate investments are stored locally using the browser's built-in Local Storage API, eliminating the need for a database.

Route and Major Cities

The game's route from Los Angeles to New York City includes stops at major cities across the United States, such as:

Los Angeles, CA Phoenix, AZ Dallas, TX St. Louis, MO Chicago, IL Cleveland, OH Pittsburgh, PA Philadelphia, PA New York City, NY

Getting Started

To play the game locally, follow these steps:

  1. Clone this repository to your local machine.
  2. Open the project directory in your preferred code editor.
  3. Navigate to the src directory and open index.html in a web browser.
  4. Start your journey from Los Angeles and begin making real estate investments.
  5. Manage your resources wisely and progress towards your goal of owning an apartment building in Manhattan.

About

Real Estate TypeScript Re-Imagining of Oregon Trail

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages