python game assignment