Git Product home page Git Product logo

mm-card-game's Introduction

MM Casino Card Game

The game:

  • Each round, you will draw with replacement X cards within a range of 2-14, representing 2-10, J, Q, K, A")
  • Some of the cards have a chance of being shown to you")
  • You will be given a quote to bet on the sum of the cards drawn")
  • You can bet LONG or SHORT at a certain size via 'L,10' or 'S,1' for example")
  • If you don't like the odds, you can pass by pressing enter")
  • Inventory is not held, it is realized at the end of each round and updates your balance")
  • If you run out of money, the game is over")

Inspired by https://www.tradermath.org/market-games/market-taking-game/lobby

To the creators: if you'd like me to take this down please reach out, I'd be happy to comply no worries


python3 game.py

This is the main script to play the game. It starts with some default settings that can be changed at the top of the file

python3 auto.py

Automatically plays the game based on expected values and saves it to a file for analyze.py to do sum statistics and stuff. Feel free to use it as inspiration for your own scripts!

python3 analyze.py

Reads and does some basic analysis on the trades generated via auto.py

mm-card-game's People

Contributors

0xdub avatar

Stargazers

mesmer149 avatar nico avatar Shan NS avatar Dylan avatar cryptoflashboy avatar Beta avatar Stone Gao avatar  avatar Ishan Manchanda avatar Justin Shen avatar R4ndomW2lker avatar Fivos avatar  avatar yassine avatar Zyb Jared Valdez avatar shanmuha avatar  avatar Ike 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.