Python Make Number Negative Javascript Snake Game