Is the word "play" used in the same way in the following two sentences?

Play the stock market.

They played games on their opponents.
the same meaning