The circuit functions as a digital dice using a binary counter, logic gates, and LED display. The counter cycles through counts from 0 to 6 to randomly display the six faces of a dice. The logic section uses the outputs of the 3-bit counter and logic gates like NOR, NAND to determine which of the 7 LEDs will light up to display the number. Placing a finger on the touchpad starts the oscillator and random counting to simulate rolling a dice.