Class: Connect4::Game
- Inherits:
-
BoardgameEngine::Game
- Object
- BoardgameEngine::Game
- Connect4::Game
- Includes:
- Games::CyclicalTurn
- Defined in:
- lib/boardgame_engine/connect4.rb
Overview
A game of Connect-4
Constant Summary collapse
- PLAY_INSTRUCTIONS =
'You can select which column to drop you chip into by' \ ' typing in the row number.'
- GAME_NAME =
'Connect-4'- NUM_PLAYERS =
2
Instance Method Summary collapse
-
#initialize(names) ⇒ Game
constructor
A new instance of Game.
Methods included from Games::CyclicalTurn
Methods inherited from BoardgameEngine::Game
#onboarding, #play, start, #to_s
Constructor Details
#initialize(names) ⇒ Game
18 19 20 |
# File 'lib/boardgame_engine/connect4.rb', line 18 def initialize(names) super(Board, names) end |