Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Homework Help/Study Tips Expert

Scrabble Game Characteristics -

  • You need to create a 20x20 grid where users on different PCs, min of 2 people, but allowing more if there are more players, will place letters on tiles of this grid to make words in turns.
  • We ask you to implement a specific version of this game as follows but you are welcome to read about Scrabble game online which is a popular game with numerous versions.
  • Users will take turns to place a character in a tile of the fixed grid mentioned above.
  • When tiles that touch each-other make a word, then the person who placed the associated letter will get points equal to the total length (number of tiles) of the word.
  • A proper word is judged when all players accept the word through a visible voting GUI.
  • The game ends when all users have a turn and cannot find a word/extension to make, basically when all players say pass when their turn comes through a GUI.
  • Words are written in English and can only be read from left to right or top to bottom.
  • The game should have appropriate GUI for allowing appropriate controls and information to play as well as to follow it by all players.
  • All users should be able to see the same view of the game on their machines without differences or errors between them. Start and end game should be clear.
  • Users should be able to logout from the game any time which would lead to end game as well.
  • There should be a game membership pool where users come in when they login to the game application and see other potential players.
  • You are welcome to have simplifying assumptions for membership and game start management such as having at most one game at a time and not allowing people to join games at any time but only at the beginning of a game.
  • You need to let any player initiate a game and invite others who can then accept this.
  • You can get creative and implement a more complex game if you agree as a team.

Challenges -

Dealing with concurrency

  • Regardless of the technology you use, you will have to ensure that access to shared resources is properly handled and that simultaneous actions lead to a reasonable state. The game logistics leads to some application level order which you need to implement so that the game board is altered by one person at a time for example. There are other cases where you need to do more to solve conflicts.

Structuring your application and handling the system state

  • For example you can have one or more servers that communicate with each other, use a P2P or client server approach.

Dealing with networked communication

  • You have to decide when/what messages are sent across the network.
  • You may have to design an exchange protocol that establishes which messages are sent in which situation and the replies that they should generate.
  • If you use RMI, then you have to design your remote interface(s) and servants for example.

Implementing the GUI.

  • You can use any Java library for this implementation but no outside packages that implements the core features of the Distributed Application or the Game Interface.

Some Further Requirements

  • Users must provide a username when joining the game. There should be a way of uniquely identifying users, either by enforcing unique usernames or automatically generating a unique identifier and associating it with each username.
  • All the users should see the same image of the game and should have the same player capabilities and no difference between player capabilities.
  • When displaying a board, the user interface should show the usernames of other users who are currently in the system and their scores etc. You cannot assume implicit knowledge of other players or that they are sitting next to you.
  • Users may connect and disconnect at any time and the game should not crash but stop gracefully such as announce a winner of the game at that state.
  • Users should be able to play and view the game state in real time, without delays. A change on one player should be visible on others immediately from a user point of view.
  • There is no need to authenticate users that want to access the system accept a simple system login page to get names etc and then listing online members at that time.
  • Important: you are NOT allowed to use ANY code taken from an existing shared game implementation.

Homework Help/Study Tips, Others

  • Category:- Homework Help/Study Tips
  • Reference No.:- M93109504

Have any Question?


Related Questions in Homework Help/Study Tips

Question first major paper assignment arguing for a

Question: First Major Paper Assignment: Arguing for a Definition of Higher Education Description: Make an argument to define higher educationin a way that readers will find illuminating given the essays and excerpts from ...

Assignment 2 equality for allsocial stratification is the

Assignment 2: Equality for All? Social stratification is the ranking of individuals in a hierarchy of unequal wealth, occupational prestige, and power. It is a feature of society and not a reflection of individual unique ...

Question write a discussion on whether you think nature or

Question: Write a discussion on whether you think nature or nurture is more important in development and why. Include a corresponding web site that supports your opinion. It will be beneficial to you to include when writ ...

Assignment 2 lasa 1 ethical case study analysis

Assignment 2: LASA 1: Ethical Case Study Analysis Paper Materials Needed: Case Study Directions: • Read the case study provided and identify all three of the ethical dilemmas presented. • Describe the nature and all dime ...

Question choose 2 of the organization and write a 3-4 page

Question: Choose 2 of the organization and write a 3-4 page paper in Apa format and answer 5 questions. 1. Sexual compulsives anonymous sca-recovery.sca-recovery.org 2. Sexual addicts anonymous-sexaa. 3. Sexual recovery ...

Regression and correlation multiple regression analysis is

Regression and Correlation Multiple regression analysis is widely used in business research in order to forecast and predict purposes. It is also used to determine what independent variables have an influence on dependen ...

Question instructions for the hr in the news portfoliostep

Question: Instructions for the "HR in the News" Portfolio Step one: Pick an HR topic that interests you. Examples: HR role in downsizing; new trends in HR; Affordable Care Act and the impact on benefit packages; evaluati ...

Assignment team training powerpoint presentation group

Assignment: Team Training PowerPoint Presentation (Group Project) There will be two separate grades for Assignment #3: Content 20 points and a Peer Evaluation for 5 points. The grades will appear separately in your grade ...

Question 1 please watch this brief video illustrating

Question: 1. Please watch this brief video illustrating Piaget's classic studies of conservation in the preoperational stage: Video: Conservation task (By jenningh) Give at least two reasons why Piaget says that young ch ...

Question select one 1 of the following famous ancient roman

Question: Select one (1) of the following famous ancient Roman structures that you find most fascinating: Colosseum, Circus Maximus, Pantheon, insulae, or bath complexes. After exploring the related resource(s) below on ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As