2D Graphics Programming for Games