Make a server program that allows for connection from client programs. A client must login using the
Question:
Make a server program that allows for connection from client programs. A client must login using the appropriate credentials stored in a database that is accessed by the server. The connecting client will be refused if the account is currently logged in (single session only). Upon connection, the client can initiate to play the game (WORDY) . The game will only start if there is at least another player that is willing to join the game. (Note: the server can send an exception that will be handled by the initiating player in case there is no other player that is willing to play within 10 seconds). Once a player/s has/have joined within 10 seconds, the game will start with each round where the server sends 17 random letters (with 5 to 7 vowels) to all players where the goal of each player is to send a single valid word, with at least five (5) letters, that can be formed from the letters sent by the server.
A letter in the 17 random letters may be repeated. If the word formed and sent by the player is less than five letters or the word formed is not valid then the server will respond with an invalid word formed. Each player can submit as many words as possible within 10 seconds. The player that has submitted the longest valid word will be declared the winner for a given round. No winner will be declared for a given round if two or more players have submitted the same length of letters or if the players were not able to send a valid word. First player to win 3 rounds will be declared the eventual winner.
Additionally, the server will keep track of the 5 longest words that are answered by players. Also, the record of number of wins by players will be recorded on the server. These lists will be obtained by a player
If he/she accesses the option to display the longest words or top 5 players in the player's game interface.
Note:
• The server will use the file "words.txt" to validate the words that are guessed by a player.
• Storage of pertinent information will be through a database (MySQL).
Required:
1. Make a CORBA IDL needed for the situation.
2. Implement the server-side component given the CORBA IDL using the Java language.
3. Implement the client-side component given the CORBA IDL using:
a. Java language
b. Another programming language that supports CORBA
Principles Of Information Security
ISBN: 9780357506431
7th Edition
Authors: Michael E. Whitman, Herbert J. Mattord