Find Jobs
Hire Freelancers

Make a simple java game

£20-250 GBP

Abgeschlossen
Veröffentlicht vor mehr als 8 Jahren

£20-250 GBP

Bezahlt bei Lieferung
Implement a dice game GUI program based on Java Swing and according to the game rules and the implementation details below: any classes from the standard Java API Libraries ([login to view URL]) but you may not use any other third party libraries or NetBeans libraries or IDE specific libraries. Do not use drag and drop tools to create the graphical user interface for any part of this project. All code should be manually written and no tool which generates code The rules of the game A human player competes against the computer. Both players throw 5 dice at the same time. The score of each throw for each player is the sum of the numbers shown on the faces of the dice. The objective of the game is to reach a score of 101 or more (instead of 101 another target can be set by the human before play starts) by throwing 5 dice as many times as necessary. After a roll, each player may either score it or take up to two optional rerolls. For each reroll, he may reroll all of the dice or select any of the dice to keep and only reroll the remainder. He may score at any time, thus ending his current throw; after the second reroll (three rolls total) he must score it. After both players score their rolls, the procedure is repeated until one of the players reach 101 or more points by summing all of their scores. If both players reach 101 or more with the same number of attempts (a single attempt is considered as one roll followed by 2 optional rerolls) the player with the highest score wins. As an example, assume that the human player scores 30 points in the first attempt (a roll followed by 2 optional rerolls), 25 in the second, 11 in the third, 28 in the fourth and 15 in the fifth achieving a total score of 109 in five attempts. If the computer did not score 101 in four attempts or more than 109 in five attempts, the human wins. In the case that both the computer and the human achieved the same score in the five attempts (i.e. 109 in the example), each player throws for a last time all five dice and the player with the highest sum in that roll wins (no optional rerolls are allowed in this case). In the case of a tie again, both players keep rethrowing all five dice until one of them wins.
Projekt-ID: 9109441

Über das Projekt

5 Vorschläge
Remote Projekt
Aktiv vor 8 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
Vergeben an:
Avatar des Nutzers
i am software engineer and expert in programming languages. I have read your description. I would like to work for you. For further details please inbox [login to view URL] you
£45 GBP in 3 Tagen
4,8 (4 Bewertungen)
2,2
2,2
5 Freelancer bieten im Durchschnitt £290 GBP für diesen Auftrag
Avatar des Nutzers
hi mate this is Asad, i have a vast experience in java programming, please chat to discuss would surely help you out with this game,cheers :)
£33 GBP in 3 Tagen
4,8 (48 Bewertungen)
5,7
5,7
Avatar des Nutzers
p.s. I'll deliver in 7-8 Hours. Hi there! I'm a Professional Software developer and Data Analyst for a well known Software House in Islamabad named PacSquare Pvt Ltd. If I get this job, I assure you that you'll get my best services in return. Please consider my proposal, and discuss additional Info for this specific Project. Thanks for Reading! Best, Maher
£45 GBP in 3 Tagen
4,9 (39 Bewertungen)
4,8
4,8
Avatar des Nutzers
A proposal has not yet been provided
£277 GBP in 5 Tagen
0,0 (0 Bewertungen)
0,0
0,0

Über den Kunden

Flagge von UNITED KINGDOM
London, United Kingdom
4,8
4
Zahlungsmethode verifiziert
Mitglied seit Dez. 11, 2015

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.