Python Code For Building A Game