Minimal game engine using opengl and lua