Several tools are developped for creating your game, or learn about the system of a game:
For instance at MIT: Scratch
Or Gamemaker (in Dutch) from Mark Overmars
and Gamestudio bij Ijsfontein.
and I guess many more do exsist…