Sha256: ac85f76445a87f53365d862d03ea9fa99abb232c535cd0611b4973b8388aede3
Contents?: true
Size: 385 Bytes
Versions: 10
Compression:
Stored size: 385 Bytes
Contents
# encoding: UTF-8 # The interface a client should implement to work with the gem. class ClientInterface # Is updated by the gem, when a new gamestate is received from the server. attr_accessor :gamestate # Is called when the server requests a move from the client. # @return [Move] Needs to return a valid move. def move_requested raise 'Not yet implemented' end end
Version data entries
10 entries across 10 versions & 1 rubygems