Hi! 1. I´d like to have one function written in C# that has the following requirements a) double CalculateProbabilityToWin(PocketCard1, PocketCard2, boardcards[5], nbrOfPlayersStillInGame) b) boardcards can be filled with 0, 3, 4 or 5 cards (Depending on how far you´ve come in the current game) c) The function should be able to evaluate at minimum once every second. d) NbrOfPlayersStillInGame are the total players that haven't folded (including 'me', the holder of pocketCard1 and pocketCard2) I´d like to clarify that it is very important that you understand that there is a big difference in the probablility if you for example have two aces on hand and are only playing against one opponent, or if there are 2 opponents (or more). Against one opponent you have aproximately 80% chance to win when there are no boardcards shown, but if there are two opponents then there is only around 50% chance to win. I don´t belive that this function is possible to write unless you have a good understanding about Math-probability. Trying to calculate it itterative by comparing all solutions is not possible since there will be to many ways. 2. I´d want to have a document (preferrably written in OpenOffice [login to view URL]) that proofs that your function calculates the correct probability. It should contain the math and an explanation of how the logic works.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
Windows XP