Learning how to do simple game programming