Sha256: 541fa0a0b800ac25c08c77913e04dfeff0eb627f8000820eb6d00619442e8ea7
Contents?: true
Size: 1.09 KB
Versions: 7
Compression:
Stored size: 1.09 KB
Contents
require 'hand_evaluator' require "acpc_dealer/dealer_runner" module AcpcDealer VENDOR_DIRECTORY = File.expand_path('../../vendor', __FILE__) DEALER_DIRECTORY = File.join(VENDOR_DIRECTORY, 'project_acpc_server') GAME_DEFINITION_FILE_PATHS = { 2 => { limit: "#{DEALER_DIRECTORY}/holdem.limit.2p.reverse_blinds.game", nolimit: "#{DEALER_DIRECTORY}/holdem.nolimit.2p.reverse_blinds.game" }, 3 => { limit: "#{DEALER_DIRECTORY}/holdem.limit.3p.game", nolimit: "#{DEALER_DIRECTORY}/holdem.nolimit.3p.game" } } DEALER_PATH = "#{DEALER_DIRECTORY}/dealer" EXAMPLE_PLAYERS = { 2 => { limit: "#{DEALER_DIRECTORY}/example_player.limit.2p.sh", nolimit: "#{DEALER_DIRECTORY}/example_player.nolimit.2p.sh" }, 3 => { limit: "#{DEALER_DIRECTORY}/example_player.limit.3p.sh", nolimit: "#{DEALER_DIRECTORY}/example_player.nolimit.3p.sh" } } ConnectionInformation = Struct.new(:port_number, :host_name) do def initialize(port_number, host_name = 'localhost') super port_number, host_name end end end
Version data entries
7 entries across 7 versions & 1 rubygems