Create a Scrabble Game

Assignment Help Other Subject
Reference no: EM132122038

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.

Reference no: EM132122038

Questions Cloud

Explain whether you agree with the given statement : Suppose the federal government decides to levy a sales tax of $1.00 per pie on pizza. Briefly explain whether you agree with the following statement.
Find the probability that the sample standard deviation : Tom works for a fruit company and found that the weights of pineapples are normally distributed with mean = 500 grams and standard deviation = 100 grams.
How can products be marketed to different demographics : How can products be marketed to different demographics? Explain the ethical standards used in the business environment.
Why does the government usually collect a tax : If the price consumers pay and the price sellers receive are not affected by whether consumers or sellers collect a tax on a good or service
Create a Scrabble Game : Scrabble Game Characteristics - You need to create a 20x20 grid where users on different PCs, min of 2 people
Identify learning opportunity in your organization : Identify a learning opportunity in your organization or an organization with which you are familiar.
By how much does the new equilibrium wage pay workers fall : Suppose the government imposes a payroll tax of $1 per hour of work and collects the tax from employers. Use a graph for the market for labor.
What economic information is conveyed by the intercept : In a linear demand equation, what economic information is conveyed by the intercept on the price axis? Similarly, what economic information is conveyed
Benchmarking assist in strategy development and formulation : What is benchmarking? How can benchmarking assist in strategy development and formulation?

Reviews

Write a Review

Other Subject Questions & Answers

  Under the simulated emergency conditions

Recently, the British Air Force studied the ability of pilots to detect warning signals in a jet fighter cockpit under emergency situations. Two test were conducted: one with normal conditions and the other under simulated emergency conditions. Durin..

  What agenda would you put forth

Introduce yourself and describe how you, as an advance practice nurse, could be involved in the political system. Describe any involvement.

  What direction are the winds blowing on the means graphic

Describe the temperature patterns you see in the means graphic.Describe the temperature anomalies you see in the anomalies graphic.

  Local authorities in some european cities

After World War II local authorities in some European cities (Berlin and Frankfurt, for instance) prescribed ceilings on rental prices for city flats. The idea was to make access to appropriate dwelling space largely independent of income. Althoug..

  What ideas and concepts does teju cole explore

Expand and explain on what does Allan Sekula propose in his essay? At what time was his essay written in comparison to Teju Cole's? How do they compare.

  How will the new model improve practice parameters

Review content in the Hamric textbook that refers to the proposed new Regulatory Model for APRNs.

  What impact the use of slos has on the student experience

Write a 300 word paper explaining what impact the use of SLOs has on the student experience

  What christian doctrine does this text illustrate

Question: What Christian doctrine does this text illustrate, and what are three attributes of the Word (Logos) mentioned elsewhere in John's Prologue implicitly ascribed here to Jesus?(prolong of John)

  Explain the sociological perspective

Explain the sociological perspective. How does it differ from psychology? How would a sociologist explain the fact that women with children have lower participation rates in sport than men with children? How would a psychologist explain the same tren..

  What does gini coefficient measure

What does Gini coefficient measure? Discuss in detail the effects of income inequality on a nation's economy. Do you think that globalization is increasing or reducing global and domestic inequality? Use examples to illustrate your points

  Do you believe that the 28 day model was based on research

While there are many opinions and methods for treating addiction, these two articles discuss one that is "typical" and one that is very atypical.

  Prepare an advertisement for that position that complies

prepare an advertisement for that position that complies with federal law. this advertisement must be detailed. the

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd