Skip to content

atshalahmedkhan/CodeOpoly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeOpoly 🎮💻

Competitive Coding Meets Monopoly

A multiplayer game that combines the classic Monopoly board game with LeetCode-style coding challenges. Solve problems faster to earn Compute Credits, buy properties, and dominate the board!

🚀 Features

Core Mechanics

  • Roll Dice → Solve Problem → Buy Property: Classic Monopoly gameplay with a coding twist
  • Code Duels: Challenge property owners to avoid paying rent
  • Property Types = Problem Types: Different properties require different coding skills
  • Debug Hell (Jail): Fix buggy code to get out of jail
  • Community Chest & Chance: Live coding events and modifiers

Revolutionary Additions

  • 🎯 Code or Pay Rent: Challenge opponents to code duels
  • 🏠 Property Upgrades: Build servers (houses) and data centers (hotels)
  • 🎲 Live Events: Code sprints, chaos mode, and more
  • 🐛 Debug Challenges: Fix intentionally broken code
  • 💰 Compute Credits: Earn money by solving problems faster

🛠️ Tech Stack

  • Frontend: Next.js 14, React, TypeScript
  • Styling: Tailwind CSS
  • Code Editor: Monaco Editor
  • Real-time: Firebase Firestore
  • Animations: Framer Motion

📦 Installation

npm install

🚀 Development

npm run dev

Open http://localhost:3000 to see the game.

🎮 How to Play

  1. Create or join a game room
  2. Roll the dice to move around the board
  3. When you land on a property:
    • If unowned: Solve a problem to buy it
    • If owned: Pay rent or challenge to a code duel
  4. Solve problems faster to earn more Compute Credits
  5. Build servers and data centers to increase rent
  6. Win by having the most net worth or bankrupting opponents

🎯 Game Modes

  • Classic Mode: Standard Monopoly rules with coding challenges
  • Code Duel Mode: Every rent payment can become a challenge
  • Debug Hell: Enhanced jail mechanics with bug fixing

📝 License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors