a simple game using pygame framework