• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java Dice Game

 
Ranch Hand
Posts: 46
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to build up a portfolio of basic projects to put on my resume and came across this on freelancer.com

I am a new member there & no experience so dont think ill win any bids but I want to do this project myself anyway.

Here's the project outline:


Project Description: 
Hi I want some one to make a simple object-oriented dice game to me in java programming. 



A simple game where the user is playing a dice game with the computer. You have two dices each and throw them, the highest dice wins of the four dices. 

You have to insert money first, max 500, and then you can bet money, you can only bet 100 at a time, and if you win you get 100 more and if you lose you lose 100. And if you have no money left you have to insert another 500. After each round the game ask if you want to quit or continue. If you want to continue you bet again if you have money left or you have to insert more if you dont.


Requirements:

Each class must be focused and have a clear purpose. Also, to minimize the number of dependencies between objects.

The demands placed on your design is that it should be object-oriented, and that it shall use 
inheritance, encapsulation and polymorphism and / or interface.

Also

The graphical interface should be responsive. The program should, in other words do not end up in deadlocks and it should not be long response or waiting periods without clear feedback to the user. 
Each class should have a clear purpose and the number of dependencies should be kept low. 
Methods should have a clear purpose and only one purpose, and they should be kept short.



I want this done in 2-3 days as fast as possible with a lot of comment of everything you have done. Also comment a lot where the requirements are. This should be sent in eclipse zip-file.
Skills required:
Java



I think I should be able to complete the project without too much stress except the part about the GUI.

My question is from your reading of the description what kind of GUI would be needed & at what difficulty for this?

Any info appreciated
 
Bartender
Posts: 2236
63
IntelliJ IDE Firefox Browser Spring Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My first advice. Don't worry about GUI yet. Write your game logic in such a way that it is independent from any GUI.
And when you do that and you are 100% sure that it works correctly then write your GUI.
And the options for GUI are Swing or Java FX (in Java 8). Well... You could make your game playable on a webpage. Or a mobile device ;).
I have no experience in Java FX so I don't know if I can recommend it.
 
Kyle Jones
Ranch Hand
Posts: 46
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Pawel Pawlowicz wrote:My first advice. Don't worry about GUI yet. Write your game logic in such a way that it is independent from any GUI.
And when you do that and you are 100% sure that it works correctly then write your GUI.
And the options for GUI are Swing or Java FX (in Java 8). Well... You could make your game playable on a webpage. Or a mobile device ;).
I have no experience in Java FX so I don't know if I can recommend it.



OK thanks, will get the game logic done first and then worry about GUI
reply
    Bookmark Topic Watch Topic
  • New Topic