there are two players adding words to a growing word fragment. Each player will take turns attempting to add letters to a growing word fragment. The letter you select should attempt to force your opponent to spell a word or create a word fragment that has no possibility of creating a word. Unlike the prior ghost competition, when it is your turn you are allowed to add a letter to either the front or back of the word fragment. Winning Criteria: If your opponent spells a word that is at least 6 characters long
Hello, Please i need can you help write a program using java with the specification:
General Overview
Rule changes:
The premise of the game remains the same, there are two players adding words to a growing word fragment. Each player will take turns attempting to add letters to a growing word fragment. The letter you select should attempt to force your opponent to spell a word or create a word fragment that has no possibility of creating a word. Unlike the prior ghost competition, when it is your turn you are allowed to add a letter to either the front or back of the word fragment.
Winning Criteria:
If your opponent spells a word that is at least 6 characters long
if your opponent creates a word fragment that has no possibility of creating a word
if your opponent takes longer than 60 seconds to select a word.
Tip: If you are the first player you can only spell words that are odd length thus you can only lose when you spell words that are odd but you can win when your opponent spells words that are even length. Accordingly, if you are the first player you should only care about spelling even length words. You can tell if you are the first player by the length of the word fragment when it is your turn...
Programmatic Requirements:
The minimal requirement for this project is that you build a program that can save and load the share game data file with a GUI that enables you to control your team's actions. The GUI must contain a text field that displays the most current word fragment for each given round, it should update at the beginning of each round. It must also contain a text field where you can type in your next letter as well as some type of interface where you select the location the next letter should be placed in the fragment. Please use the accompanying photo as an example. Given that a portion of your grade is based on how well you perform in the competition it is highly recommended that you implement some type of assistance letter selection
Trending now
This is a popular solution!
Step by step
Solved in 3 steps