老虎机奖金计算 [英] slot machine payout calculation

查看:206
本文介绍了老虎机奖金计算的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个 5卷轴老虎机计算系统,然后我不知道采取什么样的方式。

I want to create a 5 reels slot machine calculation system and I'm not sure what approach to take.

据我所知,有很多在它的数学,特别是当我想要的机器是令人愉快的一名球员。

I understand that there is a lot of math within it, especially if I want the machine to be enjoyable to a player.

有什么秘笈/联系是什么?一直在寻找的网页信息,但他们在这讨论从玩家的角度,而不是开发者的角度来看,在所有的情况下,我已经找到了。

Are there any tips/links for that? Was looking for info at the web but they discuss on it from the player's perspective rather than the developer's perspective, in all cases I've found.

只是为了说清楚;我不是在用户界面的东西,但只有后的内部机器的支付计算,这将确保房子得到了收入,同时保持良好的可玩性。

Just to make it clear; I'm not after the user interface stuff, but only after the internal machine's payout calculation, which will make sure the house gets a revenue while maintaining good playability.

编程语言是C ++,但我很好与他人。

Programming language would be C++, yet I'm fine with others.

推荐答案

作为海防指出,你需要首先确定哪些机器的整体,长远的支出应该的。例如$ 0.95每$ 1。

As Phong noted, you need to first determine what the overall, long-term payout of the machine should be. e.g. $0.95 for every $1.

然后你看看所有的赢钱组合,该组合的发生几率,而组合的奖金。添加它们放在一起,它应该是等于所需的长期支出。

You then look at all your winning combinations, the odds of that combination occurring, and the payout of that combination. Add them all together and it should be equal to your desired long term payout.

诀窍则是让你有一些的人,很容易打,以平衡组合,并支付较低的,保持支出发生,每隔一段时间,和一个非常难打,但支付高,所以总有一个大的支出的机会。

The trick then is to balance the combinations so you have a few ones that are easy to hit, and pay low, to keep payouts happening every so often, and a one that is very hard to hit, but pays high, so there's always the chance of a big payout.

这是真正意义的设计和数学,而不是执行和编码。

It's really all about design and maths, rather than implementation and coding.

在数学的简单的例子:如果你有一个3轴机10插槽(叫他们AJ)每个卷轴,和你想支付$ 0.95每美元长期的,那么你可能有:

Quick example of the maths: If you had a 3 reel machine with 10 slots (call them A-J) on each reel, and you wanted to payout $0.95 for every dollar long term, then you might have:

AAA - 赔率0.001 - 支付$ 500 - 预期回报 - $ 0.50
A-- - 赔率0.100 - 支付$ 3 - 预期回报 - $ 0.30
B-- - 赔率0.100 - 支付$ 1.50 - 预期回报 - $为0.15

AAA - odds 0.001 - pays $500 - expected payout - $0.50
A-- - odds 0.100 - pays $3 - expected payout - $0.30
B-- - odds 0.100 - pays $1.50 - expected payout - $0.15

这篇关于老虎机奖金计算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆