Code For A Simple Game In Python