Course in game physics