Coin matching and finger flashing were among the first formal games to arise in the history of gambling. The class of Morra games extends back to the pre-Christian era, although not until comparatively recent times have game-theoretic solutions been derived.