Coder Social home page Coder Social logo

simplegame's Introduction

版本:2.0.0

更新日期:Oct 8, 2013

使用方法:

运行class文件(java startgame) 其实我也不知道怎么运行

然后会让你选择游戏人数,输入1就是单人模式,可以输入任意整数。

游戏开始之后会轮流选数

先输入要选得数字,1赌小,2赌大,3~18赌数字(不同数字有不同倍率)

再输入你要押多少钱

会随机从1-6中产生3个随机数相加并且判断

每局需要一定手续费,倍率有特定算法

每一个玩家一直可以玩到钱用完。

接下来的目标是用GUI来改造程序,当前只有CLI。

simplegame's People

Contributors

maomihz avatar

Watchers

 avatar  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.