Advertisement
Guest User

Untitled

a guest
Apr 30th, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. use TerranCommandCenter as knowledge.
  2. use TerranCommandCenter as actionspec.
  3.  
  4. module TerranCommandCenter {
  5. % HACK to have at least something here: you may remove this when using the agent.
  6. if percept(winner) then print("Winner!").
  7.  
  8. % If goal is trainSCV then train the type Terran SCV
  9. if goal(trainSCV) then train("Terran SCV") + drop(trainSCV).
  10.  
  11.  
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement