cmills.hin
来自「1984-1993模糊 C 源代码竞赛.zip 非常的好,不过这是DOS格式,」· HIN 代码 · 共 40 行
HIN
40 行
Best Game: <cmills@wyse.com> Chris Mills Chris Mills Wyse Technology 3471 N. 1st St. San Jose CA 95134 USAJudges notes: Compile notes: cc -DM=500 -DN=52 -DX="srand((int)time(0L))" -DV=void -o cmills cmills.c -DM=<max bet allowed> -DN=<52 * number of decks used> -DX=<how to seed the rand() generator> -DV=<void ot int> Usage: cmills [starting_cash]Selected notes from the author: This is a blackjack program. It does splits, doubling down, insurance, etc. As best I can figure, it should be ANSI-compliant, as well as portable to BSD & sysV (as well as the irritating compiler I was using which assumes x=*p++ means x*=p++!). It is reasonably robust in its error handling---it won't let you split, double, etc. unless you actually have the cash, etc. To terminate the program, hit EOF or type 0 or a negative number for you wager. The way it deals with splits is particularly cool (IMHO). You can split many times, and it will show all hands as they are played.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?