Module Car

type t = {
  1. position : Playground.number;
  2. x : Playground.number;
  3. speed : Playground.number;
  4. steer : Playground.number;
}
val start : t
type params = {
  1. max_speed : Playground.number;
  2. accel : Playground.number;
  3. brake : Playground.number;
  4. decel : Playground.number;
  5. off_road_decel : Playground.number;
  6. off_road_limit : Playground.number;
  7. centrifugal : Playground.number;
}
val params : Playground.number -> params
val drive : params -> Road.t -> Playground.keyboard -> t -> t