Code Monkey home page Code Monkey logo

monopoly's Introduction

Monopoly

Play Here This project was completed in one week. If you've never played monopoly and would like to learn, click here. I did not have time to implement every feature of the game. There is no Community Chest or Chance cards. Hotels and Houses cannot be sold and properties cannot be mortgaged. Properties cannot be auctioned. All other elements of the game have been implemented.

Technology Used

  • HTML
  • CSS
  • JavaScript

Screenshots

Start of Game Buying Property Buying Houses / Hotels Trading Property Go to Jail End Of Game -This one photo is two players so the game would end quicker

Getting Started

Step 1: There must be at least 2 players and a maximum of 8 players. Each player will be assigned their own color icon that moves around the board.

Step 2: Click on the roll dice button. Your turn will immediately end after clicking that button. If you'd like to trade or buy houses/hotels, do so before rolling the dice.

How to Win: When a player loses all their money they are out of the game. Last player left is the winner.

Note 1: The "Buy Houses" and "Buy Hotels" will only display when a player is able to make the purchase.

Note 2: If a player loses all their money by landing on another players property: 1. All houses and hotels of the properties of the losing player will be removed. 2. The properties will then be transfered to the other player.

Note 3: If a player loses all their money by landing on a "Tax" space: 1. All houses and hotels of the properties of the losing player will be removed. 2. The properties will be available for purchase when a player lands on it.

IMPORTANT: When trading, the current player must enter a dollar amount and/or a property to trade with ONE other person. Also, do not enter more money than the player has. Doing this any other way will break the game.

Next Steps

If I go back to work on this game, first I will:

  • Make it impossible for the user to break the game when trading. Then I would implement every feature of the game, such as:
  • Community Chest
  • Chance
  • Selling Hotels & Houses
  • Mortgaging Properties
  • Auctioning Properties Lastly, I would implement a better UI:
  • Dice rolling across the screen
  • Various sound effects
  • Player icons
  • Better positioning of icons
  • and more...

monopoly's People

Contributors

jeff-enriquez avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.