Sha256: df2c537c0c3f65034d53c10dbe7e7415a994702530f73071432f9b1f78bdc3cf
Contents?: true
Size: 283 Bytes
Versions: 1
Compression:
Stored size: 283 Bytes
Contents
require File.join('games', 'shared', 'player') module TTT class Player < Shared::Player attr_accessor :value def post_initialize(args = {}) @value = args.fetch(:value, "X") end def make_move raise 'Called abstract method: make_move' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
games_bfox-0.6.0 | lib/games/tictactoe/player.rb |