code games. learn Python.
In Python you can code by using the direct_mode or by using an program editor.
Some python program editors also include access to the direct mode.
For a list of program editors suited for python, see: