Purpose of OO Design and Apply the Following OO Concepts in Java Code - IT Computer Science Assignment Help

Download Solution Order New Solution
Assignment Task :

1. Overview  

This assignment requires you to implement a game engine and console based user interface (logging output only, no user  interaction required) for a casino style card game that is loosely based on Black Jack but is for the gambler in a hurry that doesn’t  want to think too hard and wants to trust in luck alone without having to worry about statistics!  

The rules are simple, the player places a bet and then receives a set of cards from the dealer (from a 28 card “half”* deck containing  the cards 8, 9, 10, J, Q, K, A) until they bust by exceeding the limit of 421 (or reach 42 exactly). The final score is the sum of the cards  prior to the final card that caused the bust. *“Half” deck in quotes since it is not exactly half a standard 52 card deck!  

The house then deals on their own behalf against the players .. Highest score wins! A draw is a no contest and the bet is returned to  the player.  

 

2. Assessment Criteria  

This assessment will determine your ability to implement Object-Oriented Java code according to a formal Javadoc specification. In  addition to functional correctness (i.e. getting your code to work) you will also be assessed on code quality. Specifically:  

? You should aim to provide high cohesion and low coupling.  

? You should aim for maximum encapsulation and information hiding.  

? You should rigorously avoid code duplication.  

? You should comment important sections of your code remembering that clear and readily comprehensible code is preferable  to a comment.  

? Since this course is concerned with OO design you must not use Java 8+ lambdas which are a functional programming  construct.  

? You should CAREFULLY read the instructions and supporting code and documents. This assignment is intended to model the  process you would follow writing real industrial code.  

? IF IN DOUBT ASK EARLY!  

1 The number 42 is also an amusing pop-culture reference, do you recognise it?

 

3. Learning Outcomes  

This assessment is relevant to the following Learning Outcomes:  

CLO1: Explain the purpose of OO design and apply the following OO concepts in Java code: inheritance, polymorphism, abstract  classes, interfaces and generics.  

CLO2: Describe and Document Diagrammatically the OO design of the Java Collection Framework (JCF) and apply this  framework in Java code.  

CLO4: Demonstrate Proficiency using an integrated development environment such as Eclipse for project management, coding  and debugging.  

 

4. Assessment details  

Note: Please ensure that you have read sections 1-3 of this document before going further.  

This assignment requires you to implement a game engine and console based user interface (logging output only, no user  interaction required) for a casino style card game that is loosely based on Black Jack but is for the gambler in a hurry that doesn’t  want to think too hard and wants to trust in luck alone without having to worry about statistics!  

The rules are simple, for each round, the player places a bet of a chosen amount up to their maximum available points (see NOTE1  below) and then receives a set of cards from the dealer (from a 28 card “half”* deck containing the cards 8, 9, 10, J, Q, K, A of all  suits) until they bust by exceeding the limit of 42 (or reach 42 exactly). There is no bust card if the player scores exactly 42 otherwise  the final score is the sum of the cards prior to the bust card (see scoring below). * “Half” deck in quotes since it is not exactly half a  standard 52 card deck!  

The house then deals on their own behalf against the players .. Highest score wins! A draw, where both the player and house score  the same result, is a no contest and the bet is returned to the player. The game then proceeds to the next round where the process  of betting and dealing continues.  

 

SCORING  

The rules for scoring the cards are also simple with no action required by the player. An Ace is always worth 11 (not 1!), Jack, Queen  and King are 10 and the other cards are worth their face value. i.e. an eight of spades is worth 8 points.  

NOTE1: Player points are not changed by placing a bet, they are only changed after the House has dealt and the win/loss has been  determined.  

NOTE2: Players are only competing against the house to win more points, with their win loss determined only by their own and the  House’s dealt cards, not by the other players. Also, do not worry about modelling a real Casino “Black Jack” game with its more  complex rules such as splitting etc. The focus here is on the implementation using a simple, highest card sum wins.  

 

This IT Computer Science Assignment has been solved by our  IT Computer Science  Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.