Beowulf
Arcane
- Joined
- Mar 2, 2015
- Messages
- 2,056
Smejki , what's up with the dice game?
Are the results of the throw decided at the start of the AI turn?
That is - does the algorithm generate dice values and steps for the AI player turn instantly? Like a chain of steps: player throws, here are the results of a throw, the player picks two dice valued 5, throws again, picks up one die valued 1, throws again and gets "bust" result.
Because someone could look into that, as the AI quite often gets enough points to win the game, but still continues throwing with the chances getting slimmer and gets 0 points on the winning throw eventually.
Or the algorithm is just poorly written, as it doesn't check for the "match target value" win state.
Are the results of the throw decided at the start of the AI turn?
That is - does the algorithm generate dice values and steps for the AI player turn instantly? Like a chain of steps: player throws, here are the results of a throw, the player picks two dice valued 5, throws again, picks up one die valued 1, throws again and gets "bust" result.
Because someone could look into that, as the AI quite often gets enough points to win the game, but still continues throwing with the chances getting slimmer and gets 0 points on the winning throw eventually.
Or the algorithm is just poorly written, as it doesn't check for the "match target value" win state.