Find Jobs
Hire Freelancers

Implementing a card game in java

$10-30 USD

Closed
Posted over 7 years ago

$10-30 USD

Paid on delivery
Implement a simplified game of Scrimish, a strategy card game, with 2 players: a human (i.e., the user) and the computer as a java program. Scrimish is a card game that was funded using [login to view URL] with the objective that luck is not a component of the game. Both players have a set of cards composed of the following cards and numbers: #1 Dagger Cards (x5 per player) #2 Sword Cards (x5 per player) #3 Morning Star Cards (x3 per player) #4 War Axe Cards (x3 per player) #5 Halberd Cards (x2 per player) #6 Longsword Cards (x2 per player) 'A' Archer Cards (x2 per player) 'S' Shield Cards (x2 per player) Crown Card (x1 per player) Setup: The user player places 5 Piles of 5 Cards each face down in front of him. The Crown Card should be hidden on the bottom of one of the 5 Piles. The rest of the Cards may be arranged however you like. The computer does the same thing: the crown card is placed on the bottom of a random pile, while the rest of the card are distributed into 5 piles (such that we have 5 cards in each pile). Game Play: The players take turns attacking (starting with the user first) by selecting the top card from one of their piles and laying that card face up in front of one of their opponent's piles. The defending player must then reveal the top card of the pile that was attacked. The card with the lowest number value loses and is discarded. The winning card must be returned face down to the top of the original pile it was drawn from. If the two cards have the same number value, both cards are discarded. The play continues until one of the players attacks their opponent's Crown Card, winning the game. - Archer Card: If you attack with an Archer Card, it always wins. If your Archer Card is attacked, it always loses. - Shield Card: Shield Cards cannot be used to attack. If your Shield Card is attacked, both your Shield Card and your opponent's attacking Card are discarded (except for Archer Cards: If a Shield Card is attacked by an Archer Card, neither Card is discarded, and both are returned face down to their original Piles). If the Shield Card is used to attack, then it looses. - Crown Card: You can attack with your Crown Card. If you attack your opponent's Crown Card, you win. Otherwise, you lose the game. - Instead of attacking, you may intentionally discard one Card on your turn. You do not have to reveal that Card to your opponent. You cannot intentionally discard your Crown Card. the java program needs to be able to - game setup: let the human user select the cards in each pile, play one turn started by the human user = 10 points,play one turn started by the computer = 10 points.
Project ID: 12300641

About the project

13 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
13 freelancers are bidding on average $157 USD for this job
User Avatar
Hi there, 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.
$30 USD in 1 day
4.9 (1032 reviews)
7.5
7.5
User Avatar
A proposal has not yet been provided
$300 USD in 10 days
4.9 (257 reviews)
7.0
7.0
User Avatar
Hello My name is Ahmed, i'm a top rated freelancer. i worked over 100 projects and over 250 hours doing java projects. plus i passed freelancer java v3 exam with score 3.75 plus i got 2 java certificate 1Z0-803 and 1Z0-804 with 3+ years experience. small overview of feedback on my profile "you want to get your projects completed with quality? Hire Ahmed. Highly recommended." "Thoroughly satisfied with Ahmed, and would recommend him to anyone looking for an excellent java developer!" "Highly recommended. Very smart and well experience" looking forward to work with you Regards
$25 USD in 1 day
4.9 (378 reviews)
6.5
6.5
User Avatar
Hi! Contact me to discuss your task over chat. Looking forward to hearing from as soon as possible .
$66 USD in 5 days
4.9 (8 reviews)
3.2
3.2
User Avatar
I can do it within next 2 days top. Check out my portfolio and if you like it, text me. Thank you. :- )
$100 USD in 1 day
5.0 (1 review)
2.2
2.2
User Avatar
i am really interested to get this challenge done. i am practicing java and javafx for two year and have enough skill to complete this project in amazing way. hopefully you will like and appreciate my work. The time and the budget is negotiable. Zaheer Ud Din.
$23 USD in 2 days
5.0 (3 reviews)
0.9
0.9
User Avatar
Hi, I work for an IT company udner JAVA domain, would like to work on your project. Looking forward towards working with you.
$111 USD in 7 days
0.0 (1 review)
0.0
0.0
User Avatar
I have been into Java development since 9 years and have written various optimized programs. I have been working with software giants since long so have real time client deliverable software experience too
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I have good experience in competitive programming so I can do it easily. Also I have used java for a long time therefore I know things required to make this algorithm.
$25 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
0.0
0
Member since Dec 7, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.