Forum Message
| Message header Area/Game: | Blue Max | Topic: | Suggestions, improvement, critics | Subject: | What algorithm would you give automove | Posted by: | edwardlaneuk - 5years 319days ago. |
|
|
| Message text Ok this is a bit of a crazy idea, but if you wanted to write a fresh set of instructions to automove your plane with a minimum level of processing power required, what rules would you write ?
So the obvious first step would seem to be
a) make a random move from the set of available moves for your plane
that can honed - based on where you will end up
b)unless every move will take you off the board, cut down the options to only include options that will keep you on the board (and ideally also not ones that leave you pointing off the board in the corner) - if you must go off the board, ideally go off your own side
c) if there is an enemy plane available to tail - tail it (one at random if more than 1)
not sure how to get it to optimise shooting enemy planes down, or avoiding getting shot down maybe - know the available enemy plane moves, if you put bullet marks in hexes those could shoot eliminate from your possible moves list any places where there are any bullet marks - and pick one of those remaining moves - if no such moves exist - try again with only range 2 guns, and go to one of those which had fewest range 3 bullet marks and so on ?
and maybe if there are still multiple options - rather than randomly choosing, choose the one with the most possible enemy plane positions in range 0/1/2/3 - or weight the random slightly based on that (so that it's not 100% predictable)
if fuel less than needed to reach home side of board before fuel = 0, change the weighting toward heading home ?
I think this roughly matches how I fly anyway - apart from fuel consumption and assuming other players are playing like that and trying to double bluff them a bit - thoughts ?
--- Message edited by edwardlaneuk |
|
|
|
|