trying to make a simple 2d game