Results 1 to 5 of 5

Thread: [RESOLVED] Rock Paper Scissors

  1. #1

    Thread Starter
    Junior Member Stinkylunchmeat's Avatar
    Join Date
    Oct 2005
    Posts
    23

    Resolved [RESOLVED] Rock Paper Scissors

    I am making a Rock Paper Scissors prgram and I was wondering if anyone could help me create a Random Number generator in VB.NET?

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Rock Paper Scissors

    There is the Random class already. If that's not random enough there is an RNG in the CodeBank. Also, there has been some lively discussion on various threads about the relative merits and randomness of the various methods available, so a forum search should turn up more information, including another RNG in the Cryptography namespace, although I don't quite remember the class name off-hand.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: [RESOLVED] Rock Paper Scissors

    The Random Class is more than sufficient for this type of game. There will be no problem with duplicate data either as long as you only use 1 instance of it.

    Nobody needs a cryptographically strong RPS player

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [RESOLVED] Rock Paper Scissors

    Hey, you can never have too much overkill.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: [RESOLVED] Rock Paper Scissors

    Quote Originally Posted by jmcilhinney
    Hey, you can never have too much overkill.
    code it in assembly
    I don't live here any more.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width