Jeopardy Scorekeeper
Jeopardy Scorekeeper
Jeopardy Scorekeeper
Jeopardy Scorekeeper
Jeopardy Scorekeeper
Jeopardy Scorekeeper Jeopardy Scorekeeper Jeopardy Scorekeeper Jeopardy Scorekeeper Jeopardy Scorekeeper Jeopardy Scorekeeper Jeopardy Scorekeeper Jeopardy Scorekeeper
Jeopardy Scorekeeper Jeopardy Scorekeeper
Jeopardy Scorekeeper
Go Back  Xtreme Visual Basic Talk > > > Jeopardy Scorekeeper


Reply
 
Thread Tools Display Modes
  #21  
Old 08-03-2005, 03:55 PM
heelsrule1988 heelsrule1988 is offline
Newcomer
 
Join Date: Jul 2005
Posts: 15
Default


Oh, wait. You're saying if I copy the Jeopardy round form (redoing the values of course), the score will automatically carry over? Nice, I see now. But, I want to tell it to switch to the Double Jeopardy round form as soon as the last clue in the Jeopardy round is finished with. How do I do that?
Reply With Quote
  #22  
Old 08-04-2005, 07:16 AM
Machaira's Avatar
MachairaJeopardy Scorekeeper Machaira is offline
Jedi Coder

* Expert *
 
Join Date: Aug 2002
Location: Abingdon, MD
Posts: 3,438
Default

That's not exactly what I'm saying. If you're going to make another form for the Double Jeopardy round you pass it the current amount and store it as a member of the form, just as you're doing with the 1st form. The other way of doing it uses the same form for both rounds so you already have the amount.

As for switching to the Double Jeopardy round the first thing you have to consider is that the regular round may expire before every question is answered (unusual but it happens) so you need a manual way to start the 2nd round. To automatically detect you would add code to the ProcessAnswer function:
Code:
Dim ctrl As Control
Dim bRoundOver As Boolean = True

For Each ctrl in Me.Controls
    If TypeOf ctrl Is Button And ctrl.Visible = True Then 
        bRoundOver = False
        'no need to go any further
        Exit For
    End If
Next ctrl

If bRoundOver Then

    'show next form or reset this one for Double Jeopardy

End If
Reply With Quote
  #23  
Old 08-04-2005, 12:16 PM
heelsrule1988 heelsrule1988 is offline
Newcomer
 
Join Date: Jul 2005
Posts: 15
Default

I knew about the round ending early sometimes (I'm a huge Jeopardy fan, lol), but I didn't do anything about it because I didn't think there was a way to do it. In the old Jeopardy scorekeeper I used that somebody else made, I always just used to select "no ring in" with the last few clues. So that's pretty cool that you can do that. You said I could tell it to reset the form and just use different values, though. Plus, I would want to tell it to change the text in the top right to "Double Jeopardy round" instead of "Jeopardy round". How do I do that?

Also, I think I might need your help on the Daily Double. Since that'll probably be a bit complicated, I added you on AIM, so we don't have to go back and forth by posting on this board.
Reply With Quote
  #24  
Old 08-04-2005, 02:02 PM
Machaira's Avatar
MachairaJeopardy Scorekeeper Machaira is offline
Jedi Coder

* Expert *
 
Join Date: Aug 2002
Location: Abingdon, MD
Posts: 3,438
Default

To end the round early you could just put a button on the form that resets everything or opens the other form, whichever way you're doing it.

The Daily Double's not that complicated. What exactly is the problem?

I rarely have my IM's open (I use Trillian for all of them ), so it might be difficult to get me on AIM.
Reply With Quote
  #25  
Old 08-04-2005, 03:37 PM
heelsrule1988 heelsrule1988 is offline
Newcomer
 
Join Date: Jul 2005
Posts: 15
Default

Remember, I'm pretty much a newbie at this, lol. So it's all pretty tricky to me. I never thought about doing a button that resets the form for Double Jeopardy, so that is a fantastic idea. The question I have, though, is how exactly do you tell it to reset the form to make it ready for Double Jeopardy? I'd rather do it that way rather than making a new form, so all I have to do is push the button and, bam, the new values (as well as "Jeopardy round" changing to "Double Jeopardy round" in the top right of the form) appear. Also, about the Daily Double; I'd rather do it the original way I was going to do it, instead of adding a Daily Double checkbox/text box to the clue dialog. I'm mostly going to use the Daily Double dialog to correct mistakes in case I press the wrong button or something, so I'd rather it stand alone. With that said, all I need to know is how to get the Daily Double dialog to add/subtract to the score. I'll have a text box in it, so all I need to know is how to tell it to use that value entered in the text box.
Reply With Quote
  #26  
Old 08-05-2005, 07:36 AM
Machaira's Avatar
MachairaJeopardy Scorekeeper Machaira is offline
Jedi Coder

* Expert *
 
Join Date: Aug 2002
Location: Abingdon, MD
Posts: 3,438
Default

Check out the attached to see how to reset the form and handle the daily double. There's still some things that need to be done:
  • Disable the Daily Double button after it's used once in regular Jeopardy and twice in Double Jeopardy
  • Disable the button to reset the form for Double Jeopardy after it's used
  • Probably other things I'm forgetting
Attached Files
File Type: zip Jeopardy Scorekeeper.zip (130.9 KB, 13 views)
Reply With Quote
  #27  
Old 08-05-2005, 01:08 PM
heelsrule1988 heelsrule1988 is offline
Newcomer
 
Join Date: Jul 2005
Posts: 15
Default

Nope, you didn't forget a thing. After two weeks of frustration, I have finally done it! Everything works exactly the way I want it to. Thank you to passel, Iceplug, and most importantly, you, Machaira, for helping me with this. I'd have been screwed without a place like this to come to for help, lol. I'm very appreciative of your help.

Whenever I decide to get creative and make another program with Visual Basic, I now have a great place to go for help. Glad I found this forum.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Jeopardy Scorekeeper
Jeopardy Scorekeeper
Jeopardy Scorekeeper Jeopardy Scorekeeper
Jeopardy Scorekeeper
Jeopardy Scorekeeper
Jeopardy Scorekeeper Jeopardy Scorekeeper Jeopardy Scorekeeper Jeopardy Scorekeeper Jeopardy Scorekeeper Jeopardy Scorekeeper Jeopardy Scorekeeper
Jeopardy Scorekeeper
Jeopardy Scorekeeper
 
Jeopardy Scorekeeper
Jeopardy Scorekeeper
 
-->