A Python Code For A Small Game