From 5e613e0b703e6faf140d759d87d528ac2475712a Mon Sep 17 00:00:00 2001
From: Duy-Thanh <36120800+Duy-Thanh@users.noreply.github.com>
Date: Wed, 10 Nov 2021 08:07:28 +0700
Subject: [PATCH 01/12] Update build.gradle
---
CuckooChessApp/build.gradle | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/CuckooChessApp/build.gradle b/CuckooChessApp/build.gradle
index f7b78af8..54776df7 100644
--- a/CuckooChessApp/build.gradle
+++ b/CuckooChessApp/build.gradle
@@ -49,9 +49,9 @@ android {
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation 'androidx.appcompat:appcompat:1.1.0'
- testImplementation 'junit:junit:4.13'
- androidTestImplementation 'androidx.test:runner:1.2.0'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
+ implementation 'androidx.appcompat:appcompat:1.3.1'
+ testImplementation 'junit:junit:4.13.2'
+ androidTestImplementation 'androidx.test:runner:1.4.0'
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation project(':CuckooChessEngine')
}
From e1876d0cdcc6faeecd753cbe9b39be324d7725ff Mon Sep 17 00:00:00 2001
From: Duy-Thanh <36120800+Duy-Thanh@users.noreply.github.com>
Date: Wed, 10 Nov 2021 08:08:39 +0700
Subject: [PATCH 02/12] Update build.gradle
---
CuckooChess/build.gradle | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/CuckooChess/build.gradle b/CuckooChess/build.gradle
index e1830320..6b8ca206 100644
--- a/CuckooChess/build.gradle
+++ b/CuckooChess/build.gradle
@@ -14,11 +14,11 @@ dependencies {
implementation project(':CuckooChessEngine')
// Required -- JUnit 4 framework
- testImplementation 'junit:junit:4.13'
+ testImplementation 'junit:junit:4.13.2'
// Optional -- Robolectric environment
- testImplementation 'androidx.test:core:1.2.0'
+ testImplementation 'androidx.test:core:1.4.0'
// Optional -- Mockito framework
- testImplementation 'org.mockito:mockito-core:1.10.19'
+ testImplementation 'org.mockito:mockito-core:4.0.0'
}
sourceCompatibility = "8"
From 2b0515aece9b7edb738cd9f86377c445559cb908 Mon Sep 17 00:00:00 2001
From: Duy-Thanh <36120800+Duy-Thanh@users.noreply.github.com>
Date: Wed, 10 Nov 2021 08:10:08 +0700
Subject: [PATCH 03/12] Update build.gradle
---
CuckooChessEngine/build.gradle | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/CuckooChessEngine/build.gradle b/CuckooChessEngine/build.gradle
index 564b7b7a..ff236782 100644
--- a/CuckooChessEngine/build.gradle
+++ b/CuckooChessEngine/build.gradle
@@ -4,11 +4,11 @@ dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
// Required -- JUnit 4 framework
- testImplementation 'junit:junit:4.13'
+ testImplementation 'junit:junit:4.13.2'
// Optional -- Robolectric environment
- testImplementation 'androidx.test:core:1.2.0'
+ testImplementation 'androidx.test:core:1.4.0'
// Optional -- Mockito framework
- testImplementation 'org.mockito:mockito-core:1.10.19'
+ testImplementation 'org.mockito:mockito-core:4.0.0'
}
sourceCompatibility = '8'
From f69a08a0513890fce11e2be454db0a635b7c8b03 Mon Sep 17 00:00:00 2001
From: Duy-Thanh <36120800+Duy-Thanh@users.noreply.github.com>
Date: Wed, 10 Nov 2021 08:10:53 +0700
Subject: [PATCH 04/12] Update build.gradle
---
DroidFishApp/build.gradle | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/DroidFishApp/build.gradle b/DroidFishApp/build.gradle
index 53db217d..94c0b9a3 100644
--- a/DroidFishApp/build.gradle
+++ b/DroidFishApp/build.gradle
@@ -12,7 +12,7 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
externalNativeBuild {
ndkBuild {
- arguments '-j8'
+ arguments '-j2'
}
}
}
@@ -29,6 +29,11 @@ android {
}
buildTypes {
+ debug {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
@@ -59,12 +64,12 @@ android {
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation 'androidx.appcompat:appcompat:1.1.0'
- implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
- implementation 'com.google.android.material:material:1.1.0'
- testImplementation 'junit:junit:4.13'
- androidTestImplementation 'androidx.test:runner:1.2.0'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
+ implementation 'androidx.appcompat:appcompat:1.3.1'
+ implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
+ implementation 'com.google.android.material:material:1.4.0'
+ testImplementation 'junit:junit:4.13.2'
+ androidTestImplementation 'androidx.test:runner:1.4.0'
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation project(':CuckooChessEngine')
implementation 'com.caverock:androidsvg-aar:1.4'
}
From bb71246bcd0793b1fb0c17cdd9069d3b398812e0 Mon Sep 17 00:00:00 2001
From: Duy-Thanh <36120800+Duy-Thanh@users.noreply.github.com>
Date: Wed, 10 Nov 2021 08:11:58 +0700
Subject: [PATCH 05/12] Update AndroidManifest.xml
---
DroidFishApp/src/main/AndroidManifest.xml | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/DroidFishApp/src/main/AndroidManifest.xml b/DroidFishApp/src/main/AndroidManifest.xml
index 909f9d4b..698af67f 100644
--- a/DroidFishApp/src/main/AndroidManifest.xml
+++ b/DroidFishApp/src/main/AndroidManifest.xml
@@ -5,6 +5,7 @@
Пераклады
+ DroidFish là một giao diện người dùng cờ vua đồ họa giàu tính năng, kết hợp với + Stockfish chess engine rất mạnh mẽ +
+ ++ Hướng dẫn sử dụng đầy đủ có sẵn ở đây (html) and và đây (pdf). +
+ ++ DroidFish chứa một cuốn sách nhỏ mở bên trong. Nếu bạn muốn sử dụng + một cuốn sách lớn hơn, bạn có thể định cấu hình DroidFish để sử dụngpolyglot + hoặc CTG các tệp sách: +
++ DroidFish có thể tải trò chơi từ tệp PGN. +
++ Để chỉnh sửa tiêu đề trò chơi, chẳng hạn như tên người chơi, hãy nhấn và giữ danh sách di chuyển và chọn + Chỉnh sửa tiêu đề. Để chỉnh sửa nhận xét cho một lần di chuyển, hãy nhấn và giữ danh sách di chuyển và chọn Chỉnh sửa bình luận. +
++ Để lưu trò chơi đã chỉnh sửa của bạn, hãy nhấn và giữ bàn cờ và chọn Lưu game vào tệp PGN. Select the file to save to, then select the position in the file + where the new game will be saved. +
++ Note! If the OI File Manager is installed, any directory can be used to load/save games. +
++ Để thêm phân tích máy tính vào cây trò chơi, hãy nhấn và giữ thông tin phân tích khi máy tính đang suy nghĩ và chọn Thêm phân tích. + Biến thể chính hiện tại được thêm vào dưới dạng một biến thể trong cây trò chơi. +
++ Trong chế độ phân tích, có thể thêm các bước di chuyển rỗng vào cây trò chơi. Xin lưu ý rằng các nước đi không có trong tiêu chuẩn PGN và có thể không hoạt động trong các chương trình cờ vua đọc PGN khác. +
+ ++ Nếu bạn có Scid on the go được cài đặt, bạn có thể đọc các cơ sở dữ liệu Scid trực tiếp trong DroidFish. + Nhấn giữ trên bàn cờ và chọn Tải trò chơi từ tệp Scid. +
+ ++ DroidFish có thể tải các vị trí từ các tệp FEN/EPD. +
++ Bạn cũng có thể tải các vị trí từ các chương trình bên ngoài, chẳng hạn như ChessOcr (không miễn phí), cho phép bạn sử dụng máy ảnh để chụp ảnh sơ đồ cờ vua và tự động thiết lập vị trí trong DroidFish. +
++ DroidFish có thể sử dụng công cụ UCI của bên thứ ba. +
++ DroidFish có thể sử dụng công cụ UCI chạy trên máy chủ từ xa. +
++ để sử dụng Gaviota endgame tablebases: +
++ Để sử dụng Syzygy endgame tablebases: +
++ GNU GPL v3. + + The source code is available from GitHub. +
+ ++ Translations are managed by crowdin.net. +
+diff --git a/DroidFishApp/src/main/res/raw-de/about.html b/DroidFishApp/src/main/res/raw-de/about.html index 782abe68..b35dbb02 100644 --- a/DroidFishApp/src/main/res/raw-de/about.html +++ b/DroidFishApp/src/main/res/raw-de/about.html @@ -296,6 +296,9 @@
+
diff --git a/DroidFishApp/src/main/res/raw-es/about.html b/DroidFishApp/src/main/res/raw-es/about.html index a822aada..f0b9c9b2 100644 --- a/DroidFishApp/src/main/res/raw-es/about.html +++ b/DroidFishApp/src/main/res/raw-es/about.html @@ -302,6 +302,9 @@
+
diff --git a/DroidFishApp/src/main/res/raw-fr/about.html b/DroidFishApp/src/main/res/raw-fr/about.html index 0f5fa34b..db2d872f 100644 --- a/DroidFishApp/src/main/res/raw-fr/about.html +++ b/DroidFishApp/src/main/res/raw-fr/about.html @@ -290,6 +290,9 @@
+
diff --git a/DroidFishApp/src/main/res/raw-it/about.html b/DroidFishApp/src/main/res/raw-it/about.html index 3821370a..75fb2d5c 100644 --- a/DroidFishApp/src/main/res/raw-it/about.html +++ b/DroidFishApp/src/main/res/raw-it/about.html @@ -290,6 +290,9 @@
+
diff --git a/DroidFishApp/src/main/res/raw-ko/about.html b/DroidFishApp/src/main/res/raw-ko/about.html index a62f263b..55ba21c9 100644 --- a/DroidFishApp/src/main/res/raw-ko/about.html +++ b/DroidFishApp/src/main/res/raw-ko/about.html @@ -295,6 +295,9 @@
+
diff --git a/DroidFishApp/src/main/res/raw-nl/about.html b/DroidFishApp/src/main/res/raw-nl/about.html index 5558881c..769767de 100644 --- a/DroidFishApp/src/main/res/raw-nl/about.html +++ b/DroidFishApp/src/main/res/raw-nl/about.html @@ -290,6 +290,9 @@
+
diff --git a/DroidFishApp/src/main/res/raw-pl/about.html b/DroidFishApp/src/main/res/raw-pl/about.html index 3863e3ee..336e3d57 100644 --- a/DroidFishApp/src/main/res/raw-pl/about.html +++ b/DroidFishApp/src/main/res/raw-pl/about.html @@ -290,6 +290,9 @@
+
diff --git a/DroidFishApp/src/main/res/raw-pt/about.html b/DroidFishApp/src/main/res/raw-pt/about.html index a1eed0ae..b98ea9ac 100644 --- a/DroidFishApp/src/main/res/raw-pt/about.html +++ b/DroidFishApp/src/main/res/raw-pt/about.html @@ -291,6 +291,9 @@
+
diff --git a/DroidFishApp/src/main/res/raw-ru/about.html b/DroidFishApp/src/main/res/raw-ru/about.html index c7206559..b0280cbc 100644 --- a/DroidFishApp/src/main/res/raw-ru/about.html +++ b/DroidFishApp/src/main/res/raw-ru/about.html @@ -291,6 +291,9 @@
+
diff --git a/DroidFishApp/src/main/res/raw-tr/about.html b/DroidFishApp/src/main/res/raw-tr/about.html index e582d647..33442269 100644 --- a/DroidFishApp/src/main/res/raw-tr/about.html +++ b/DroidFishApp/src/main/res/raw-tr/about.html @@ -290,6 +290,9 @@
+
diff --git a/DroidFishApp/src/main/res/raw-uk/about.html b/DroidFishApp/src/main/res/raw-uk/about.html index 8575acc7..5c870dd9 100644 --- a/DroidFishApp/src/main/res/raw-uk/about.html +++ b/DroidFishApp/src/main/res/raw-uk/about.html @@ -291,6 +291,9 @@
+
diff --git a/DroidFishApp/src/main/res/raw-zh-rCN/about.html b/DroidFishApp/src/main/res/raw-zh-rCN/about.html index aa7c5449..65bb4844 100644 --- a/DroidFishApp/src/main/res/raw-zh-rCN/about.html +++ b/DroidFishApp/src/main/res/raw-zh-rCN/about.html @@ -291,6 +291,9 @@
+
diff --git a/DroidFishApp/src/main/res/raw/about.html b/DroidFishApp/src/main/res/raw/about.html index 3bdbf437..66a94812 100644 --- a/DroidFishApp/src/main/res/raw/about.html +++ b/DroidFishApp/src/main/res/raw/about.html @@ -301,6 +301,9 @@
+
From 920c1fccded71a8aefe42c498b0d675c0b5c6027 Mon Sep 17 00:00:00 2001 From: Duy-Thanh <36120800+Duy-Thanh@users.noreply.github.com> Date: Wed, 10 Nov 2021 09:03:59 +0700 Subject: [PATCH 10/12] Add files via upload --- DroidFishApp/src/main/res/raw-vi/about.html | 305 +++++++ DroidFishApp/src/main/res/raw-vi/analyze.svg | 280 ++++++ DroidFishApp/src/main/res/raw-vi/blind.svg | 151 ++++ DroidFishApp/src/main/res/raw-vi/book.svg | 201 +++++ DroidFishApp/src/main/res/raw-vi/comment.svg | 115 +++ DroidFishApp/src/main/res/raw-vi/custom.svg | 166 ++++ .../src/main/res/raw-vi/droidfish.svg | 149 ++++ DroidFishApp/src/main/res/raw-vi/engine.svg | 43 + DroidFishApp/src/main/res/raw-vi/flip.svg | 170 ++++ DroidFishApp/src/main/res/raw-vi/header.svg | 493 +++++++++++ DroidFishApp/src/main/res/raw-vi/left.svg | 158 ++++ DroidFishApp/src/main/res/raw-vi/magnify.svg | 46 + DroidFishApp/src/main/res/raw-vi/mode.svg | 156 ++++ .../src/main/res/raw-vi/movesound.ogg | Bin 0 -> 4659 bytes .../src/main/res/raw-vi/open_file.svg | 159 ++++ .../src/main/res/raw-vi/open_last_file.svg | 161 ++++ DroidFishApp/src/main/res/raw-vi/right.svg | 158 ++++ DroidFishApp/src/main/res/raw-vi/stop.svg | 97 +++ DroidFishApp/src/main/res/raw-vi/tb.svg | 218 +++++ DroidFishApp/src/main/res/raw-vi/thinking.svg | 451 ++++++++++ DroidFishApp/src/main/res/raw-vi/touch.svg | 153 ++++ .../src/main/res/raw-vi/variation.svg | 37 + .../src/main/res/values-be/strings.xml | 2 + .../src/main/res/values-de/strings.xml | 2 + .../src/main/res/values-es/strings.xml | 2 + .../src/main/res/values-fr/strings.xml | 2 + .../src/main/res/values-it/strings.xml | 2 + .../src/main/res/values-ko/strings.xml | 2 + .../src/main/res/values-nl/strings.xml | 2 + .../src/main/res/values-pl/strings.xml | 2 + .../src/main/res/values-pt/strings.xml | 2 + .../src/main/res/values-ru/strings.xml | 2 + .../src/main/res/values-tr/strings.xml | 2 + .../src/main/res/values-uk/strings.xml | 2 + .../src/main/res/values-vi/strings.xml | 811 ++++++++++++++++++ DroidFishApp/src/main/res/values/strings.xml | 2 + 36 files changed, 4704 insertions(+) create mode 100644 DroidFishApp/src/main/res/raw-vi/about.html create mode 100644 DroidFishApp/src/main/res/raw-vi/analyze.svg create mode 100644 DroidFishApp/src/main/res/raw-vi/blind.svg create mode 100644 DroidFishApp/src/main/res/raw-vi/book.svg create mode 100644 DroidFishApp/src/main/res/raw-vi/comment.svg create mode 100644 DroidFishApp/src/main/res/raw-vi/custom.svg create mode 100644 DroidFishApp/src/main/res/raw-vi/droidfish.svg create mode 100644 DroidFishApp/src/main/res/raw-vi/engine.svg create mode 100644 DroidFishApp/src/main/res/raw-vi/flip.svg create mode 100644 DroidFishApp/src/main/res/raw-vi/header.svg create mode 100644 DroidFishApp/src/main/res/raw-vi/left.svg create mode 100644 DroidFishApp/src/main/res/raw-vi/magnify.svg create mode 100644 DroidFishApp/src/main/res/raw-vi/mode.svg create mode 100644 DroidFishApp/src/main/res/raw-vi/movesound.ogg create mode 100644 DroidFishApp/src/main/res/raw-vi/open_file.svg create mode 100644 DroidFishApp/src/main/res/raw-vi/open_last_file.svg create mode 100644 DroidFishApp/src/main/res/raw-vi/right.svg create mode 100644 DroidFishApp/src/main/res/raw-vi/stop.svg create mode 100644 DroidFishApp/src/main/res/raw-vi/tb.svg create mode 100644 DroidFishApp/src/main/res/raw-vi/thinking.svg create mode 100644 DroidFishApp/src/main/res/raw-vi/touch.svg create mode 100644 DroidFishApp/src/main/res/raw-vi/variation.svg create mode 100644 DroidFishApp/src/main/res/values-vi/strings.xml diff --git a/DroidFishApp/src/main/res/raw-vi/about.html b/DroidFishApp/src/main/res/raw-vi/about.html new file mode 100644 index 00000000..e1a25330 --- /dev/null +++ b/DroidFishApp/src/main/res/raw-vi/about.html @@ -0,0 +1,305 @@ + +
+ + +
+