Magic Number Code In Python For Games