[ECTOs] PortalHomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in


Share | 
 

 [meh] Haldamir's Tricky Tray [Ended]

View previous topic View next topic Go down 
Goto page : Previous  1, 2, 3
AuthorMessage
aydog80
Level 1 Member
Level 1 Member



Posts: 46
Registered: 2010-02-03


PostSubject: Re: [meh] Haldamir's Tricky Tray [Ended]   2010-05-14, 7:37 pm

60 tickets on Globs of Ectoplasm

20 tickets on Stacks of Feathers
10 tickets A Stack of Merchant Summoning Stones
40 tickets on 10 Rubies
10 tickets on 10 Sapphires
60 tickets Five Domain of Anguish Gemstone Se
Back to top Go down
View user profile
Natch
Level 1 Member
Level 1 Member



Posts: 14
Registered: 2010-04-25

Age: 23
Location: Northern Virginia


PostSubject: Re: [meh] Haldamir's Tricky Tray [Ended]   2010-05-14, 7:42 pm

30 on 2
30 on 3
50 on 5
30 on 9
30 on 10
30 on 13
updated!
Back to top Go down
View user profile
Haldamir
Level 2 Member
Level 2 Member



Posts: 132
Registered: 2010-01-21

Age: 23
Location: GA


PostSubject: Re: [meh] Haldamir's Tricky Tray [Ended]   2010-05-15, 8:44 am

Code:
#include
#include

using namespace std; // So the program can see cout and endl

int winner ( int x, int y, int z );
void prizenames (int prizenum);
int main()
    {
        int y, z; // integer y equals the number of prizes that are in the tricky tray, z = # of tickets in the prize box
        cout << "Please enter the number of prizes in this tricky tray: ";
        cin >> y;
        cin.ignore();
        cout << "\n";
        for ( int x = 2; x <= y; x++ )
        {
            cout<< "please enter the number of tickets in the ";
            prizenames (x);
            cin>> z;
            cout<<"CONGRATULATIONS TO NUMBER "<< winner ( x, y, z ) << ": YOU WON ";
            prizenames(x);
            cout<<"!\n";
        }
        cin.get();
    }

int winner ( int x, int y, int z )
{
    int winner = rand() % (z) + 1;
    return winner;
}

void prizenames ( int prizenum )
{
    switch ( prizenum ) {
    case 1:
        cout << "Armbrace: ";
        break;
    case 2:
        cout << "10 Globs of Ectoplasm: ";
        break;
    case 3:
        cout << "10 Consets: ";
        break;
    case 4:
        cout << "10 Stacks of Feathers: ";
        break;
    case 5:
        cout << "A Stack of Stack Eggs: ";
        break;
    case 6:
        cout << "A Stack of Golden Eggs: ";
        break;
    case 7:
        cout << "A Stack of Merchant Summoning Stones: ";
        break;
    case 8:
        cout << "80.000 Gold";
        break;
    case 9:
        cout << "10 Sapphires";
        break;
    case 10:
        cout << "10 Rubies";
        break;
    case 11:
        cout << "10 Stacks of Glittering Dust";
        break;
    case 12:
        cout << "500 Minutes of Alcohol";
        break;
    case 13:
        cout << "5 Domain of Anguish Gemsets";
        break;
    default:
        break;
}
}


This is what the current code for the program looks like. I'm not finished yet as I need to figure out exactly how I'm going to do the numbers assigned to the tickets to fully randomize it so that I don't really have any hand in it.
Back to top Go down
View user profile
amaretto creme
GOD Member
GOD Member



Posts: 2206
Registered: 2009-07-07

Location: PA


PostSubject: Re: [meh] Haldamir's Tricky Tray [Ended]   2010-05-15, 12:40 pm

AHHHHHH C++ -dies-
Back to top Go down
View user profile
Haldamir
Level 2 Member
Level 2 Member



Posts: 132
Registered: 2010-01-21

Age: 23
Location: GA


PostSubject: Re: [meh] Haldamir's Tricky Tray [Ended]   2010-05-15, 8:14 pm

THE FINAL STANDINGS! YOU HAVE 24 HOURS TO SAY IF THERE'S ANY MISTAKES HERE! IF NOT THIS IS WHAT IT'S GOING AS


Back to top Go down
View user profile
Haldamir
Level 2 Member
Level 2 Member



Posts: 132
Registered: 2010-01-21

Age: 23
Location: GA


PostSubject: Re: [meh] Haldamir's Tricky Tray [Ended]   2010-05-16, 7:46 am

Back to top Go down
View user profile
Fulla Kick
Level 1 Member
Level 1 Member



Posts: 44
Registered: 2010-03-10


PostSubject: Re: [meh] Haldamir's Tricky Tray [Ended]   2010-05-18, 9:53 am

anybody got their prizes?
Back to top Go down
View user profile
Haldamir
Level 2 Member
Level 2 Member



Posts: 132
Registered: 2010-01-21

Age: 23
Location: GA


PostSubject: Re: [meh] Haldamir's Tricky Tray [Ended]   2010-05-18, 10:33 am

Andy currently has the prizes as I've now moved to elsewhere.
Back to top Go down
View user profile
Memmax
Level 2 Member
Level 2 Member



Posts: 171
Registered: 2009-06-24

Age: 31
Location: Rapid City, SD


PostSubject: Re: [meh] Haldamir's Tricky Tray [Ended]   2010-05-18, 11:34 am

I may have the prizes but don't know how to give them to. I don't know who the winners are
Back to top Go down
View user profile
Industrial Sized
Level 2 Member
Level 2 Member



Posts: 102
Registered: 2010-01-29

Age: 22
Location: Illinois, USA


PostSubject: Re: [meh] Haldamir's Tricky Tray [Ended]   2010-05-18, 11:53 am

Haldamir has updated his first post, each slot has who won that item
Back to top Go down
View user profile
Memmax
Level 2 Member
Level 2 Member



Posts: 171
Registered: 2009-06-24

Age: 31
Location: Rapid City, SD


PostSubject: Re: [meh] Haldamir's Tricky Tray [Ended]   2010-05-18, 1:39 pm

O.K. Knowing that I will distribute the items I have left when I see the winner online.

Hopefully I'll be on for a while tonight.
Back to top Go down
View user profile
Memmax
Level 2 Member
Level 2 Member



Posts: 171
Registered: 2009-06-24

Age: 31
Location: Rapid City, SD


PostSubject: Re: [meh] Haldamir's Tricky Tray [Ended]   2010-05-19, 12:54 pm

Should be on again tonight for a while. Industrial sorry I had to bail last night. Serious kid AG man.
Back to top Go down
View user profile
Khari
Level 2 Member
Level 2 Member



Posts: 179
Registered: 2010-03-08

Age: 22

PostSubject: Re: [meh] Haldamir's Tricky Tray [Ended]   2010-05-20, 1:47 am

Got my prize, thanks Smile
Back to top Go down
View user profile
DarknessesDaughter
Level 1 Member
Level 1 Member



Posts: 81
Registered: 2010-04-05

Location: Texas


PostSubject: Re: [meh] Haldamir's Tricky Tray [Ended]   2010-05-23, 10:54 pm

how many tickets did u end up selling?
Back to top Go down
View user profile
 

[meh] Haldamir's Tricky Tray [Ended]

View previous topic View next topic Back to top 

 Similar topics

-
» [meh] Haldamir's Tricky Tray [Ended]
» 1st Tricky Tray
» Tricky Tray - Rules
» Tray
» Kilo Tray Ballas
Page 3 of 3Goto page : Previous  1, 2, 3

Permissions in this forum:You cannot reply to topics in this forum
[ECTOs] Community Forums :: Community Awareness :: Happenings Bulletin Board-