Use MatLab to Code a Card Game

In Progress Posted 5 years ago Paid on delivery
In Progress Paid on delivery

Easy MATLAB Card Game

I was looking for someone to code the simple card game go fish with that follows the following criteria

**If you do choose to take on this challenge, please follow the instructions thoroughly**

comment the code for what you are doing in each section

Description: Implement the MATLAB computer program of Go Fish. Makes decisions of what programming elements will engage the users.

Special attention should be paid to:

1. Clarity on how to play the game.

2. How the persons should interact with the program.

3. The visual, auditory cues and special effects (e.g. animations, a sound clip when the cards are drawn, etc.). You are allowed to us simple pictorial representations for each card, for example, a King of hearts card with a large K and a heart, etc. The implementation of a card game should be two players using the same keyboard or mouse to play their turn.

The game should have the following elements:

1. A graphical user interface.

2. An animation.

3. A sound effect.

4. Make use of user-defined OOP class in at least one programming element.

A 52-card standard pack will be used. This is a two player game (one being human and the other being the computer). 7 cards will be dealt to each player and the rest of the cards will be in in the middle.

Objective:

The goal is to win the most books of cards. A book is any four of a kind, such as four kings, four aces, and so on.

Deal:

The computer will randomly shuffle the cards and deal them to itself and the human player. (we have faith that the computer will not cheat)

Play:

To determine who goes first, the human will chose a number between 1 and two. The computer will then randomly display a number between 1 and 2. If it matches the human's number, then the human goes first, if not, then the computer goes first. The player in play is called the fisher, and he will request a card from the other game (ex: "give me your kings") specifying the rank they want, from ace down to two. The player who is "fishing “must have at least one card of the rank he asked for in his hand. The player who is asked for the card must hand over all the cards requested. If they do not have any, the would say, "Go fish!" and the player who made the request draws the top card of the stock.

If a player gets one or more cards of the named rank he asked for, he is entitled to ask the same or another player for a card (this means your turn continues if you are able to continuously get a car out of the other player). They can ask for the same card or a different one. So long as they succeed in getting cards (makes a catch), their turn continues. If a player gets the fourth card of a book, they place them on the table, get one point, and plays again.

If the player goes fishing without "making a catch" (does not receive a card he asked for), the turn passes to the opposite player takes their turn.

The game ends when the stockpile is finished. The winner is the player with the most books of cards. During the game, if a player is left without cards, he may (when it's his turn to play), draw from the stock and then ask for cards of that rank. If there are no cards left in the stock, he is out of the game.

Algorithm C Programming C++ Programming Mathematics Matlab and Mathematica

Project ID: #18282630

About the project

3 proposals Remote project Active 5 years ago

3 freelancers are bidding on average $226 for this job

Yknox

Good Day Sir! I read your post carefully. But I have something to ask you. Your idea is amazing and it will change the world! I am a magic talented developer in your skill. If you wanna be the success, hire me I More

$155 USD in 3 days
(736 Reviews)
8.9
MathsMasterA

Very interesting project! If you see our profile, you can know our team is professional in mathematics and MATLAB. We major in analysis, calculus, statistics, numerical computation, fractal geometry and chaos dynamic More

$300 USD in 1 day
(33 Reviews)
5.5
sciondev

Hi, I have experiences in matlab development for over 5 years. I am so interested in your project and willing to work for you with reasonable budget. It's my main goal to deliver high-quality work within your tim More

$222 USD in 3 days
(9 Reviews)
3.8