Sha256: 245a66221658647f2617957c0a98b63836fc36b22caa8c67bd44fc275690c97b

Contents?: true

Size: 404 Bytes

Versions: 1

Compression:

Stored size: 404 Bytes

Contents

require File.join('games', 'version')
require File.join('games', 'mastermind')
require File.join('games', 'tictactoe')
require File.join('games', 'shared', 'io_helpers')
require File.join('games', 'shared', 'io_terminal')

io_helpers = Shared::IOHelpers.new(Shared::IOTerminal.new)
choice = io_helpers.choose_game

if choice == :tictactoe
  TicTacToe.run
elsif choice == :mastermind
  Mastermind.run
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
games_bfox-0.6.0 lib/games.rb