Find Jobs
Hire Freelancers

Code a simple card game "My Ship sails"

$10-30 USD

Slutfört
Publicerad över fem år sedan

$10-30 USD

Betalning vid leverans
My Ship Sails is a great kids card game. Read ([login to view URL]) to understand the rule to play. The mission of the game is to collect 7 cards of the "same suit" you choose. You can sail out your ship if you have 7 cards of the same [login to view URL] card numbers are unrelated in this game. You need to pass one unnecessary card to your neighboring player, like a clockwise turn agreed by all players. So, others do in the same way at the same time. In this assignment, you are going to play with other 4 family members and you are to pass out your unnecessary card to player 1, and then player 1 passes one card to player 2, and so on. That means that you are player 0 and you will be passed the 7th card from player 4. You can see all of your 7 cards, but you cant see the other players card until, you type in ? in the command and which is like a cheat sheet for the player playing the game. To win the game the player must have all of the 7 same suites. A demo and a better explanation is attached to the file below.
Project ID: 18354075

Om projektet

5 anbud
Distansprojekt
Senaste aktivitet fem år sedan

Ute efter att tjäna lite pengar?

Fördelar med att lägga anbud hos Freelancer

Ange budget och tidsram
Få betalt för ditt arbete
Beskriv ditt förslag
Det är gratis att registrera sig och att lägga anbud på uppdrag
Tilldelad till:
Använd avatar
Hello I am an expert C/C++ programmer of 10+ of years of experience. Below you can find class definitions for a sample implementation. Best Regards struct Card { int suit; // HDCS int number; // A234567890JQK }; class Player { protected: int selfIndex; //index within player vector, starting with 0 for the human int takeFrom; //player supplying new Card vector<Card> hand; //holds 7 cards Card discard; //card being discarded int discardIndex; //position within hand of card being discarded static Card discardList[]; public: Player(int index); // initialize player with player index virtual void chooseDiscard(int); void replenish(); void add_card(Card card); // add card to hand (for initial distribution) }; class AutoPlayer : public Player { virtual void chooseDiscard(int); }; class Deck { vector<Card> cards; public: Deck(); // initialize the deck void shuffle(); // shuffle the cards void distribute(vector<Player*>& players); // distribute 7 cards to each player };
$25 USD Om 1 dag
4,8 (5 omdömen)
2,3
2,3
5 frilansar lägger i genomsnitt anbud på $28 USD för detta uppdrag
Använd avatar
Hello there, lots of experience teaching algorithm with C/C++ at uni level. Let me know if you;re interested. Cheers!
$35 USD Om 1 dag
5,0 (32 omdömen)
5,3
5,3
Använd avatar
I have read your project. I think I can help you. send me a messsage so that we can discuss more....
$30 USD Om 1 dag
0,0 (0 omdömen)
0,0
0,0
Använd avatar
Hi there, Quite an interesting problem you got there. I've completed the task using OOPs concepts and can deliver it immediately. Why should you choose me? - I can deliver immediately. - I'm a OOPs expert (Secured an A grade) and very proficient in C++ (Modern C++). - I use C++ on a daily basis, you can check my GitHub profile to know about some of my interesting projects. Look forward to interacting with you soon.
$25 USD Om 0 dag
0,0 (0 omdömen)
0,0
0,0

Om kunden

Flagga för UNITED STATES
Fresh Meadows, United States
5,0
1
Verifierad betalningsmetod
Medlem sedan dec. 14, 2018

Kundverifikation

Tack! Vi har skickat en länk för aktivering av gratis kredit.
Något gick fel med ditt e-postmeddelande. Vänligen försök igen.
Registrerade Användare Totalt antal jobb publicerade
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Laddar förhandsgranskning
Tillstånd beviljat för geolokalisering.
Din inloggningssession har löpt ut och du har blivit utloggad. Logga in igen.