Here is an example of creating a 2D platform game in JEDI-SDL - was entered in a 72hour game dev contest and finished 11 of 25:

http://www.cairnsgames.co.za/gdc72/foogs.zip
http://www.cairnsgames.co.za/gdc72/foogssrc.zip

you need both as the Source does not include the graphics.