Find Jobs
Hire Freelancers

URGENT: Simple Poker Hand Evalutaor

$10-30 AUD

Completed
Posted over 7 years ago

$10-30 AUD

Paid on delivery
C# Programming Specifications Write a program that evaluates a single poker hand. Display the hand and print out what type it is. The ranks of hands are listed below from highest ranking to lowest ranking. Use a structure for the card, and an array of structures for the hand. You should write a method for each type of hand, returning true if the hand fits that criterion, and false if it doesn’t. The structure you will use should look something like the following: public struct card { public char suit; // 'C', 'D', 'H', 'S' - for clubs, diamonds, hearts, and spades public int value; //2-14 – for 2-10,Jack, Queen, King, Ace }; struct card hand[5]; To enable you to test this program. nine data files, 1 data file for each ranking hand, are provided for you. Your program should provide a menu to allow the user to select which file will be tested. When you display the hand, you should obviously print out the cards more meaningfully. For instance, C 5 would be the 5 of clubs, S 11 would be the Jack of Spades. Royal Flush: • A, K, Q, J, 10 all of the same suit. Straight Flush: • Any five card sequence in the same suit. (Ex: 7, 8, 9, 10, J and A, 2, 3,4, 5 of same suit). Four of a Kind: • All four cards of the same value (Ex: J, J, J, J). Full House: • Three of a kind combined with a pair (Ex: K, K, K, 10, 10). Flush: • Any five cards of the same suit, but not in sequence. Straight: • Five cards in sequence, but not in the same suit. Three of a Kind: • Three cards of the same value (Ex. J,J,J). Two Pair: • Two separate pairs (Ex: A, A, 8, 8). Pair: • Two cards of the same value. Thank you.
Project ID: 11829256

About the project

4 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello. I know how to complete this task in 3-4 hrs of pure working time.
$10 AUD in 1 day
4.9 (914 reviews)
7.4
7.4
4 freelancers are bidding on average $21 AUD for this job
User Avatar
Hi there, I have done poker card evaluation programs before and I would like to do this project if given the opportunity. Let me know if you are interested so I can have further details. Thanks.
$35 AUD in 1 day
5.0 (616 reviews)
7.2
7.2
User Avatar
Hello, I'd love to help with your project! I am new to freelancer and looking to build up a reputation still. I am finishing up an Associate of science degree in which I have taken classes in C++ C# and Java. I also have experience working in these languages outside of school for projects both personal and otherwise.
$15 AUD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of AUSTRALIA
Tarragindi, Australia
5.0
11
Payment method verified
Member since Oct 19, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.