jordansoans2002 / Games_Arcade

1 stars 0 forks source link

CowBull Game code #4

Closed jordansoans2002 closed 2 years ago

jordansoans2002 commented 2 years ago
  1. checks if word is valid, GUI sets the border of the text field as red if guess is invalid and green when valid
  2. Calculates the number of cows and bulls in each guess
  3. puts each letter of the guess into a label and that label into a hbox
  4. Changes the background of the label according to the guess and the selected level
  5. increments the number of guesses and adds the guess to that row of the gridpane
jordansoans2002 commented 2 years ago

Basic game code not optimized for multiplayer on multiple PCs https://github.com/jordansoans2002/Miniproject_1B/blob/master/src/main/java/com/example/miniproject_1b/CowBull.java

jordansoans2002 commented 2 years ago

Game functional for multiple players

jordansoans2002 commented 2 years ago

Add functioning to filter input using dictionary

jordansoans2002 commented 2 years ago

Dictionary can be used to select target word as well as check if the input word is valid. Checks if word is present using binary search. Dictionary is not comprehensive and has only 500 words for each length