GNU Go
Ubuntuで動く囲碁ソフトを探してみたら、GNU Goというのがあるらしい。
さっそく端末で、gnugoと入力してみる。
$ gnugo プログラム 'gnugo' はまだインストールされていません。 次のように入力することでインストールできます: sudo apt-get install gnugo
その通りに入力すると、インストール開始。
インストール後に実行。
$ gnugo GNU Go 3.8 Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 2008 and 2009 by the Free Software Foundation, Inc. See http://www.gnu.org/software/gnugo/ or contact gnugo@gnu.org for information about GNU Go. GNU Go comes with NO WARRANTY to the extent permitted by law. 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 the Free Software Foundation - version 3 or (at your option) any later version. For more information about these matters, see the files named COPYING. Beginning ASCII mode game. Board Size: 19 Handicap 0 Komi: 0.0 Move Number: 0 To Move: black Computer player: White White (O) has captured 0 pieces Black (X) has captured 0 pieces A B C D E F G H J K L M N O P Q R S T 19 . . . . . . . . . . . . . . . . . . . 19 18 . . . . . . . . . . . . . . . . . . . 18 17 . . . . . . . . . . . . . . . . . . . 17 16 . . . + . . . . . + . . . . . + . . . 16 15 . . . . . . . . . . . . . . . . . . . 15 14 . . . . . . . . . . . . . . . . . . . 14 13 . . . . . . . . . . . . . . . . . . . 13 12 . . . . . . . . . . . . . . . . . . . 12 11 . . . . . . . . . . . . . . . . . . . 11 10 . . . + . . . . . + . . . . . + . . . 10 9 . . . . . . . . . . . . . . . . . . . 9 8 . . . . . . . . . . . . . . . . . . . 8 7 . . . . . . . . . . . . . . . . . . . 7 6 . . . . . . . . . . . . . . . . . . . 6 5 . . . . . . . . . . . . . . . . . . . 5 4 . . . + . . . . . + . . . . . + . . . 4 3 . . . . . . . . . . . . . . . . . . . 3 2 . . . . . . . . . . . . . . . . . . . 2 1 . . . . . . . . . . . . . . . . . . . 1 A B C D E F G H J K L M N O P Q R S T black(1):
うわっ、CUIだ。
これはツラい。
で、GNU Goのフロントエンドとなる、qGoというのがあるらしい。
$ qgo プログラム 'qgo' はまだインストールされていません。 次のように入力することでインストールできます: sudo apt-get install qgo
インストールすると、[アプリケーション]-[ゲーム]のメニューの下に、qgoが作成されます。
メニューで、[File]-[Play with program]を選ぶとコンピュータと対戦できます。
つおいです。