A simple implementation of Huckle Buckle Beanbag in JavaScript. Guess the random number between 1 and 100. Huckle Buckle Beanbag also called Hide the Object or Hide the Key, is a childhood game that involves the hiding and seeking of an object. It is a variation of a traditional parlor game that can be played with two or more players, one being the hider, or the person who is βit,β and the other person or persons being seekers. The game has also been known as Hot Buttered Beans in the US since at least 1830 and as Hunt, the Thimble, Hide the Thimble or Hide the Handkerchief in both the US and the UK. William Wells Newell described a version called Thimble in Sight in his 1883 Games and Songs of American Children. The game is known in various European countries.
css, html, java script we created a Huckle-Buckle-Beanbag program in which computer choose a number itself and the user have to guess the number in the minimum tries. When the user input the number, system tells the user it is hotter or cooler as the number is less or greater then the number chosen by the computer, and if the user gets the right number computer diaplays the total number of tries taken by user.