"Cockles and Mussels" (also known as "Molly Malone") is a traditional Irish song—not a hand game. It can absolutely be played on piano; countless arrangements exist for all levels.
The original answer incorrectly labeled it a hand game. It's a beloved folk melody, equally at home on piano, tin whistle, guitar, or voice.