Bingo

      astutedata.com / games / bingo
 
I wrote this game back in April of 1999 using Java. You'll find links to the source code at the bottom of the page.

The animated GIF was created with the "GIF Construction Set" by Alchemy Mindworks. This program is one of the very earliest of it's kind.
 
 
 
Object of the Game The object of Bingo! is to place five chips in a row (horizontally, vertically, or diagonally) before your opponent does.
 
The Screen The screen consists of two main areas:
  1. Game Control (at the top)

  2. Game Cards (at the bottom)
 
The Game Control Area The Game Control Area is the top row of controls above the Game Cards, and contains the following:
  1. Chip Counter button - Click once on this button to call the next chip. This button also keeps track of the number of chips called.

  2. Caller's List box - This box shows all chips called, separated by dashes (-). When the Chip Counter button is clicked, the newest chip called appears in the far-left side of the box.

  3. Reset button - Clicking this button will start a new Bingo! game.
 
The Game Cards Area There are two Game Cards in this area:
  1. The card on the left is your Bingo! card. If the number on a square matches the newest chip called (from the Caller's List box), then click once on that square. A yellow circle over the square will mark it. The program will automatically detect when you win.

  2. The card on the right is the Caller's Bingo! card. If the number in a square matches the newest chip called (from the Caller's List box), then the program will place a yellow circle over the square to mark it. The program will also automatically detect when the caller wins.
The yellow circles in the winning row, column, or diagonal will change to green.
 
The Source Code There are three .txt files used by this game:
  1. pnlBingoSquare.txt
    This class extends Panel and handles painting the number and the appropriate colored circle.

  2. pnlBingoCard.txt This class extends Panel and manages all of the squares, playing the chip, and checking for a win.


  3. BingoApplet.txt
    This class extends Applet and manages a two player game. The second player is the computer.

 

website powered by WinHost.com