Advance Java Programming Assignment

13-11-17 Rochio Varela 0 comment

Development of an Advance Java Programming Assignment using Java Programming Language

Abstract

An online survey resulted in a finding that people look for small breaks in their hectic schedules. Whilst the fast paced world requires that the employees at office deliver their jobs on time and with quality, it is observed that the employees who take frequent short breaks, helps them to be more productive, Many offices like Google and Face book, which are the most sought after employers in the world today, recommend their employees to refresh themselves with an array of gaming facilities provided at their premises. Taking a cue from their recommendations, I feel that a gaming website can also be used by those employees who are not as fortunate to have access to the work class gaming facilities as provided by Google Inc. My aim, therefore, would be to attempt to develop a gaming website, mainly using Java codes. The Website will host an array of short duration games, say 10 minutes or so, which will help the employee or any person for that matter, to rejuvenate himself or herself. Many offices today allow the employees to use their official computer or laptop for their personal use, so long as they deliver their office work, without any hurdles.  Hence this concept of online gaming seems to be feasible and I wish to create a very innovative site to enhance the employee mood and spirit. online Java assignment will be used for coding along with some other tools like some graphics utilities and libraries which will enable me to code the website as per the object.

Introduction

It is not difficult to find the proliferation of lot of online games and mobile apps which help the user to spend a quality time, between hectic schedules. From some online surveys I found that going in for an online recreation, such as playing some short game on computer, helps an employee to de-stress himself or herself. Many physicians also recommend some short games like shooting game to help raise the motivation level and spirit of the employee. This in turn helps the employee to refresh and concentrate more on work after this short break. The research also revealed that companies like Google and Microsoft encourage their employees to take frequent breaks and keep themselves healthy. Hence this website will be developed to fulfill this object of online gaming. The aim of the website will be to provide some short games which will definitely interest the person who avails of such service.

Read more about Object Oriented Programming using Java

Architecture

The website will be implemented as a 3-Tier architecture.

  1. Front end will be the thin client which I intend to complete it using HTML and some basic scripting
  2. Middle tier will be the actual application made in Java
  3. Back end tier will help me to save some gaming data or store the status of the game along with the user details, so that the user can resume the game or even keep a tab on highest scores.
  • The analysis model as a bridge between the system description and the design model.

Advance Java Programming Assignment, java assignment help, advanced java assignment help, java programming assigment help, programming assignments help, technical assignment help

analysis Modeling

Advance Java Programming Assignment, java assignment help, advanced java assignment help, java programming assigment help, programming assignments help, technical assignment help ANALYSIS MODEL

Requirements analysis provides the software designer with a representation of information, function, and behavior that can be translated to architectural, interface, and component-level designs. The analysis model and the requirements specification provide the developer and the customer with the means to assess quality once software is built (Hardy, 2000).

JAVA LANGUAGE:

Java programming  language  that  has  become  the  language  of  choice  for  programs  that  need  to  run  on  a  variety  of  different  computer  systems.  First  of  all,  Java  enables  you  to  write  small  programs  called  applets.  These  are  programs  that  you  can  embed   n  web  pages  to  provide  some   intelligence.  Being  able  to  embed  executable  code   n  a  web  page   introduces  a  vast  range  of  exciting  possibilities.   instead  of  being  a  passive  presentation  of  text  and  graphics,  a  web  page  can  be   interactive   in  any  way  that  we  want.

  Java’s  support  for  the  internet  and  network-based  applications  generally  doesn’t  end  with  applets.  For  example,  Java  Server  Pages  (JSP)  provides  a  powerful  means  of  building  a  server  application  that  can  dynamically  create  and  download  HTML  pages  to  a  client  that  are  precisely  customized  for  the  specific  request  that   s  received.  Of  course,  the  pages  that  are  generated  by  JSP  can  themselves  contain  Java  applets.  Java  also  allows  us  to  write  large-scale  application  programs  that  we  can  run  unchanged  on  any  computer  with  an  operating  system  environment   which  Java   s  supported.  This the majority of  computers     use  today.  We  can  even  write  programs  that  will  work  both  as  ordinary  applications  and  as  applets.

  The  most   important  characteristic  of  advanced Java programming is  that   t  was  designed  from  the  outset  to  be  machine   independent.  We  can  run  Java  programs  unchanged  on  any  machine  and  operating  system  combination  that  supports  Java.  The most   important Java that  object-oriented (Hamilton, Cattell  and Fisher, 1997).

Read more about OOPS Assignment Help Using Java

APPLETS:

 Applets  are  small  applications  that  are  accessed  on  an   internet  server,  transported  over  the   internet,  automatically   installed,  and  run  as  part  of  a  Web  document.  After  an  applet  arrives  on  the  client,   t  has  limited  access  to  resources,  so  that   it  can  produce  an  arbitrary  multimedia  user   interface  and  run  complex  computations  without   introducing  the  risk  of  viruses  or  breaching  data   integrity (Gutz, 1998).

Classes

Class: Chat Message

1 Packet Chat Text

Identifier CH

Type Client Initiated

Description Is used to transmit a chat message typed by a client to other clients.

to_id is required for one to one communication which is not currently allowed in the game but has been designed for future enhancements. 0

is being sent as to_id which is basically a multi cast id.

ClientEncoder CH<to_id(byte)><len_of_message(short)><message(string)>

ServerEncoder CH<from_id(byte)><to_id(byte)><len_of_message(short)><messag

e(string)>

Class: Information

1 Packet Player info

Identifier IN

Type Client Initiated

Description Is used to transport the informations of a player viz; name, color and

location.

ClientEncoder IN<info_len(short)><name:color:location(string)>

ServerEncoder IN<info_len(short)><id:name:color:location(string)>

Class: ControlSignal

1 Packet Acknowledgment

Identifier AK

Type Client Initiated

Description This packet is sent when a client successfully receives Level data. The

status_code  field has been reserved for future enhancements. As of

now it is sent as 0.

ClientEncoder AK

ServerEncoder AK<id(byte)><status_code(byte)>

2 Packet Quit

Identifier QT

Type Client Initiated

Description Sent when a client quits the game.

ClientEncoder QT

ServerEncoder QT<id(byte)>

3 Packet Ready

Identifier RY

Type Client Initiated

Description Is sent when the user specifies his readiness to start the game.

ClientEncoder RY

ServerEncoder RY<id(byte)><status_code(byte)>

4 Packet ID

Identifier ID

Type Server Initiated

Description This packet is sent by server to client to assign an id to the player. This

is done as soon as the client sends his information.

ServerEncoder ID<id(byte)>

Packet Start

Identifier ST

Type Server Initiated

Description Represents start of various events in the game on the basis of

status_code.status_code 0 represents the  beginning of

transmission of level data. status_code 1 represents the beginning of

level synchronization task before beginning of a level and status_code 2

is a signal to start the actual level play.

ServerEncoder ST<status_code(byte)>

 Packet Stop

Identifier SP

Type Server Initiated

Description Represents the end of level.

ServerEncoder SP<status_code(byte)>

Read more about Java Project Assignment Help

7 Packet Force

Identifier FR

Type Server Initiated

Description This communication packet forces a player to send a ready packet when

all others have expressed their willingness to begin the game.

ServerEncoder FR<id(byte)><status_code(byte)>

8 Packet No Acknowledgment

Identifier NK

Type Server Initiated

Description This packet is sent by server when the information supplied by client is

not valid. status_code here represents field which has invalid data.

Invalid data occurs when information field contains reserved characters

or duplicate entry.

See more about : Hotel Reservation system Java Assignment

ServerEncoder NK<id(byte)><status_code(byte)>

Class: LevelData

1 Packet Begin from

Identifier BF

Type Server Initiated

Description The packet sends starting coordinate of all the players in a single

packet. The player  begins level from this coordinate and is reset to this

coordinate on collision.

ServerEncoder BF<3*no_of_players(byte)>[<id(byte)><x_coordinate(byte)><y_co

ordinate(byte)>]

2 Packet Score

Identifier SC

Type Server Initiated

Description Sends score of all the players in the packet on beginning of a level.

ServerEncoder SC<8*2*no_of_players(byte)>[<id(long)><score(long)>]

3 Packet Level

Identifier LV

Type Server Initiated

Description Sends the level number to the clients.

ServerEncoder LV<level_number(byte)>

4 Packet Life

Identifier LF

Type Server Initiated

Screens

Advance Java Programming Assignment, java assignment help, advanced java assignment help, java programming assigment help, programming assignments help, technical assignment help

Advance Java Programming Assignment, java assignment help, advanced java assignment help, java programming assigment help, programming assignments help, technical assignment help

Advance Java Programming Assignment, java assignment help, advanced java assignment help, java programming assigment help, programming assignments help, technical assignment help

Advance Java Programming Assignment, java assignment help, advanced java assignment help, java programming assigment help, programming assignments help, technical assignment help

Advance Java Programming Assignment, java assignment help, advanced java assignment help, java programming assigment help, programming assignments help, technical assignment help

Read more about Java Programming Online Assignment

References

Gutz, S. (1998). Up to Speed with Java Swing: User Interfaces with Java Foundation Classes, Manning.

Hamilton, G., Cattell, R. and Fisher, M. (1997). JDBC Database Access with Java: A Tutorial and Annotated Reference, SunSoft Press.

Hardy, V. J. (2000). Java 2D API Graphics, Sun Microsystems Press.

Programming Assignments Help is the best assignment help provider in the United Kingdom. Our online assignment writing help UK is specially dedicated for the students studying in all UK colleges and universities. Submit assignment to get the best quality assignment help.