1 / 5

Tank Craft

Tank Craft. ---- A simple game AI based on A-star search Bo Liu 12/7/2010. Graph Interface. Rule. Randomly initialize the tank type Pioneer aggressivity : 1 , life : 9 , shot distance : 1

enrico
Download Presentation

Tank Craft

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Tank Craft ---- A simple game AI based on A-star search Bo Liu 12/7/2010

  2. Graph Interface

  3. Rule • Randomly initialize the tank type • Pioneeraggressivity:1 ,life:9,shot distance:1 • Striker aggressivity:2 ,life:3,shot distance:3 • Sniper aggressivity:1 ,life:2,shot distance:5 • Score earned per round = the number of goldmines occupied • Either fire or move in each round, fire first • Life reduction = the aggressivity of enemy • Dead tank will revive after 2 round at its original position • Stone is indestructible, brick has 2 point life. • The side which get 1000 point first will win

  4. A-star Search • Using manhattan distance as heuristic function • Lock the goldmine with shortest manhattan distance • True cost • blank or goldmine: 1 • brick: 3 • broken brick: 2 • stone: infinite

  5. Enjoy the game!

More Related