wow this is great, thanksGenSwat wrote:LOLgot bored checked out ur ink site made you a forum sig?
![]()
who likes Bingooo
Re: who likes Bingooo
Re: who likes Bingooo
It would be without the text.ta2shop wrote:dont now what the admin will think about it but , i hope it is by the rules
The image is 100px high, so it has to be just that and nothing else unfortunately.
I want to be strict on this one because I have seen some forums where you have to scroll for miles because of people signatures.
Re: who likes Bingooo
Then I have hereby edited the rules to say signatures can be only 100px high, because they still said 150px.
Please check out my CodeCanyon items.
Re: who likes Bingooo
thats why i made it 150 height earlier, If this is a problem I wont make people forum sigs 
One of my Favorites


Re: who likes Bingooo
ok, changed the signature to fit the rules
sorry for the inconviniente. (how do you type that?
)
sorry for the inconviniente. (how do you type that?
Re: who likes Bingooo
oops, thanks for that.Tino wrote:because they still said 150px.
no it was my fault for not being clear. sorryGenSwat wrote:thats why i made it 150 height earlier, If this is a problem I wont make people forum sigs
thanks, it was my fault really, I should have remembered to change the rules page.ta2shop wrote:ok, changed the signature to fit the rules![]()
sorry for the inconviniente. (how do you type that?)
Re: who likes Bingooo
thanks you sould read somthing i typed in english like 8 month agoTino wrote:Inconvenience
anyway, was thinking about the bingoo game script thing ... since it is using digits from 1 to 90 i can just use
$number = rand(12,21);and then some sort of function to randomli print one of those numbers?
Re: who likes Bingooo
No, you would just echo $number and it would display a random number between 12 and 21.
Please check out my CodeCanyon items.
Re: who likes Bingooo
my mistake, the number needs to by betwen 1 and 90! so the $number would byTino wrote:No, you would just echo $number and it would display a random number between 12 and 21.
$number = rand(1,90);right ?
Re: who likes Bingooo
OMG my first script with out help
<?php
/**
* @author GenSwat
* @copyright 2011
*/
$number = rand(1,75);
if ($number <= 15) {
echo "B-";
} elseif ($number >= 16 && $number <=30) {
echo "I-";
} elseif ($number >= 31 && $number <= 45) {
echo "N-";
}
elseif ($number >= 46 && $number <= 60) {
echo "G-";
}
elseif ($number >= 61 && $number <= 75) {
echo "O-";
}
echo $number;
?>
I am sure this can be done more clean but from researching found the syntax and started from
<?php $number = rand(1,75); ?>Bingo Generator
One of my Favorites


Re: who likes Bingooo
Basically, players buy cards with numbers on them in a 5 x 5 grid corresponding to the five letters in the word B-I-N-G-O. Numbers such as B-2 or 0-68 are then drawn at random (out of a possible 75 in American Bingo, and 90 in British and Australian Bingo
the above code is for american style bingo so you would have to change it to 1-90 and alter which ones are for B-I-N-G-O in british or austrain 90 ball game
the above code is for american style bingo so you would have to change it to 1-90 and alter which ones are for B-I-N-G-O in british or austrain 90 ball game
One of my Favorites


Re: who likes Bingooo
jacek wrote:Looks clean enough, good job
Thank You, I was gonna try to use Switch and Case 1 Case 2... but couldn't figure it out
One of my Favorites


Re: who likes Bingooo
It's no better than what you haveGenSwat wrote: I was gonna try to use Switch and Case 1 Case 2... but couldn't figure it out
I very rarely use those.
Re: who likes Bingooo
Now I am guessing you would have to have these numbers run a limit,and check for duplicates.
If number exists generate differant number. also in the american game they draw 43 numbers and uses 42.
I just seen other card there is just numbers and not letters...
If number exists generate differant number. also in the american game they draw 43 numbers and uses 42.
I just seen other card there is just numbers and not letters...
One of my Favorites


Re: who likes Bingooo
TA2shop for a more random drawing of number use this
you could add a <br>
I edited the american version of mine to add the letters B-I-N-G-O in a random vertically
<?php
$numbers = range(1, 90);
shuffle($numbers);
foreach ($numbers as $number) {
echo "$number ";
}
?>
this will list 90 number without alot of overlapyou could add a <br>
echo "$number " . '<br>';to make it run vertically
I edited the american version of mine to add the letters B-I-N-G-O in a random vertically
<?php
$numbers = range(1,75);
shuffle($numbers);
foreach ($numbers as $number){
if ($number <= 15) {
echo "B-";
} elseif ($number >= 16 && $number <=30) {
echo "I-";
} elseif ($number >= 31 && $number <= 45) {
echo "N-";
}
elseif ($number >= 46 && $number <= 60) {
echo "G-";
}
elseif ($number >= 61 && $number <= 75) {
echo "O-";
}
echo "$number " . '<br>';
}
?>One of my Favorites


Re: who likes Bingooo
wow, after all the criticisem it ricived a did not now ther are people intrested. thanks 


