Code Monkey home page Code Monkey logo

monopoly's Introduction

Monopoly

This project is an implementation of the classic Monopoly game in Python and allows multiple people to play a text-based version of the game together. Soon, I'll be adding a GUI and the ability to play against an AI for more fun! I built this game to improve my Python, OOP skills, and project management skills.

Usage

To begin playing the game, first clone the repository and extract the .zip file. Navigate to the folder and open the monopoly_driver.py file. The game will now open:

Instructions It's important to remember these instructions.

The player can check on their status (e.g. viewing their balance, cards owned), take actions (mortgage properties, sell properties, construct houses), or roll the dice and move. Only rolling the dice will change the turn to the next player, so you can run all the other actions you want until you are ready to move.

Here's an extract from a sample round of Monopoly:

Gameplay

This continues until there is only one player remaining that is not bankrupt. At this point, the game will end and print out who won.

Author

Aleph Aseffa

Roadmap

There are quite a few features I plan on implementing. Most notable ones are the AI and the ability to add players at run time (this is currently hard-coded into the program). I will update this section with short-term and long-term plans soon.

License

This project is licensed under the MIT License (more details availabe in the license.md document).

monopoly's People

Contributors

aleph-aseffa 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.