Kodu's programming model is simplified and can be programmed using only a gaming controller. It dispenses with the majority of "serious" programming conventions, including symbolic variables, branching, loops, number and string manipulation, subroutines, polymorphism ... and so on.
This simplicity is achieved by situating the programming task in a largely complete simulation environment. The user programs the behaviors of characters in a 3d world, and programs are expressed in a high-level, sensory paradigm consisting of a rule-based language based on conditions and actions.
The typical "hello world" of Kodu is:
The grammar, as it were, of this expression is:
Where <condition> is:
And <action> is:
An illustrative variant of the above program is:
Many different types of game can be made in kodu, such as racing, strategy, rpg, adventure, platform, puzzle, 1st person shooters, and others. Putting a game in First-person perspective is simply a matter of placing the eponymous action.