Skip to content

Repository files navigation

Fuzzy logic racing car

The project tries to apply fuzzy logic to control car in simple racing game.

Screenshot form the game, including graphs

Controls

  • C – switch the vehicle controller between the keyboard (user) and the fuzzy controller.
  • P – pause the controller.
  • S – execute of one simulation step during pause (1 frame assuming 30 frames per second). At each step, the state of the fuzzy controller is also written to the output (console).
  • V – toggle drawing graphs to illustrate the operation of controller rules.
  • Q – exit from the program.
  • Arrows () and spacebar ( ) – vehicle control when the keyboard controller is active.

To-do

About

A project using PyGame & skfuzzy to try to apply fuzzy logic to control car in simple racing game.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Used by

Contributors

Languages