Rent A Coder Alert: If you are receiving an error that says: 'page not found', or 'system could not find the file specified' on this site, it is caused by a bug in your browser. Please click here to fix it. (To disable this alert, click here).

    How Software Gets Done  
The RAC business office will be closed on Monday May 26, 2003 in observance of the United States holiday of Memorial Day. Please note that we will still approve bid requests and do phone verifications but they will only be done two times during the day, once in the morning and once in the late afternoon. We wish all celebrating Memorial Day a happy one. (current site time 5/24/2003 9:10:55 PM EDT)


(No Login on Secured Page)

Custom Software Buyers
Request new bids
Search Coders
My Account
 
My Buyer 'To Do' List
 
My bid requests
  My escrow account
 
My General Info
Verification
 
Help for Buyers
Articles for Buyers
FAQ for Buyers
Latest News
 

Custom Software Coders

Newest open work
Browse all work
Search all work
My Account
 
My Coder 'To Do' List
 
My bids
 
My General Info
  My credit account
 
Help for Coders
Articles for Coders
FAQ for Coders
Latest News
 

Affiliates

My account
 
My pipeline
 
My credit account
 
Help for Affiliates
Latest News
 
Newest Open Bid Requests.
XP Icons Needed
By CorporateWeb on May 24
Max Bid: $20


Email Extraction from Names
By franjavier on May 24
Max Bid: Open to fair suggestions


Company Logo
By Ghwerig on May 24
Max Bid: $50

(Screen Shot)

iPAQ printing facility (light)
By dev. printing for iPAQ on May 24
Max Bid: $220


broadband animated demo
By rik2 on May 24
Max Bid: $10


4D Connectivity library -Open4D
By paws on May 24
Max Bid: $1,000


Click here to put this ticker on your own site

Open Work Categories.
Database 
(153 open)
   Access 
(59 open)
   MySQL 
(75 open)
   Oracle 
(8 open)
   SQL Server 
(59 open)
   Other DB 
(22 open)
Documentation / Tech Writing 
(19 open)
Data Entry 
(20 open)
Game Development 
(18 open)
Graphics / Art / Music 
(62 open)
   Graphics 
(67 open)
     3d Animation 
(21 open)
   Art (Misc.) 
(22 open)
   Music 
(17 open)
   3d Modeling 
(16 open)
Language Specific 
(114 open)
   ASP 
(63 open)
   ASP .NET 
(16 open)
   C# 
(32 open)
   C++ / C 
(104 open)
   Carbon (Mac OS) 
(3 open)
   Cocoa / Obj-C 
(1 open)
   Cold Fusion 
(8 open)
   Delphi 
(35 open)
   Java 
(56 open)
   JSP 
(4 open)
   Perl 
(38 open)
   PHP 
(87 open)
   XML/XSL 
(23 open)
   Visual Basic 
(136 open)
   Visual Basic .Net 
(58 open)
   Other 
(53 open)
Misc 
(36 open)
   CAD 
(5 open)
MultiMedia 
(41 open)
Network 
(38 open)
   Network Design 
(10 open)
   Network Implementation 
(11 open)
Platforms 
(69 open)
   Windows 
(149 open)
     MS Exchange 
(3 open)
     MS Office 
(14 open)
     Other 
(14 open)
   Darwin 
(3 open)
   Internet Browser 
(41 open)
   Linux 
(54 open)
   UNIX 
(30 open)
   Hand Held/PDA Programming 
(12 open)
Requirements 
(8 open)
Security 
(32 open)
Testing / Quality Assurance 
(15 open)
Web 
(169 open)
   Page Design 
(91 open)
   Flash 
(63 open)
   Web Services 
(77 open)
   Web (Other) 
(94 open)
Training 
(12 open)
   Computer Based 
(14 open)
 
Other
 
Other Sites

Download the free Rent A Coder IE toolbar!
 
Show Bid Request

Card Game
Bid Request Id: 10871
Bookmark in my 'To Do' list
Posted by: needhelp (5 ratings)
(Software buyer rating 10)
Non-action Ratio: Above Average - 42.86%
Posted: Mar 14, 2002
9:37:40 PM EDT
Bidding Closes: Mar 28, 2002
9:44:36 PM EDT
Viewed (by coders): 239 times
Deadline: 3/17/2002
TIME EXPIRED
Phase:
100% of work completed and accepted. Coder has been paid.
Max Accepted Bid: Bidding is closed
Project Type: Personal Project / Homework Help
Bidding Type: Open Auction
Categories: C++ / C
Enter chat room for this bid request
(0 active users at May 24, 2003 9:10:56 PM EDT)

Description:
ASSIGNMENT SPECIFICATIONS:
I have to write a C program that simulates the
dealing of a "poker hand" for a single (1) player,
displays that hand on the screen, and determines
if the player has been dealt a "Flush" or a
"Straight Flush" ONLY.
The program will NOT accept any user input (data),
but must display 100 hands (each on a single line).
Your program must then continue to execute
(starting once again from 0) until a Flush AND a
Straight Flush are found. Those hands should then be
displayed as well as the number of hands that were
required to be dealt in order to achieve those hands
(see sample runs below).


Deliverables:
BACKGROUND INFORMATION: A deck of 52 cards consists of 4 suits: Spades (S), Clubs (C), Diamonds (D), and Hearts (H), with each suit made up of 13 different card ranks: 2, 3, 4, 5, 6, 7, 8, 9, 10, J, Q, K, and A (where J=Jack, Q=Queen, K=King and A=Ace). In the game of "POKER", each player is RANDOMLY dealt a series of 5 cards which constitues a player's "HAND". The cards are then evaluated to determine the "hand's" strength by looking for special combinations or sequences in the 5 card set. Poker Hand strengths in ascending order (weakest to strongest)are ranked as follows: 1. High Card only (any one: A, K, J, 10, etc.). 2. One Pair (any 2 cards of the same rank). 3. Two Pairs. 4. Three Of A Kind (any 3 cards of the same rank). 5. Straight (any consequtive sequence of 5 cards) (see below for an example). 6. Flush (any 5 cards of the same suit). 7. Full House (any Three Of A Kind AND any 1 Pair). 8. Four Of A Kind (4 cards of the same rank). 9. Straight Flush (any consequtive sequence of 5 cards of the same suit). 10. Royal Flush (A, K, Q, J, 10) of all the same suit. Examples of 5 randomly dealt "poker hands" are: hand1: AC-2D-7H-JS-AD (One Pair: "2 Aces"). hand2: 10S-9S-8D-6C-7D (Straight: "6-7-8-9-10"). hand3: 2S-3S-6S-QS-5S (Flush: "5 Spades"). hand4: KD-KH-4H-KS-QH (3 Of A Kind: "3 Kings"). hand5: JC-4D-JD-JH-4S (Full House: "3 Jacks AND 2 4's"). where the first piece of data represents the card's rank followed by the card's suit. (eg.) AC = Ace of Clubs 2D = 2 of Diamonds 7H = 7 of Hearts JS = Jack of Spades AD = Ace of Diamonds NOTE: The cards that are dealt may appear in any numerical value "rank" and in any suit, but no single card may appear more than once (no repeats). To generate a random number in C, you must use the function: (prototyped in the C <stdlib.h> library) int rand( ); that returns a random number between 0 and the symbolic constant RAND_MAX inclusive. You must also use the function: void srand(unsigned int seed); to create a unique set of random values each time the program is executed. You will also have to include the <time.h> library for this function to work correctly (see the program below for an example) #include <stdio.h> #include <stdlib.h> #include <time.h> int main( ) { int i, number; srand(time(NULL)); for(i=0; i<5; i++) { number = rand( ); printf("random number is: %d\n", number); } return 0; } ASSIGNMENT SPECIFICATIONS: You are to write a C program that simulates the dealing of a "poker hand" for a single (1) player, displays that hand on the screen, and determines if the player has been dealt a "Flush" or a "Straight Flush" ONLY. The program will NOT accept any user input (data), but must display 100 hands (each on a single line). Your program must then continue to execute (starting once again from 0) until a Flush AND a Straight Flush are found. Those hands should then be displayed as well as the number of hands that were required to be dealt in order to achieve those hands (see sample runs below). NOTE: You must find the Flush & Straight Flush even if they were already found in your 100 hand deal! You will need to use ARRAYS to complete this assignment. As well, it is highly recommended that you use functions to modularize your program into several smaller parts! Programs without functions which are overly cumbersome or inefficient may result in your instructor deducting marks. Sample runs of the program are: a.out AC-2D-7H-JS-AD 10S-9S-8D-6C-7D KD-KH-4H-KS-QH JC-4D-JD-JH-4S ... (assume 100 such hands have been dealt). Finding Flush & Straight Flush... 2S-3S-6S-QS-5S (Flush) after 198 hands! 8C-9C-5C-7C-6C (Straight Fl

Platform:
Unix, IBM RS/6000

Must be 100% finished and received by buyer on:
Mar 17, 2002 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.

Special Conditions / Other:
I can't use global variables, structures,in this assignment. I must use functions, arrays, loops, pointers if needed.


Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements. We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation. If you notice a violation please help out the site and report it. Thanks for your help.
 
Bidding/Comments:
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests.

See all rejected bids (and all comments)
Name   Bid Amount 
 
Date   Coder Rating  
pickingapples
(39 ratings)
in Iasi, IS
Romania
Bid id: 123,993
 
$40 (USD) Mar 15, 2002
5:49:43 AM EDT
 9.76
(Excellent)
   
I would be happy to make this program for you. The source will be well commented, easy to follow, meeting all you requirements. I won't use any programming elements others than those you specified. Also the program will be tested on Unix platform. You can *be sure* you will have it on time.

I hope the price is acceptable. Thanks for considering my bid, and if I can answer any questions for you, just let me know.
 

This bid was accepted by the buyer!
pickingapples
(39 ratings)
in Iasi, IS
Romania
Bid id: 124,176
 
$30 (USD) Mar 15, 2002
11:30:57 AM EDT
 9.76
(Excellent)
   
I hope this new bid will be acceptable. You can have the source(s) in the same day... just accept my bid. If you haven't already decided take a look on my references and... choose my bid :)
I'm sure you won't be disappointed.
Thx.
 
 
 
 
  See 3 private reply(ies)
to/from pickingapples.
 




Quick Search
 

 Advanced Search
Newest Open Work
Latest News

 
Credentials


 

 
Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
  • All customer issues addressed within 2 days
  • Openly disclosed pricing and return policies
  • Participation in mediation at buyer request
  • Superior selling track record
This site is verified through its parent company, Exhedra Solutions, Inc.
 

Rent A Coder Top Coders.


Securenext
Rated a 9.98 on 99 jobs 
Anuj Gakhar
Rated a 9.98 on 92 jobs 
Codman
Rated a 9.97 on 145 jobs 
Buddies
Rated a 9.82 on 76 jobs 
Andrei Remenchuk
Rated a 10 on 12 jobs 
Michael Sharp
Rated a 9.98 on 179 jobs 
RNA
Rated a 9.92 on 37 jobs 
markesh
Rated a 10 on 22 jobs 
teleCODERS
Rated a 9.93 on 67 jobs 
hernest
Rated a 10 on 109 jobs 

See all top coders...

(What makes a top coder?)

Top Exam Scorers
 
Other
Rent A Coder is PayPal verified through its parent company, Exhedra Solutions, Inc.

Created in partnership with:

 


Affiliate Sites



Latest News | About Us | Kudos | Feedback/Contact    Affiliates | Advertise    Privacy | Legal

Copyright © 2001, Exhedra Solutions, Inc. All rights reserved.
By using this site you agree to its Terms and Conditions.
"Rent A Coder" (tm), "Safe Project Escrow" (tm) and "How Software Gets Done" (tm)
are trademarks of Exhedra Solutions, Inc.