You want to go to the state fair and try your luck playing games. The entrance fee is $10 and the games are $1.50 each. You have a total of $40 to spend. How many total games can you play?