Results 1 to 4 of 4

Thread: How to check Bingo game numbers in loop

  1. #1
    Join Date
    Sep 2009
    Posts
    87

    How to check Bingo game numbers in loop

    Hello Friends,

    I had installed Windows Vista on my machine. I would like to know that how to check Bingo game numbers in the loop? Any one has any idea about it? Please provide me the correct solution for the above issue. Any help you can provide would be greatly appreciated.

    Thanks in advance

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

    Re: How to check Bingo game numbers in loop

    In math bingo, each student is given a bingo card (also known as a "bingo worksheet" or "bingo board") printed with numbers. Have you tried stepping through the function using your debugger? Try to use CheckIfExist() for checking that there is no duplicate no. in b,i,n,g,o but it always display a same number and also display 0...i want the get different numbers without repeating any number.

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    Re: How to check Bingo game numbers in loop

    You should try to be consistent with using {} in for/if loops. An electronic bingo game is disclosed in which a memory is provided for storing all of the numbers called in a last set until the current set is completed and the next set begun. You could also try to see if you can make the # of computers dynamic.

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    Re: How to check Bingo game numbers in loop

    As the "BINGO caller", you need to pick a number from 1 to 24. Your for loop is going to iterate as long as check is LESS than row. But, your if statement: if (num1 == card[check][col]) samenum = true, will evaluate FOR ALL CASES during the loop until the loop is done. (it has no exit for when samenum is True)You may do this by rolling a die (game stores have multi-sided die), using a spinner, picking numbers from a bag, or generating the random number on your TI-83+/84+ graphing calculator.

Similar Threads

  1. loop Pedals in Rocksmith Game
    By Doshti in forum Video Games
    Replies: 6
    Last Post: 24-10-2011, 03:06 PM
  2. Replies: 6
    Last Post: 19-08-2011, 10:29 AM
  3. Game loop problem with XNA
    By Botan in forum Software Development
    Replies: 5
    Last Post: 30-11-2010, 05:35 AM
  4. Need C program code to count numbers of negative & positive numbers
    By Sarfaraj Khan in forum Software Development
    Replies: 5
    Last Post: 16-01-2010, 02:00 PM
  5. Loop counting odd and even numbers
    By Allan.d in forum Software Development
    Replies: 3
    Last Post: 23-10-2009, 11:40 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,558,196.09607 seconds with 17 queries