Table of Contents

Interface IWordAlphabet

Namespace
Gamelogic.Words
Assembly
Gamelogic.Words.dll

An interface to manage a representation of an alphabet

[Version(1, 0, 0)]
public interface IWordAlphabet
Extension Methods

Properties

Letters

Gets all characters in the alphabet. They are not necessarily sorted alphabetically

Methods

Compare(Word, Word)
CreateWord(string)
CreateWord(string, bool, bool)
GetRandomLetter()

Returns a random character from the alphabet

IsCharacterMatch(string, string, out bool)

Checks whether two characters match

IsZeroWidthMatch(string)

Is this matching character a zero-width match?

LetterCompare(string, string)
SplitChars(Word, bool, bool)

Split a word into its constituent alphabet characters. Will also optionally split to include ?, + and * search characters. Optionally ignore spaces All other characters are ignored