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.
Travel from Los Angeles to New York City, encountering various challenges and opportunities along the way.
Choose real estate investments in each city, with options to earn rental income or profit from immediate sales.
- Travel: Move to the next city (with animated plane travel).
- Rest: Pass one month with a sleep animation.
- View Portfolio: Access a screen displaying all owned properties and their details.
- Find Deals: Browse available properties for purchase.
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.
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.
Game progress and real estate investments are stored locally using the browser's built-in Local Storage API, eliminating the need for a database.
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
To play the game locally, follow these steps:
- Clone this repository to your local machine.
- Open the project directory in your preferred code editor.
- Navigate to the src directory and open index.html in a web browser.
- Start your journey from Los Angeles and begin making real estate investments.
- Manage your resources wisely and progress towards your goal of owning an apartment building in Manhattan.