Skip to content

Instantly share code, notes, and snippets.

class Game
GAME_NAME = "Ghost"
MAX_SCORE = GAME_NAME.length
ALPHABET = Set.new("a".."z")
def initialize(player_list)
@players = player_list
@word_fragment = ""
@dictionary = initialize_dictionary("dictionary.txt")
class Game
GAME_NAME = "Ghost"
MAX_SCORE = GAME_NAME.length
ALPHABET = Set.new("a".."z")
def initialize(player_list)
@players = player_list
@word_fragment = ""
@dictionary = initialize_dictionary("dictionary.txt")