TokyoTechX Free on-demand course, Programming for beginners: Learning basics with computer Shogi is now available!

The Tokyo TechX,” which provides learning opportunities to the world, is now offering “Programming for beginners: Learning basics with computer Shogi” on the edX.

This course is designed for beginners to learn the basics and techniques of programming using Shogi. The MT Shogi program, a MATLAB version of Shogi, is used as the execution environment for this program. You can use MATLAB online for free during the course and learn the basics of programming and some concepts through explanations that pick up the main points of the code.

Please visit the course overview and registration page of edX”Programming for beginners: Learning basics with computer Shogi“.

*Note: This course is only available in Japanese.

  • プログラムの基本
    • 変数・配列
    • 演算と関数呼び出し
    • 制御文
  • プログラミングの様々な工夫
  • ゲーム木の探索
    • ミニマックス法
    • 将棋の局面評価
  • MATLABによる基本的なプログラミング

Week 1:駒の表示

  1. 駒の表示
  2. MT関数:駒表示
  3. MT変数:駒
  4. 配列
  5. 関数
  6. 制御文:for
  7. MATLAB関数・演算子

Week 2:駒の動き

  1. 駒の動き
  2. MT関数:周り候補マス
  3. 駒移動ベクトル
  4. MT関数:候補マス
  5. 制御文:while, if, switch
  6. MATLABの特徴
  7. MATLAB関数
  8. MATLABの演算

Week 3:人対人の対局

  1. 人対人の対局
  2. 対局の流れ
  3. MT将棋盤
  4. MT関数:選択と駒移動
  5. MATLAB関数:入出力
  6. 変数値の様々な設定方法

Week 4:コンピュータ対局[概要]

  1. コンピュータ対局
  2. 局面評価
  3. コンピュータ対局の流れ
  4. コンピュータによる局面評価

Week 5: コンピュータ対局[実装]

  1. MT関数:自動選択
  2. MT変数:点数行列・動き配列
  3. 関数解説:自動選択
  4. MATLAB関数:ソート・乱数・ファイル入出力
  5. 関数の様々な記述方法