/sima_boggle

Primary LanguagePythonMIT LicenseMIT

sima_boggle

Function:

For a round of Boggle: to check the validity of each player's words, score their respective lists, and declare a winner.

Thoughts behind how I'm going to get this to work:

After a game of Boggle, the user will:

  • input the letters used in the round of boggle from left to right, top to bottom
  • input the number of players that round

The program will then prompt each user to input their words in a comma separated list. The program will compare each word of a player to the other players' lists. If the word belongs to more than half of the players, it gets removed from all lists containing the word. If not, the word is searched for in the Merriam Webster Dictionary. If that word exists, the points gained from that word (based on the word's length) are added to each player that has that word to their respective total score.

Rules of Boogle

Completed Features:

Features in Progress:

  • boggle_board.py
  • players
  • check_words_dictionary
  • score

Future Features:

  • check_words_board
  • check_words_players
  • final_results

Questions & Recommended Help:

  • How can I make this more user friendly?
  • How do I search the Merriam Webster Dictionary for the word? How do I rule out all informal or archaic words?
    • A potential option: use this Python wrapper of the Merrian Webster API. You need to get developer keys from here and then take a look at this script, which fetches the definition for a given query (or will return No definitions found for 'word').
  • How do I take each player from my players.md and create a unique array of strings based on their input?
  • How do I test that the letters in a word are either next to each other or diagonal on a grid without going through the same grid location more than once?
    • Would I create a 4x4 2D Array and then if I use the letter I set that space to zero to prevent repetition?