Module com.slinky.hackmaster
Package com.slinky.hackmaster.model.text
package com.slinky.hackmaster.model.text
-
ClassDescriptionThe
Difficulty
enum defines five distinct levels of difficulty for categorising word lists within the application.Provides a strategy for generating a jumbled string from the provided text and specified size.Implements theJumbleStrategy
to generate a jumbled string by inserting random symbols between words from an input list to achieve a specified size.TheStaticWordSet
class is responsible for managing a set of words, providing functionality such as random selection, shuffling, and generating strings with random symbols inserted between words.TheWordBank
class provides a repository of word lists categorised by difficulty levels.TheWordSet
interface defines the contract for managing a set of words with functionalities such as retrieving the total number of characters, getting a randomly selected "correct" word, shuffling the word list, and generating a jumbled string with symbols inserted between the words.