Abstract:JavaScript is a scripting language in computer network which mainly used to add dynamic effect and interaction to webpage.Bingo is a card game popular in Britain and America.This paper analyzes the algorithm of Bingo game,promotes a universal solution for building Bingo games using JavaScript on the website,and offers the core code of program for easy transplantation and expansion.