Try to code a direct2d game