This is my guide to the 2d game framework LÖVE.
loveAdd code to main.lua, such as the following taken from the LÖVE home page:
function love.draw()
  love.graphics.print("Hello World!", 400, 300)
end
Then run your game with:
$ love .
https://github.com/love2d/love