diff --git a/millgame.pro b/millgame.pro
index f3bcf1f9..232612b8 100644
--- a/millgame.pro
+++ b/millgame.pro
@@ -34,7 +34,6 @@ SOURCES += \
src/base/zobrist.cpp \
src/game/bitboard.cpp \
src/game/board.cpp \
- src/game/location.cpp \
src/game/option.cpp \
src/game/player.cpp \
src/game/position.cpp \
@@ -75,7 +74,6 @@ HEADERS += \
src/base/zobrist.h \
src/game/bitboard.h \
src/game/board.h \
- src/game/location.h \
src/game/option.h \
src/game/player.h \
src/game/position.h \
diff --git a/millgame.vcxproj b/millgame.vcxproj
index c9549407..97cb44c8 100644
--- a/millgame.vcxproj
+++ b/millgame.vcxproj
@@ -472,7 +472,6 @@
-
@@ -726,7 +725,6 @@
-
diff --git a/millgame.vcxproj.filters b/millgame.vcxproj.filters
index 899f2824..12f5fa39 100644
--- a/millgame.vcxproj.filters
+++ b/millgame.vcxproj.filters
@@ -120,9 +120,6 @@
game
-
- game
-
base
@@ -371,9 +368,6 @@
game
-
- game
-
base
@@ -455,9 +449,6 @@
-
- Resource Files
-
Resource Files
@@ -485,12 +476,6 @@
Resource Files
-
- Resource Files
-
-
- Resource Files
-
Resource Files
@@ -560,6 +545,9 @@
Resource Files
+
+
+
diff --git a/src/game/board.h b/src/game/board.h
index 84a94fdf..c7485ee0 100644
--- a/src/game/board.h
+++ b/src/game/board.h
@@ -23,7 +23,6 @@
#include
#include "config.h"
-#include "location.h"
#include "rule.h"
#include "types.h"
diff --git a/src/game/location.cpp b/src/game/location.cpp
deleted file mode 100644
index f885b4c5..00000000
--- a/src/game/location.cpp
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- Sanmill, a mill game playing engine derived from NineChess 1.5
- Copyright (C) 2015-2018 liuweilhy (NineChess author)
- Copyright (C) 2019-2020 Calcitem
-
- Sanmill 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, either version 3 of the License, or
- (at your option) any later version.
-
- Sanmill is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see .
-*/
-
-#include "location.h"
-
-Location::Location()
-{
-}
-
-Location::~Location()
-{
-}
-
-Location &Location::operator= (const Location &other)
-{
- if (this == &other)
- return *this;
-
- // TODO: Implement
-
- return *this;
-}
diff --git a/src/game/location.h b/src/game/location.h
deleted file mode 100644
index fa85b4ee..00000000
--- a/src/game/location.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- Sanmill, a mill game playing engine derived from NineChess 1.5
- Copyright (C) 2015-2018 liuweilhy (NineChess author)
- Copyright (C) 2019-2020 Calcitem
-
- Sanmill 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, either version 3 of the License, or
- (at your option) any later version.
-
- Sanmill is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see .
-*/
-
-#ifndef LOCATION_H
-#define LOCATION_H
-
-#include "config.h"
-#include "option.h"
-#include "types.h"
-#include "rule.h"
-
- // 棋局,抽象为一个(5×8)的数组,上下两行留空
- /*
- 0x00 代表无棋子
- 0x0F 代表禁点
- 0x11~0x1C 代表先手第 1~12 子
- 0x21~0x2C 代表后手第 1~12 子
- 判断棋子是先手的用 (locations[i] & 0x10)
- 判断棋子是后手的用 (locations[i] & 0x20)
- */
-
-class Location
-{
-public:
- Location();
- ~Location();
-
- Location & operator=(const Location &);
-
- inline static void setBan(location_t &location)
- {
- assert(rule.hasBannedLocations == true);
- location = BAN_STONE;
- }
-
-private:
-};
-
-#endif /* LOCATION_H */
-