OSDN Git Service

enabled ExcludeSacrifice by default
authortkaneko <tkaneko@b8c68f68-1e22-0410-b08e-880e1f8202b4>
Sun, 9 Mar 2008 11:19:28 +0000 (11:19 +0000)
committertkaneko <tkaneko@b8c68f68-1e22-0410-b08e-880e1f8202b4>
Sun, 9 Mar 2008 11:19:28 +0000 (11:19 +0000)
pairing.rb

index 1ca31df..3a577e9 100644 (file)
@@ -4,8 +4,8 @@ module ShogiServer
 
     class << self
       def default_pairing
 
     class << self
       def default_pairing
-        return SwissPairing.new
-        #return ExcludeSacrifice.new(SwissPairing.new)
+        #return SwissPairing.new
+        return ExcludeSacrifice.new(SwissPairing.new)
         #return RandomPairing.new
         #return ExcludeSacrifice.new(RandomPairing.new)
       end
         #return RandomPairing.new
         #return ExcludeSacrifice.new(RandomPairing.new)
       end