Find Jobs
Hire Freelancers

URGENT: Simple Poker Hand Evalutaor

$10-30 AUD

Selesai
Dibuat lebih dari 7 tahun yang lalu

$10-30 AUD

Dibayar ketika dikirim
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.
ID Proyek: 11829256

Tentang proyek

4 proposal
Proyek remot
Aktif 7 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
Diberikan kepada:
Avatar Pengguna
Hello. I know how to complete this task in 3-4 hrs of pure working time.
$10 AUD dalam 1 hari
4,9 (914 ulasan)
7,4
7,4
4 freelancer menawar dengan rata-rata $21 AUD untuk pekerjaan ini
Avatar Pengguna
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 dalam 1 hari
5,0 (616 ulasan)
7,2
7,2
Avatar Pengguna
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 dalam 1 hari
0,0 (0 ulasan)
0,0
0,0

Tentang klien

Bendera AUSTRALIA
Tarragindi, Australia
5,0
11
Memverifikasi Metode pembayaran
Anggota sejak Okt 19, 2016

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.