BINGO!!!!!!!!!!!!!!!!!

Bingo!
Creating a Bingo game for my kids, I have 75 menus along with a small script for each of them: (1)mov GPRM 2, 1 (2)exit Pre-Script. Have a CLEAR script incase someone wins and they want to start over, so i put a button on each menu incase this happens and is pointed to this script: (1)GPRM 1, 0 (2)mov GPRM 1, 0 (3)mov GPRM 2, 0 (4) mov B1, 0 (5) mov B2, 0 the (B) in the ball number all the way to mov B75, 0
Now my select Ball script is confusing me a bit ,i have 8 scripts for selecting balls; balls 1-9, balls 10-18, ect... The reason for so many ball scripts is that there are not enough lines to add all 75 balls in one script, so and the end jump of ball 1-9 it goes right to 10-18, everything is working ok, but the thing is that yes it's random from ball 1-9 and so on, it's never really a random game because it has to pick those 9 balls in each script before it goes to the next and so on, my question is, can the ball 1-9, ball 10-18, and so on scripts can those be random as well, so if it's picking a ball from script: balls 1-9 and now is going to pick the next from script: 10-18 and back to script balls 1-9 or to another script because i have 8 ball scripts to choose from or did i go about building this wrong.

seemoore wrote:
Thanks so much Drew for getting back to me, got me off to a great start, have a few more quick questions if i may. I totally scrapped my scripts and build the ones you posted and here is what i ended up with 4 clear ball scripts: 1-24, 25-48, 49-70, 71-75, where should the last clear ball script 71-75 end jump go?
Would probably go to a menu that says "Start Game" with a button that jumps to Shaker script, or you could just jump to Shaker and have the first ball drawn
Ball shaker script i built it just like you posted, i see that it only holds 9 balls due to the lack of commands you can add to a script, do i just build more like that one but change lines 18-43 and change it with the next set of balls 10-18 and also lines 2 - 9 do they need to be changed as well.
Yes basically. Lines 1 through 9 can come out. You will not need to do a Random again since the number is chosen in Line 1 and no further routing is needed because all the Randoms are handled in Lines 2-8 so everything can shift down with Line 9 being the first line. I guess you can then handle an extra ball or two, but this breakdwon into a few scripts handling 9 was something that was (for me) easier to see/maintain. In the other scripts for the balls the lines that are Goto 1 (if Ball Selected) should be go back to Shaker script
Now as far as the rest of my assets in DSP, i have 75 menus called B1 - B75. i assume i need a small script for each ball do i build them as: (1)mov GPRM 7, 1 (2)exit Pre-Script. and have that as a pre script for each ball menu.
Do not need the pre-script (looking like you are just using that to mark as selected) , the lines such as 19, 21, etc mark the balls as selected. Lines 20, 23, 26 should be set to jump to the menu you want
Let's say Shaker is called
1.) Line 1 makes a Random number, it selects 8
2.) Lines 2-8 do nothing since the conditions are not met (GPRM 7 > 9)
3.) Line 16 sends the script down to line 39 since GPRM 7 = 8
4.) Line 39 checks to see if Ball 8 was previously selected (which it wasn't)
5.) Line 40 marks Ball 8 as selected
6.) Line 41 should then send to your Menu B8
man i want to thank you for all you help so far, i get so much help from this forum, awesome people on here.
FWIW I actually made a better version of this, but running into a bug, probably related to Simulator I would guess more than anything. Lot less code and quicker. Will see if I can get it going

Similar Messages

  • Got android 4.1.1 on tablet but it will not play on any bingo sites keeps saying pluging reqierd , flash player is installd and inabled

    i have just got a new tablet pc ( gemini ) running android 4.1.1, when i log on to the bingo site and start to play bingo it say`s plugin required, i know flash player is running as it will let you play video from the same site, but when you click play bingo it opens up a new window and says plugin required, but i do not know what plugin it wants?, flash player is 11.1.1.115.11_121005 can any body help on this please.
    thanks gary.

    Post back with the details of your device

  • I need to create a bingo card...

    Hi I am totally clueless and started my class well behind everybody else. I am not asking for solution to my assignment is the assignment is to create the whole game, all I am asking is how to start. I am supposed to start by creating a Bingo Card. We were given some codes already, like Arraybag, BagADT etc. using General <T>. Could somone please help me get started?
    I am trying to create a bingocard class. I am supposed to use the Arraybag.
    // ArrayBag.java Author: Lewis/Chase
    // Represents an array implementation of a bag.
    import java.util.*;
    public class ArrayBag<T> implements BagADT<T>
    private static Random rand = new Random();
    private final int DEFAULT_CAPACITY = 100;
    private final int NOT_FOUND = -1;
    private int count; // the current number of elements in the bag
    private T[] contents;
    // Creates an empty bag using the default capacity.
    public ArrayBag()
    count = 0;
    contents = (T[])(new Object[DEFAULT_CAPACITY]);
    // Creates an empty bag using the specified capacity.
    public ArrayBag (int initialCapacity)
    count = 0;
    contents = (T[])(new Object[initialCapacity]);
    // Adds the specified element to the bag.
    // Expands the capacity of the bag array if necessary.
    public void add (T element)
    if (size() == contents.length)
    expandCapacity();
    contents[count] = element;
    count++;
    // Adds the contents of the parameter to this bag.
    public void addAll (BagADT<T> bag)
    Iterator<T> scan = bag.iterator();
    while (scan.hasNext())
    add (scan.next());
    // Removes a random element from the set and returns it. Throws
    // an EmptySetException if the set is empty.
    public T removeRandom() throws EmptyBagException
    if (isEmpty())
    throw new EmptyBagException();
    int choice = rand.nextInt(count);
    T result = contents[choice];
    contents[choice] = contents[count-1]; // fill the gap
    contents[count-1] = null;
    count--;
    return result;
    // Removes one occurrence of the specified element from the bag
    // and returns it.Throws an EmptyBagException if the bag is empty
    // and a NoSuchElementException if the target is not in the bag.
    public T remove (T target) throws EmptyBagException,
    NoSuchElementException
    int search = NOT_FOUND;
    if (isEmpty())
    throw new EmptyBagException();
    for (int index=0; index < count && search == NOT_FOUND; index++)
    if (contents[index].equals(target))
    search = index;
    if (search == NOT_FOUND)
    throw new NoSuchElementException();
    T result = contents[search];
    contents[search] = contents[count-1];
    contents[count-1] = null;
    count--;
    return result;
    // Returns a new bag that is the union of this bag and the
    // parameter.
    public BagADT<T> union (BagADT<T> bag)
    ArrayBag<T> both = new ArrayBag<T>();
    for (int index = 0; index < count; index++)
    both.add (contents[index]);
    Iterator<T> scan = bag.iterator();
    while (scan.hasNext())
    both.add (scan.next());
    return both;
    // Returns true if this bag contains the specified target
    // element.
    public boolean contains (T target)
    int search = NOT_FOUND;
    for (int index=0; index < count && search == NOT_FOUND; index++)
    if (contents[index].equals(target))
    search = index;
    return (search != NOT_FOUND);
    // Returns true if this bag contains exactly the same elements
    // as the parameter.
    public boolean equals (BagADT<T> bag)
    boolean result = false;
    ArrayBag<T> temp1 = new ArrayBag<T>();
    ArrayBag<T> temp2 = new ArrayBag<T>();
    T obj;
    if (size() == bag.size())
    temp1.addAll(this);
    temp2.addAll(bag);
    Iterator<T> scan = bag.iterator();
    while (scan.hasNext())
    obj = scan.next();
    if (temp1.contains(obj))
    temp1.remove(obj);
    temp2.remove(obj);
    result = (temp1.isEmpty() && temp2.isEmpty());
    return result;
    // Returns true if this bag is empty and false otherwise.
    public boolean isEmpty()
    return (count == 0);
    // Returns the number of elements currently in this bag.
    public int size()
    return count;
    // Returns an iterator for the elements currently in this bag.
    public Iterator<T> iterator()
    return new ArrayIterator<T> (contents, count);
    // Returns a string representation of this bag.
    public String toString()
    String result = "";
    for (int index=0; index < count; index++)
    result = result + contents[index].toString() + "\n";
    return result;
    // Creates a new array to store the contents of the bag with
    // twice the capacity of the old one.
    private void expandCapacity()
    T[] larger = (T[])(new Object[contents.length*2]);
    for (int index=0; index < contents.length; index++)
    larger[index] = contents[index];
    contents = larger;
    ======================================================
    I started my class like this:
    * BingoCard.java
    * Created on January 28, 2006, 9:08 PM
    * To change this template, choose Tools | Options and locate the template under
    * the Source Creation and Management node. Right-click the template and choose
    * Open. You can then make changes to the template in the Source Editor.
    public class BingoCard {
    /** Creates a new instance of BingoCard */
    public BingoCard() {
    public static void main (String[] args)
    ArrayBag<BingoCard> bingoBag = new ArrayBag<BingoCard>();
    BingoCard Card;
    What can I do or am I doing wrong? Please help me learn.

    Hey thanks for all the help. I got figured out so thanks again. :D

  • My ipad will not connect to App Store plus I can no longer get into my bingo app.  Do I need to restore my ipad, and if so, if I back it up, will I still keep all my levels completed on my apps or will they start from the beginning?

    Please help, I an unable to update any apps on my ipad through the App Store. It will not connect. Also, I am no longer able to log in to bingo bash app and my towers app will not connect either. If I restore my ipad will that fix the problem and if so, will my apps return to levels I am currently on? Ex. Level 346 in candy crush or will I have to start it all over?  It worked fine until we left a week ago for vacation and would not work on hotel wifi. Did not work when we returned home.

    iOS: Device not recognized in iTunes for Mac OS X
    or
    iOS: Device not recognized in iTunes for Windows
    It still could be cable or contacts in the iPod since different contacts/conductor are used for charging and data

  • I got a new card and now I can't purchase any gems for monopoly bingo, I get a message my purchase can't be completed contact support for help

    I Have a new card and I'm trying to purchase gems for monopoly bingo, but I get a message that my purchase can't be completed to contact support for help

    Click here and ask the iTunes Store staff for assistance.
    (124907)

  • My App Store is not working.a bingo blitz bar is being displayed and not going away.what is to be done to make App Store work again

    My App Store is not working.a bingo blitz bar is being displayed and not going away.what is to be done to make App Store work again.

    Hey Charyasmin,
    Thanks for the question, and great troubleshooting so far. You’ve definitely taken the proper first steps. To continue to troubleshoot, the following articles may help:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Thanks,
    Matt M.

  • TS1702 I have been charged for an app. That I did not purchase.  Bingo blitz was a free app and now I have been charged for it.  How do I get my money back?

    Hello I think I have put too much info in my question.  I do however need help getting my money back.  Thank you for your help.

    There are a few apps with variations on 'Bingo Blitz' as their name, at least one of which is paid for and a couple of others, whilst free to download, then allow in-app purchases to be made within them (you can turn off in-app purchases on your iPad via Settings > General > Restrictions > In-App Purchases 'off').
    If it's one of the free apps and you haven't made an in-app purchase within it then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Difficulty with random bingo card generator

    Hi! I'm trying to generate a random bingo card in Flash using
    ActionScript. The psudeo-code is pretty sound, I think, but I can't
    even get the first number onto the card. I'm trying a random number
    variant with output to a dynamic text field. No success. (Simply no
    output at all when I run the code...) Thanks!
    Here's the code...
    // bingoCard.fla
    // Jessica S. Hope
    // November 6, 2007
    // Generate a dynamic ("random") bingo card
    stop();
    init();
    // choose an integer between 1 and 15 for column B
    function init (){
    number = Math.ceil(Math.random() * 15);
    // output to bRow1
    bRow1 = number;
    } // end init
    // REPEAT 4 TIMES TOTAL:
    // choose an integer between 1 and 15 for column B
    //is it a repeat? if yes, choose again; if no, print output
    // choose five integers between 15 and 30 for column I
    // choose five integers between 31 and 45 for column N
    // choose five integers between 46 and 60 for column G
    // choose five integers between 61 and 75 for column O

    use trace(); as much as you can to test your code.
    If it traces, you know its the instance of your textField,
    and less your code.
    also, wen placing text on a textfield, it seems more common
    to say
    textFieldInstanceName.text = randomNumber

  • Why I can't buy bingo chips? how do I do

    why I can 't buy bingo chips? how do I do

    http://www.apple.com/support/itunes/contact/
    However, it is probably not iTunes support you want, but support for the specific vendor of the app. If you check the iTunes store, you should find some links that would help.

  • How do I get rid of an unresponsive FP box in FBs Bingo Blitz?

    I have this problem of not being able to get rid of the Flash Player box covering my game in Facebook's Bingo Blitz.  I was able to get rid of this box in all other games where it showed up.  It won't let me click on ANYTHING in either the Flash Player box or the game.  Ok,  I tried to insert a Screen Shot of the problem, but it tells me that this content is not allowed ..... umm how else do I show what the problem looks like,  it is simply a pic of the FP box over the Bingo Blitz page ...

    Is this the local storage settings box that you are getting?
    If so, try going to your Flash Player control panel.  Select the Storage tab and select the "Allow sites to save information on this computer" option.

  • I have the app Bingo Bash on my iPad. If I was billed for a purchase for chips that I did not get and need to be credited back, who do I contact?

    I Have the Bingo Bash App on my iPad. On November 3rd, I attempted to buy 400 bingo chips for $19.99. It came back with a reply that the transaction did not take place and I was unable to process the order. I then ordered the 200 chips at $9.99 and it took so I ordered an additional 200. On November 4th I ordered another 200 chips for $9.99.
    You charged me for the $19.99 which I need to be credited back. I would appreciate your resolving and advising me of such.
    thank you,

    We are fellow users here on these user-to-user forums, you're not talking to iTunes Support.
    You can try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • What can I use on iPad to play bingo as apple have blocked adobe flash player

    What can I use on iPad to play bingo as apple have blocked adobe flash player

    jeanette fromepsom wrote:
    What can I use on iPad to play bingo as apple have blocked adobe flash player
    Apple can't block that which Adobe don't make.

  • HT201359 I purchased gems for the game bingo and they are not there however I received my receipt to my email stating its paid for and it says it is gems purchased for the game pet story but they are not there either..how can this be corrected?

    I purchased gems for the game bingo but they are not there however I received the bill to my email stating its paid and it shows it was gems purchased for the game pet story but the gems are not there either. How can I correct this problem?

    Thanks very much I have contacted them via this. Just hope they respond quickly- rather annoing! Greatly appreciated though

  • HT203167 How to contest my package purchase from Bingo Bash.

    I want a refund because Bingo Bash cancelled and took back my purchased package but my payment went through.  I got the payment confirmation from Apple.

    Go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to report the issue to the iTunes Store.
    Regards.

  • WHO CAN HELP MEE!! I BOUGTH MONEY IN A BINGO LIVE AND DONT GIVE MY POINTS! MY BOUGHT WAS OF THE 100 DLLS O $1200.00 MX PESOS, WHO CAN HELP MEE!! I BOUGTH MONEY IN A BINGO LIVE AND DONT GIVE MY POINTS! MY BOUGHT WAS OF THE 100 DLLS O $1200.00 MX PESOS

    WHO CAN HELP MEE!! I BOUGTH MONEY IN A BINGO LIVE AND DONT GIVE MY POINTS! MY BOUGHT WAS OF THE 100 DLLS O $1200.00 MX PESOS, WHO CAN HELP MEE!! I BOUGTH MONEY IN A BINGO LIVE AND DONT GIVE MY POINTS! MY BOUGHT WAS OF THE 100 DLLS O $1200.00 MX PESOS

    If you did not receive an in-app purchase, you should contact the developer of the App in question. Support for Bingo LIVE! by PlayPhone can be found here:
    http://playphone.com/support

  • Random numbers to make simple bingo game

    Hi folks.
    I am making a simple Bingo game in Director.
    1. generate a random number up to 75; Number=random(75)
    2. check if this number is on a list
    3. if not the number is valid and code executed to display
    the "bingo ball"
    4. add the number to the list
    and repeat.
    Is this valid? Are there problems with this approach, ie. as
    the numbers are called, the random number generated has more
    likelihood of being on the list already so will speed take a hit?
    OR is there another way to do this?
    Thanks in advance

    The issue with your approach will be evident when you've
    removed a bunch of numbers already. What you will see is that the
    number of times you will have to repeat step 2 will grow each time
    you draw a bing ball as the number of balls drawn increases. How I
    would approach it is in the reverse...
    1. create your list of numbers from 1 to 75, procedurally at
    the beginning:
    bingoList = []
    repeat witih j = 1 to 75
    bingoList.add(j)
    end repeat
    -- that gives us a list containing the numbers from 1 to 75.
    2. Now, all you have to do is generate a random number based
    off the number of items in the list and then remove that item from
    the list:
    listCount = bingoList.count
    bingoBallPosition = random(listCount)
    -- get the bingo ball value at the position in the list:
    bingoBall = bingoList[bingoBallPosition]
    -- remove that ball number from the list
    bingoList.deleteAt(bingoBallPosition)
    You will have to do other things such as setting the
    bingoList as a global or property variable depending on how you
    code your project....
    you may want to se this up in a moviescript if you're a
    novice programmer so you can call the handlers from anywhere in
    your project... so you'd probably want to create a newGame handler
    that would set up your list (and other stuff)....
    -- moviescript
    global bingoList, bingoBall
    on newGame
    bingoList = []
    repeat witih j = 1 to 75
    bingoList.add(j)
    end repeat
    end newGame
    on getBingoBall
    listCount = bingoList.count
    bingoBallPosition = random(listCount)
    -- get the bingo ball value at the position in the list:
    bingoBall = bingoList[bingoBallPosition]
    -- remove that ball number from the list
    bingoList.deleteAt(bingoBall)
    -- do other stuff here such as display the bingo ball
    end getBingoBall

Maybe you are looking for

  • CALL WEBI Report from SAP Portal

    Hi Experts, I need to call WEBI report from SAP Portal, is it possible? The submitted report will be opened in the same window? Kind Regads.

  • What is the "other" section on my ipod and how do i remove it

    hi, im not the most ipod literate user in the world, but i have heaps of storage space being used in the section other. what is in there and how do i take it off?

  • Inventory - Overhead added at each assembly stage

    hi Guru, : Inventory - Overhead added at each assembly stage I have had a look into the BOM for the product code #####-######. At each assembly stage of the product overhead is added on. This is grossing up each time, meaning that the BOM and cost in

  • Work flow model resume

    Hi All, Hope all is well with you, I am working as an ABAP consultant, and getting trained on SAP Workflow. I want some model resume of Workflow. Can anybody please send some model resumes on SAP workflow? It is very useful to me. Thanks in advance.

  • What problem in my j2eeadmin.bat

    I installed J2sdkee1.3.1 to Win98, I can startup the J2ee server. Once I typed j2eeadmin -addJmsDestination MyQueue queue, I got the following message : C:\j2sdkee1.3.1\bin>j2eeadmin -addJMSDestination jms/MyQueue queue Usage: -addJdbcDriver <class n