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

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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