Skip to main content

Questions tagged [probability]

0 votes
0 answers
90 views

I'm developing an FPS shooter in Unreal Engine 5 and currently working on the aiming mechanics for keyboard and mouse (KBM). I want to implement an aim assist system that uses ray casting to detect ...
Eric Wright's user avatar
0 votes
1 answer
146 views

I am making a slot game with 3 x 5 reels. The RTP I am targeting is 99%. My reel data is given as (yaml): ...
Ilian Zapryanov's user avatar
0 votes
2 answers
181 views

I was torn about whether to post this as a game problem or as a maths problem. My maths is a little shaky, so thought maybe best to post here. The game, for anyone who is familiar with it, is War and ...
Killian's user avatar
  • 101
4 votes
2 answers
1k views

I'm coding a choice-driven role-playing game and I want to give the player a percentage of his success chance in winning a battle before he chooses to start it. However, I have no clue how to make ...
ireth92's user avatar
  • 91
1 vote
2 answers
250 views

Conceptually, generating item stats is the same as placing balls into buckets. An even distribution of 50 balls into 5 buckets looks like this: [10,10,10,10,10] whereas an uneven distribution might ...
user2108462's user avatar
1 vote
0 answers
180 views

I have two simple stats for my attack formula, attack and defence. I was reading through this answer which made it seem like ...
Josh Laird's user avatar
1 vote
1 answer
4k views

Naively, I would assume that there's an even probability of any of the 26 given letters appearing in a tile and that each tile is generated independently. After playing around a hundred times, though, ...
suburb1a's user avatar
1 vote
1 answer
214 views

Taking a casino slot machine for example: How can the probability of a payout TRULY be random with a preset payout rate? If a casino has slots programmed to a specific rate or percentage of payout, ...
Bill's user avatar
  • 11
1 vote
1 answer
326 views

I have a "drop table" / "loot table" / "item table" / "whatever you want to call it" system and I need to solve two Problems. Apologies in advance for the text ...
Josh M's user avatar
  • 11
0 votes
1 answer
133 views

For modelling a simple game of cricket, Considering a batsman has a single attribute rating. I can go about deciding run chances by weighted probabilities. ...
SomeTypeFoo's user avatar
3 votes
1 answer
6k views

I have installed the latest version of MathNet on Visual Studio using the NuGet Package Manager. I've also, copied the MathNet.Numerics.dll to an Plugins folder in ...
ManoTech's user avatar
  • 157
5 votes
0 answers
120 views

Please can someone point me in the right direction. I'm working on a slot game. that I'm having trouble figuring how to implement the probability function for. The game has a set of symbols that bets ...
MSD's user avatar
  • 51
3 votes
2 answers
444 views

Consider a map not unlike a board game, where some of the moves are made non-deterministic. For example, moving onto certain cells will require you to roll a dice to determine where you should move ...
wondra's user avatar
  • 4,930
1 vote
2 answers
301 views

I've been struggling with this for over a day now. What seemed a simple task, has just wrecked me. I hope someone here can help me figure out what I'm missing. Please, please help me :) The ...
Ultroman the Tacoman's user avatar
1 vote
1 answer
337 views

I'm working on a battle algorithm for a text-based game and I stumble when it comes to randomly distributing attacks on a set of units. E.G, 100 archers shoot 100 targets at the same time. I thought ...
Stubbs's user avatar
  • 11

15 30 50 per page