Click here to Skip to main content
15,868,016 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Where To Begin - Excel Manipulation Pin
(Mike) ipscone 20-May-22 6:52
(Mike) ipscone 20-May-22 6:52 
GeneralRe: Where To Begin - Excel Manipulation Pin
Gerry Schmitz21-May-22 5:30
mveGerry Schmitz21-May-22 5:30 
GeneralRe: Where To Begin - Excel Manipulation Pin
Mirzakhmet Syzdykov10-Nov-22 9:34
professionalMirzakhmet Syzdykov10-Nov-22 9:34 
QuestionCreating paths in a 2D array Pin
Member 1561542626-Apr-22 1:18
Member 1561542626-Apr-22 1:18 
AnswerRe: Creating paths in a 2D array Pin
Randor 26-Apr-22 17:48
professional Randor 26-Apr-22 17:48 
AnswerRe: Creating paths in a 2D array Pin
Syed Mubashshir Hasan5-Oct-22 22:50
Syed Mubashshir Hasan5-Oct-22 22:50 
QuestionVirtual sports algorithms. How it works? Pin
Cryptocurrency3-Apr-22 19:45
Cryptocurrency3-Apr-22 19:45 
AnswerRe: Virtual sports algorithms. How it works? Pin
Gerry Schmitz26-Apr-22 6:00
mveGerry Schmitz26-Apr-22 6:00 
The "random number generator" (i.e. dice, before computers), and the probabilities of a certain event happening are what determine the outcome.

There are always a number of possibilities: winning, losing, completely defeated, routed, etc.; based on the scenario.

Based on other factors (numerical superiority, morale, condition, prior movements, weather, etc) the probability of a certain outcome is predicted (using prior history) and a possible result and consequence is assigned. The probably of a certain (dice) throw is then matched to the relative probability of the events to predict. One can use as many "dice" (random numbers) as are needed to cover the spread.

The throw is made, the number is matched to the probability assigned to a given outcome, and you have a result.

The key is that the probability of a given event varies with the factors in effect at that given time. You obviously need to capture (or simulate) all those factors in order to make a realistic "game".


"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

QuestionMethods for Solving different forms of Recurrence Relations Pin
Dawood Ahmad 20213-Apr-22 10:46
Dawood Ahmad 20213-Apr-22 10:46 
AnswerRe: Methods for Solving different forms of Recurrence Relations Pin
Randor 26-Apr-22 18:06
professional Randor 26-Apr-22 18:06 
QuestionHelp with allocation algorithm Pin
Cynthia Moore30-Mar-22 23:53
Cynthia Moore30-Mar-22 23:53 
AnswerRe: Help with allocation algorithm Pin
Member 146609423-May-22 4:01
Member 146609423-May-22 4:01 
AnswerRe: Help with allocation algorithm Pin
englebart12-Oct-22 16:01
professionalenglebart12-Oct-22 16:01 
QuestionVery smart pointers Pin
Andy Oct202121-Mar-22 9:24
Andy Oct202121-Mar-22 9:24 
AnswerRe: Very smart pointers Pin
Greg Utas26-Mar-22 10:14
professionalGreg Utas26-Mar-22 10:14 
AnswerRe: Very smart pointers Pin
Member 146609423-May-22 4:13
Member 146609423-May-22 4:13 
GeneralRe: Very smart pointers Pin
Andy Oct20213-May-22 22:21
Andy Oct20213-May-22 22:21 
QuestionMaximum Sum of Value of Positions Along a Path Pin
Jj2093884218-Mar-22 13:30
Jj2093884218-Mar-22 13:30 
AnswerRe: Maximum Sum of Value of Positions Along a Path Pin
Richard Andrew x6418-Mar-22 14:11
professionalRichard Andrew x6418-Mar-22 14:11 
GeneralRe: Maximum Sum of Value of Positions Along a Path Pin
Jj2093884218-Mar-22 14:21
Jj2093884218-Mar-22 14:21 
AnswerRe: Maximum Sum of Value of Positions Along a Path Pin
Richard Andrew x6418-Mar-22 14:25
professionalRichard Andrew x6418-Mar-22 14:25 
GeneralRe: Maximum Sum of Value of Positions Along a Path Pin
Jj2093884218-Mar-22 18:40
Jj2093884218-Mar-22 18:40 
AnswerRe: Maximum Sum of Value of Positions Along a Path Pin
Gerry Schmitz19-Mar-22 5:33
mveGerry Schmitz19-Mar-22 5:33 
GeneralRe: Maximum Sum of Value of Positions Along a Path Pin
Jj2093884219-Mar-22 5:49
Jj2093884219-Mar-22 5:49 
GeneralRe: Maximum Sum of Value of Positions Along a Path Pin
Gerry Schmitz19-Mar-22 6:12
mveGerry Schmitz19-Mar-22 6:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.