完了

Specialized Poker game

Write a C program that will do the following: a. Print out your name and the filename. b. You will be gathering data on common poker hands, so you will be dealing 5 cards to create 10 hands in each deck and dealing 100 decks of cards to accumulate your data. You will initialize your random number generator with a seed generated from your birthday, mine is 6250 for 6-2-50. Print out the seed number used. c. Use rand to generate a deck of cards by getting a random integer and saving it in deck[0][0] through deck[51][0]. At the same time you will be saving an integer value in deck[0][1] through deck [51][1] using the counter value%13 (where the counter starts at 0 and stops after 51). This ensures that you have 52 cards with 4 zeroes, 4 ones, 4 twos ?. 4 twelves contained in the second column of your deck matrix. d. Use and/or modify the sort.c function attached, to reorder (or shuffle) each deck before dealing out the 10 hands. (Arranging the random integers in ascending order will effectively shuffle the card numbers in the other column). Pass the matrix to your sort function and reorder the rows based upon the integers in the first column. e. Count the number of hands that have the following characteristic and print out how many of the possible 1000 hands you dealt had the characteristic assigned to you. Use the month of your birthday to determine which hand is the one you count. December - a hand with no face cards (face cards being cards numbered 0, 9, 10, 11 and 12)

## Deliverables

1) Complete and fully-functional working program(s)(ONLY IN C, not C++) in executable form as well as complete source code of all work done. Readable and writable so that comments can be added...

## Platform

UNIX, visual C++, any .c program. running on school ethernet to Dell Optiplex computers with Pentium III processors...Windows NT.

スキル: C プログラミング, エンジニアリング, ゲームデザイン, MySQL, PHP, ソフトウェアアーキテクチャ, ソフトウェアテスト

さらに表示: working for dell, working at dell, work for dell, windows game programming, sort function c, rand c programming, programming computers, print out source, matrix programming, integers form 1, how to work integers, how to program computers, how to code computers, game programming in c++, game programming code, game in c++ programming, c sort function, c programming random number, c programming rand, counter programming

採用者について:
( レビュー1件 ) United States

プロジェクトID: #2931481

アワード:

godotvw

See private message.

$1 USD 14日以内
(3レビュー)
1.9

10人のフリーランサーが、このジョブに平均$73で入札しています

DanD

See private message.

$25.5 USD 14日以内
(212件のレビュー)
5.8
mihaido

See private message.

$25.5 USD 14日以内
(29件のレビュー)
4.7
herculesevw

See private message.

$32.3 USD 14日以内
(79件のレビュー)
4.7
michaeldweber

See private message.

$25.5 USD 14日以内
(35件のレビュー)
4.6
emesevw

See private message.

$11.05 USD 14日以内
(111件のレビュー)
4.4
patrica

See private message.

$32.3 USD 14日以内
(19件のレビュー)
3.2
kaamoss

See private message.

$8.5 USD 14日以内
(0件のレビュー)
0.0
foszto

See private message.

$506.6 USD 14日以内
(レビュー1件)
0.0
cinuvw

See private message.

$59.5 USD 14日以内
(0件のレビュー)
0.0