Find Jobs
Hire Freelancers

Code a simple card game "My Ship sails"

$10-30 USD

Terminado
Publicado hace más de 5 años

$10-30 USD

Pagado a la entrega
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.
ID del proyecto: 18354075

Información sobre el proyecto

5 propuestas
Proyecto remoto
Activo hace 5 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
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 en 1 día
4,8 (5 comentarios)
2,3
2,3
5 freelancers están ofertando un promedio de $28 USD por este trabajo
Avatar del usuario
Hello there, lots of experience teaching algorithm with C/C++ at uni level. Let me know if you;re interested. Cheers!
$35 USD en 1 día
5,0 (32 comentarios)
5,3
5,3
Avatar del usuario
I have read your project. I think I can help you. send me a messsage so that we can discuss more....
$30 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
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 en 0 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Fresh Meadows, United States
5,0
1
Forma de pago verificada
Miembro desde dic 14, 2018

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.