There are a couple games you can find linked from the master index sticky here (and from there to the master list of KUAL extensions).
As a general rule everything posted here comes with source code.
I suppose you could use any programming language as long as you can get it to compile and run on the Kindle
but you will probably want to either use a Java kindlet or link to the gtk library from the builtin firmware.