Welcome to Pixel City Tycoon, a retro-themed economic strategy and life simulator game. Start with nothing, choose a career, and build your empire in a pixel-art metropolis.
- Career & Avatar: Begin your journey by spinning the "Career Wheel" to determine your starting salary and customizing your unique pixel avatar.
- Property Management: Buy, sell, and upgrade a variety of properties around the city. Each property generates passive income per game cycle.
- Dynamic Stock Market: Click the "Stock Exchange" building to open a fully-featured stock market.
- Trade Stocks: Buy and sell shares from a list of fictional companies.
- Get Rumors: Pay for "insider" news to get hints about which stocks might rise or fall.
- Manage Portfolio: Track your holdings and your profit/loss in a dedicated portfolio manager.
- Game Cycle: Advance the game "cycle" to earn your salary and property income. Be careful—you'll also have to pay taxes based on your earnings!
- Progressive Wealth: Watch your virtual life improve! As your net worth grows, your basic room automatically upgrades from a cardboard box to a luxury penthouse and beyond.
- Theme Toggle: Switch between light and dark modes with a retro-themed toggle that persists your choice.
- Framework: Next.js
- Language: TypeScript
- Styling: Tailwind CSS
- UI: shadcn-ui
- Font: Press Start 2P (for the retro pixel aesthetic)
- State Management: React Hooks (
useState,useEffect) andlocalStoragefor game state persistence.
-
Clone the repository:
git clone [your-repo-url] cd [your-project-directory] -
Install dependencies: (Using
pnpmas indicated bypnpm-lock.yaml)pnpm install
-
Run the development server:
pnpm dev
-
Open http://localhost:3000 in your browser to start the game.