It's called a "shell game". It's designed to exploit the foolish and ignorant.
The shell game (also known as Thimblerig, Three shells and a pea, the old army game) is portrayed as a gambling game, but in reality, when a wager for money is made, it is almost always a confidence trick used to perpetrate fraud.
What is your purpose of beong here