This games originated from Malaysian kids ways to determine who wins. Each player shows palm hand as a symbol of bird, water or rock. Bird will win against water but loss against rock. Water wins against water. A very popular and simple game when kids need to make decision among themselves.
Updated with revised coding.