Close

Page 1 of 2 12 LastLast
Results 1 to 20 of 36
  1. #1
    DF Probation Goldberg's Avatar
    Join Date
    Jun 2001
    Location
    Landaaaan!
    Posts
    14,453
    Thanks
    1,325
    Thanked:        1,547
    Karma Level
    1153

    free World Cup Sweep Generator

    **** UPDATE ****
    Now includes a slider for the rate it chooses the teams and you can also export the results as a CSV file that will open in a spreadsheet.

    Now also includes an 8 player Seeded version (for Kushty)


    Hi all,

    I am always in charge of doing the sweeps in the office and for the world cup this year I thought I would make it a little more interesting.

    Attached is a zip file containing an executable and a folder with icons in it.
    Simply run the executable (requires .net Framework 2.0 but most of you will have that with Windows), enter the 32 names and hit the 'Go!' button. Once it has completed it will create a file WorldCup_Sweep_2010.txt which will contain the name of the person and the Team they have won.

    It takes a couple of minutes to complete, basically I have set it to around 5 seconds between per random pick to generate an element of suspense

    The idea in my office is to get a number of people interested and then next friday before the first game I will hook the laptop up to the Plasma in reception and generate the choices.

    I hope it comes in useful for someone and it is not too late.

    Thanks,
    Last edited by Goldberg; 9th June 2010 at 03:16 PM. Reason: Added new version with Seeding as per Skybet & an 8 player version for Kushty
    We all make mistakes sometimes

    Thanks to Goldberg

    chesser (16th May 2014)  


  2. #2
    DF Probation Goldberg's Avatar
    Join Date
    Jun 2001
    Location
    Landaaaan!
    Posts
    14,453
    Thanks
    1,325
    Thanked:        1,547
    Karma Level
    1153

    Default Re: World Cup Sweep Generator

    If folk can let me know the thoughts. I have the code and will be playing on this each year and making it configurable depending on the sporting event. (Wimbledon, Grand national etc..)

    Thanks,
    We all make mistakes sometimes

  3. #3
    DF VIP Member Spennyboy's Avatar
    Join Date
    Sep 2003
    Location
    Stock Exchange
    Posts
    11,193
    Thanks
    221
    Thanked:        121
    Karma Level
    1113

    Default Re: World Cup Sweep Generator

    Looks cool mate - just give it a test run in the office.

  4. #4
    DF VIP Member Kushty's Avatar
    Join Date
    Nov 2006
    Location
    Around
    Posts
    1,808
    Thanks
    83
    Thanked:        25
    Karma Level
    318

    Default Re: World Cup Sweep Generator

    I'll probably use this mate, thanks. Any chance you could put a box/slider for the timer between selections. I like the idea of the pause but my mates may not!

    Also, another suggestion but I guess it would be harder would be some sort of text (ideally spreadsheet format) output. I'm probably going to do the draw 7th June next week so please make all of my amendments by then! Ha, only kidding, nice one for uppin' it in the first place.

    On a separate note, can I output this video in a web chat client (ideally with a chat box). Just think it would be a good way for all of my mates to see the draw live without being in the same place.

  5. #5
    Argyll's Apprentice TwoPlAnKs's Avatar
    Join Date
    May 2003
    Location
    Aberdeenshire
    Posts
    5,191
    Thanks
    0
    Thanked:        0
    Karma Level
    620

    Default Re: World Cup Sweep Generator

    Users of superior operating systems: It works fine on Linux too (ish, there are some issues with the Window fitting on the screen)

    I despise the world cup but good job, looks good. Remember to release the sourcecode when you are done with it
    "The Net interprets censorship as damage and routes around it." - John Gilmore

  6. #6
    DF Probation Goldberg's Avatar
    Join Date
    Jun 2001
    Location
    Landaaaan!
    Posts
    14,453
    Thanks
    1,325
    Thanked:        1,547
    Karma Level
    1153

    Default World Cup Sweep Generator

    I can make a slider yes, also i can make it output to a .csv that will open fofmated in excel

    I'll see if I have a chance to tomorrow.
    I also intend to read the outputted file so you can open to see the selections.

    Cheers for the feedback guys
    We all make mistakes sometimes

  7. #7
    DF Probation Goldberg's Avatar
    Join Date
    Jun 2001
    Location
    Landaaaan!
    Posts
    14,453
    Thanks
    1,325
    Thanked:        1,547
    Karma Level
    1153

    Default Re: World Cup Sweep Generator

    See update above, added a slider for the frequency of the selections (can be changed on the fly) and also a choice of file types it creates (.txt or a .csv for Excel)

    Cheers
    We all make mistakes sometimes

  8. #8
    DF VIP Member Clubber Lang's Avatar
    Join Date
    Sep 2003
    Location
    Berkshire
    Posts
    4,200
    Thanks
    193
    Thanked:        142
    Karma Level
    480

    Default Re: World Cup Sweep Generator

    Good work, looks sweet.
    ©lubber Lang

    CHAMP19NS

  9. #9
    DF VIP Member Kushty's Avatar
    Join Date
    Nov 2006
    Location
    Around
    Posts
    1,808
    Thanks
    83
    Thanked:        25
    Karma Level
    318

    Default Re: World Cup Sweep Generator

    Quote Originally Posted by Goldberg View Post
    See update above, added a slider for the frequency of the selections (can be changed on the fly) and also a choice of file types it creates (.txt or a .csv for Excel)

    Cheers
    Now that's what I call customer support!

  10. #10
    DF Probation Goldberg's Avatar
    Join Date
    Jun 2001
    Location
    Landaaaan!
    Posts
    14,453
    Thanks
    1,325
    Thanked:        1,547
    Karma Level
    1153

    Default Re: World Cup Sweep Generator

    Here to help
    We all make mistakes sometimes

  11. #11
    DF Probation Goldberg's Avatar
    Join Date
    Jun 2001
    Location
    Landaaaan!
    Posts
    14,453
    Thanks
    1,325
    Thanked:        1,547
    Karma Level
    1153

    Default Re: World Cup Sweep Generator

    I know it starts this week and most people have probably done their Sweeps, but I have made a couple of tweaks again to lock down the controls and the boxes where names are entered so no cheating can take place after the draw has been done
    We all make mistakes sometimes

  12. #12
    DF VIP Member
    ptm's Avatar
    Join Date
    Jul 2003
    Location
    Scoatland
    Posts
    1,311
    Thanks
    213
    Thanked:        79
    Karma Level
    347

    Default Re: World Cup Sweep Generator

    Just showed this to the dudes in the office - we're going to use it for all our sweepstakes now! Thanks a million Goldberg!
    Come and have a go if you think you're hard enough! - http://toastlad.mybrute.com

  13. #13
    DF Probation Goldberg's Avatar
    Join Date
    Jun 2001
    Location
    Landaaaan!
    Posts
    14,453
    Thanks
    1,325
    Thanked:        1,547
    Karma Level
    1153

    Default Re: World Cup Sweep Generator

    No probs, although this one won't be any good for all Sweepstakes as the teams are hard coded in

    I'll work on one that is customisable for the future.
    We all make mistakes sometimes

  14. #14
    VIP Member CzarJunkie's Avatar
    Join Date
    Jun 2001
    Location
    Atlantis
    Posts
    13,754
    Thanks
    832
    Thanked:        3,225
    Karma Level
    1993

    Default Re: World Cup Sweep Generator

    I wonder why Russbeer didn't use this........

  15. #15
    DF Probation Goldberg's Avatar
    Join Date
    Jun 2001
    Location
    Landaaaan!
    Posts
    14,453
    Thanks
    1,325
    Thanked:        1,547
    Karma Level
    1153

    Default Re: World Cup Sweep Generator

    Quote Originally Posted by CzarJunkie View Post
    I wonder why Russbeer didn't use this........
    Buhahahaha! Especially with the team he 'pulled out'...

    He even called it that 'Cyprus' would get Greece in the original thread.
    We all make mistakes sometimes

  16. #16
    DF VIP Member c0axial's Avatar
    Join Date
    Feb 2002
    Location
    M44
    Posts
    1,493
    Thanks
    159
    Thanked:        188
    Karma Level
    382

    Default Re: World Cup Sweep Generator

    Nice one G... ill pass this along
    127.0.0.1

  17. #17
    DF Probation Goldberg's Avatar
    Join Date
    Jun 2001
    Location
    Landaaaan!
    Posts
    14,453
    Thanks
    1,325
    Thanked:        1,547
    Karma Level
    1153

    Default Re: World Cup Sweep Generator

    I am embarrassed by the source code, but willing to make the Visual Studio project available if required.
    We all make mistakes sometimes

  18. #18
    DF VIP Member Kushty's Avatar
    Join Date
    Nov 2006
    Location
    Around
    Posts
    1,808
    Thanks
    83
    Thanked:        25
    Karma Level
    318

    Default Re: World Cup Sweep Generator

    Can you put in seeding please? I want to be able to rank some or all of the teams. Cheers.

  19. #19
    DF Probation Goldberg's Avatar
    Join Date
    Jun 2001
    Location
    Landaaaan!
    Posts
    14,453
    Thanks
    1,325
    Thanked:        1,547
    Karma Level
    1153

    Default Re: World Cup Sweep Generator

    At the moment the teams are hard coded... I could hard code the seeding if you tell me who you would like seeded from 1 (favorite) to 32 (New Zeland)
    We all make mistakes sometimes

  20. #20
    DF Probation Goldberg's Avatar
    Join Date
    Jun 2001
    Location
    Landaaaan!
    Posts
    14,453
    Thanks
    1,325
    Thanked:        1,547
    Karma Level
    1153

    Default Re: World Cup Sweep Generator

    OK, made the change with seedings as per SkyBet

    Run it to see, North Korea is actually 32 and not New Zealand.
    We all make mistakes sometimes

Page 1 of 2 12 LastLast

Similar Threads

  1. Sensible World of Soccer or Kick Off 2?
    By WTD in forum Old Skool Gaming & Retro
    Replies: 42
    Last Post: 8th March 2004, 05:49 AM
  2. FIBA 2002 World Basketball Championship
    By Choller in forum Digital Satellite TV
    Replies: 2
    Last Post: 12th September 2002, 12:03 AM
  3. TV tuner from cd world
    By phlix in forum Old Skool Gaming & Retro
    Replies: 2
    Last Post: 4th September 2002, 12:37 AM

Social Networking 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
  •