Mathematics Basic Code For Game