The Expected value of a random variable X with probability mass m is defined as:
Example of the dice game: Say you lose the points marked for an odd number, win the points marked for an even one. What is your expected gain?