View Single Post
Old Sep 4th, 2005, 11:05 AM   #1
Jessehk
The Oblivious One
 
Jessehk's Avatar
 
Join Date: May 2005
Location: Ontario, Canada
Posts: 641
Rep Power: 4 Jessehk is on a distinguished road
beginner project -- Bingo!

I was just recently played bingo, and I decided: "Hey, I could probably make a bingo program!".

The language would be C++ with a bingo class.

A two-dimensional array would hold 5 colums with an array of random numbers one through 15.

The idea would be that there are AI boards, and one computer board.

Random numbers are called out, and when all the numbers are called on somebodie's board ( trying to figure out how to keep track of a line ) , the player that wins ( either AI or human ), gets a point.

I could keep track of numbers that are called by marking an equivelent array with ones and zeroes, then comparing them.

Is this feasable? What do all think?
Jessehk is offline   Reply With Quote