All of the basics you need to start using Typed Racket.
Giving types to variables and functions.
Using define-struct in Typed Racket. Additional info on posn-util, struct-copy, and limit for use with make-color.
big-bang works almost exactly the same in Typed Racket. This page explains any differences.
Introductory exercises for learning Typed Racket.
Additional practice writing typed functions, includes lists and recursion.
Exercises to practice using structures in Typed Racket.
Game struct For bumper boats, we want a struct that contains: id name position velocity radius color Draw handler For one player bumper cars, just draw the single car (circle) in the right color, with the name shown in the middle of it. Tick handler Update the position, adding the velocity. Mouse handler Change the velocity so that the circle moves towards the mouse click with a speed of 10.
Conversion from one player to two player bumper boats.
Two player checkers in Typed Racket