Sumários

Behaviour trees in games

19 Abril 2024, 15:00 Luis Manuel Ferreira Fernandes Moniz


The objective of this project is to study the application of a behaviour tree to control the steering and acceleration of a vehicle.

  1. Draw the behaviour tree to control the car (complete the BT in the slides).
  2. Use the  CarsBT.zip  example as a base to implement your behaviour tree.
  3. Add a new sensor to detect the other car in a 100 point range (bullets max distance).
  4. Add a behaviour branch to eliminate the opponent.

Architectures and Behaviours

19 Abril 2024, 13:00 Luis Manuel Ferreira Fernandes Moniz


Decision trees; Finite state machines; Behavior Trees; Goal-oriented behaviors; Rules-based behaviors; Fuzzy architectures; Modeling with scripting languages; Tactical Analysis and Group Behaviors

Behaviour trees in games

12 Abril 2024, 15:00 Luis Manuel Ferreira Fernandes Moniz


The objective of this project is to study the application of a behaviour tree to control the steering and acceleration of a vehicle.

  1. Draw the behaviour tree to control the car (complete the BT in the slides).
  2. Use the  CarsBT.zip  example as a base to implement your behaviour tree.
  3. Add a new sensor to detect the other car in a 100 point range (bullets max distance).
  4. Add a behaviour branch to eliminate the opponent.

Architectures and Behaviours

12 Abril 2024, 13:00 Luis Manuel Ferreira Fernandes Moniz


Decision trees; Finite state machines; Behavior Trees; Goal-oriented behaviors; Rules-based behaviors; Fuzzy architectures; Modeling with scripting languages; Tactical Analysis and Group Behaviors

Decision trees and driving

5 Abril 2024, 15:00 Luis Manuel Ferreira Fernandes Moniz


Objective: Use Decision Trees to control the car behaviour on the track.

  1. Run the Decision Trees examples (DecisionTrees.zip)
  2. Remake the car example and incorporate the DT in the decision process of your car. 

Note:

  • Replace your AbstractCar class with this.
  • Add draw_sensors(win) to your car draw(self,win) function.
  • Use the information in the list self.sensors to check collisions (the order is  [front,left,right,back] with the track colour)