• R/O
  • SSH
  • HTTPS

shoginextmove: コミット


コミットメタ情報

リビジョン67 (tree)
日時2016-02-09 13:49:12
作者bellyoshi

ログメッセージ

変更サマリ

差分

--- Quantum/QuantumShogi/QuantumShogi.Logic/Koma.cs (nonexistent)
+++ Quantum/QuantumShogi/QuantumShogi.Logic/Koma.cs (revision 67)
@@ -0,0 +1,27 @@
1+using System;
2+using System.Collections.Generic;
3+using System.Linq;
4+using System.Text;
5+
6+namespace QuantumShogi.Logic
7+{
8+ class Koma
9+ {
10+ public long value { get; set; }
11+
12+ const long Promoted = 1 << 0; //なりごま
13+ const long Pawn = 1 << 1;// 歩
14+ const long Lance = 1 << 2;// 香車
15+ const long Knight = 1 << 3;// 桂馬
16+ const long Silver = 1 << 4;// 銀
17+ const long Gold = 1 << 5;// 金
18+ const long Bishop = 1 << 6;// 角
19+ const long Rook = 1 << 7;// 飛
20+ const long King = 1 << 8;// 王
21+ const long Black = 1 << 9;// 現在先手の駒
22+ const long White = 1 << 10;// 現在後手の駒
23+ const long InitialBlack = 1 << 11;//初期局面先手の駒
24+ const long InitialWhite = 1 << 12;//初期局面後手の駒
25+ const long Wall = Black | White;//壁
26+ }
27+}
旧リポジトリブラウザで表示