A.I. in any boardgame for solo play can be done like this:
Posted: Mon May 09, 2016 10:21 pm
A.I. in any boardgame for solo play can be done like this:
devide each discition into percentages, eg: 40% left, 30% right, 20% retreat, an 10% wait.
then roll 2 10 sided dice, and get a percentage score, if less than 11 wait, if inbetween 10 and 30 retreat(remember all the scores are added ), if between 30 and 60 go right, and above 60 go left.
you can do this with any decsition you like
the idea is to make a few rational plans , then decide on which with dice, this gives the plans well thought out responses that are not random,
any number of percentages can be used , no magic numbers
what I'm suggesting, My idea is simple like mythic GM, you piechart all possibilities out of a 100 then roll and do the action on the piechart. I know its simple , that's the goal of it, and I know we have all thought of diecing , but to formulate 4or5 plans prior and then diceing you get a real feeling of a real opponent
quote
so you are saying you would change the percentages based on the most likely decision? I would guess there could be several combinations depending on the situation. Maybe even some as simple as 75% retreat/25% attack.
endquote
yes you get the idea, each situation is estimated down to a percentage, there can be 100 possibilities, or just two.
devide each discition into percentages, eg: 40% left, 30% right, 20% retreat, an 10% wait.
then roll 2 10 sided dice, and get a percentage score, if less than 11 wait, if inbetween 10 and 30 retreat(remember all the scores are added ), if between 30 and 60 go right, and above 60 go left.
you can do this with any decsition you like
the idea is to make a few rational plans , then decide on which with dice, this gives the plans well thought out responses that are not random,
any number of percentages can be used , no magic numbers
what I'm suggesting, My idea is simple like mythic GM, you piechart all possibilities out of a 100 then roll and do the action on the piechart. I know its simple , that's the goal of it, and I know we have all thought of diecing , but to formulate 4or5 plans prior and then diceing you get a real feeling of a real opponent
quote
so you are saying you would change the percentages based on the most likely decision? I would guess there could be several combinations depending on the situation. Maybe even some as simple as 75% retreat/25% attack.
endquote
yes you get the idea, each situation is estimated down to a percentage, there can be 100 possibilities, or just two.