What is the phrase ending in "game" that means a fool's errand?

A little reflection brought to mind the phrase I was seeking: A Mug's Game. Originated 1910.


The phrase "it is a fool's game" seems common and idiomatic enough.