Jump to content
Xtreme .Net Talk

Search the Community

Showing results for tags 'random'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • New Member at Xtreme .Net Talk?
    • Meet and Greet
    • Announcements
  • .NET
    • General
    • Windows Forms
    • ASP.NET
    • Directory / File IO / Registry
    • Database / XML / Reporting
    • Network
    • Graphics and Multimedia
    • Interoperation / Office Integration
    • Deployment
    • Regular Expressions
    • Syntax Specific
  • Knowledge Base
    • Tutors Corner
    • Code Library
    • Quick Tips
  • Xtreme .Net Talk Members Area
    • Water Cooler
    • Suggestions, Bugs, and Comments

Blogs

There are no results to display.

Categories

  • Code Samples
  • Tutorials & Guides
  • Articles
  • Code Downloads

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Location


Occupation


Visual Studio .NET Version


.NET Preferred Language


Skype


Facebook


Twitter ( X )

Found 1 result

  1. Good day one and all, I have a randomness headache... I have a simulation that is trying to create upto 10,000 random decks of cards, one after the other, as quickly as possible. The problem I seem to have is that each random Deck repeats 4 or 5 times before a new one is created. I think this may be because the random function works off the current tick or seed (I've tried using DateTime.Now.Millisecond as seed). It seems that it's managing 4 or 5 iterations before the tick or seed value actually changes. Is there anyway I can use a seed that will be quick enough to take effect before the next iteration? I'm basically trying to build a poker odds calculator so it needs to be quick for the decision and extensive for the accuracy. Any advice would be much appreciated. Thanks!
×
×
  • Create New...