OSDN Git Service

- shogi_server/player.rb: Added new methods: is_human? and is_computer?.
authorbeatles <beatles@b8c68f68-1e22-0410-b08e-880e1f8202b4>
Sat, 26 Dec 2009 01:40:15 +0000 (01:40 +0000)
committerbeatles <beatles@b8c68f68-1e22-0410-b08e-880e1f8202b4>
Sat, 26 Dec 2009 01:40:15 +0000 (01:40 +0000)
commit1bfba9c03b6b07f85691b5c5d8fc83cc2ae0ee5b
tree5786ce9e5851bfc464aa04a3e315dd909aaf6734
parentbb1c092330352a3a83b3b76f4e31a359ab4670af
- shogi_server/player.rb: Added new methods: is_human? and is_computer?.

  A human player is recommened to use a name ending with '_human'.
  ex. 'hoge_human', 'hoge_human@p1'
changelog
shogi_server/player.rb
test/TC_player.rb