Git is a distributed version control system. Every Git working directory is a full-fledged repository with complete history and full version tracking capabilities, not dependent on network access or a central server.
$ git init
class Boggle_board | |
def initialize(board) | |
@board = board.clone | |
end | |
def create_word(*coords) | |
coords.map { |coord| @board[coord.first][coord.last]}.join("") # returns a word built from coordinates | |
end | |