## $Id$
## Copyright (C) 2004 NABEYA Kenichi (aka nanami@2ch)
-## Copyright (C) 2007-2008 Daigo Moriwaki (daigo at debian dot org)
+## Copyright (C) 2007-2012 Daigo Moriwaki (daigo at debian dot org)
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
end
end
+class GameResultMaxMovesDraw < GameResultDraw
+ def initialize(game, winner, loser)
+ super
+ @log_summary_type = "max_moves"
+ @result_type = "#MAX_MOVES"
+ end
+
+ def process
+ @players.each do |player|
+ player.write_safe("#MAX_MOVES\n#CENSORED\n")
+ end
+ # no log
+ log_summary
+ notify
+ end
+end
+
end # ShogiServer