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"
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')
}
diff --git a/CuckooChessApp/src/main/AndroidManifest.xml b/CuckooChessApp/src/main/AndroidManifest.xml
index 1b485e00..d32a12ff 100644
--- a/CuckooChessApp/src/main/AndroidManifest.xml
+++ b/CuckooChessApp/src/main/AndroidManifest.xml
@@ -4,12 +4,14 @@
+ android:label="@string/app_name"
+ android:exported="true">
-
+
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'
diff --git a/DroidFishApp/build.gradle b/DroidFishApp/build.gradle
index 20039fae..e0c46cc1 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'
}
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 @@
+
@@ -18,6 +19,7 @@
@@ -95,32 +97,41 @@
+ android:label="@string/cpu_warning_title"
+ android:exported="true"
+ >
Пераклады
Пераклад на турэцкую — Emrullah Ertürk.
+
+ Vietnamese - Nguyen Duy Thanh
+
+
+About
+
+ 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).
+
+
+Tính năng
+
+ - Sách mở đầu
+ - Hoàn tác/làm lại không giới hạn
+ - Sao chép/dán vào/từ khay nhớ tạm
+ - Chế độ phân tích
+ - Đấu hai người
+ - Máy đấu với máy
+ - Thiết lập các vị trí
+ - Hỗ trợ PGN mở rộng
+ - Có thể tùy chỉnh sức mạnh trò chơiz
+ - UCI engine từ bên thứ ba
+ - Bảng kết thúc trò chơi Gaviota
+ - Bảng kết thúc trò chơi Syzygy
+
+
+Gợi ý
+
+ -
+ Chế độ nhấn và giữ nút trái/phải cho các lệnh bổ sung.
+
+ -
+ Khi chơi lại một trò chơi, hãy thay đổi chế độ trò chơi thành Chỉnh sửa/Chơi lại trò chơi để có thể hoàn tác/làm lại một nửa các bước di chuyển
+
+
+
+Sách mở
+
+ 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:
+
+
+ -
+ Sao chép một hoặc nhiều tệp sách polyglot vào DroidFish/book Thư mục này ở trên thẻ nhớ SD.
+ Sách Polyglot phải có định dạng .bin.
+ Chú ý! Hệ thống tệp Android phân biệt chữ hoa chữ thường, vì vậy phần mở rộng phải là .bin, không phải .Bin or .BIN.
+
+ -
+ Sao chép một hoặc nhiều tệp sách CTG vào thư mục DroidFish/book
+ Sách CTG bao gồm ba tệp có phần mở rộng tệp .ctg, .ctb và .cto.
+ Bạn phải sao chép đủ các tệp này
+
+ -
+ Từ menu chương trình, kích hoạt chức năng Chọn sách mở đầu
+
+ -
+ Chọn tệp sách mở mà bạn muốn sử dụng.
+
+
+
+Tệp PGN
+
+ DroidFish có thể tải trò chơi từ tệp PGN.
+
+
+ -
+ Sao chép 1 hoặc nhiều tệp PGN DroidFish/pgn Thư mục này trên thẻ nhớ SD.
+
+ -
+ Nhấn và giữ bàn cờ và chọn Tải trò chơi từ tệp PGN.
+
+ -
+ Chọn tệp, sau đó chọn trò chơi trong tệp bạn muốn tải.
+
+
+
+ Để 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.
+
+
+Tệp Scid
+
+ 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.
+
+
+Tệp FEN/EPD
+
+ DroidFish có thể tải các vị trí từ các tệp FEN/EPD.
+
+
+ -
+ Sao chép một hoặc nhiều tệp FEN/EPD vào DroidFish/epd thư mục này trên thẻ SD
+
+ -
+ Nhấn và giữ bàn cờ và chọn Tải vị trí từ tệp.
+
+ -
+ Chọn tệp, sau đó chọn vị trí trong tệp bạn muốn tải.
+
+
+
+
+ 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.
+
+
+ -
+ Nhấn và giữ bàn cờ và chọn Truy xuất vị trí.
+
+ -
+ Làm theo hướng dẫn trong chương trình.
+
+
+
+Động cơ UCI
+
+ DroidFish có thể sử dụng công cụ UCI của bên thứ ba.
+
+
+ -
+ Sao chép một hoặc nhiều mã nhị phân công cụ UCI vào DroidFish/uci Thư mục này có trên thẻ SD.
+ Lưu ý! Các tệp nhị phân phải được biên dịch cho Android.
+
+ -
+ Từ menu chương trình, chọn các Engines cờ vua sau đó bấm Chọn Engine và chọn động cơ để sử dụng.
+
+
+
+Công cụ UCI trên máy chủ từ xa
+
+ DroidFish có thể sử dụng công cụ UCI chạy trên máy chủ từ xa.
+
+
+ -
+ Cài đặt phần mềm máy chủ mạng cờ vua trên máy tính từ xa.
+
+ -
+ Đối với windows, hãy cài đặt phần mềm máy chủ từ DroidFish
+
+ -
+ Đối với linux, mini-inetd từ gói tcputils có thể được sử dụng
+
+
+
+ -
+ Chọn các Engines cờ vua trong menu chương trình, tạo một công cụ mạng mới và nhập tên máy chủ và số cổng cho công cụ từ xa.
+
+ -
+ Từ menu chương trình, chọn Quản lý các Engines sau đó bấm Chọn Engine và chọn động cơ để sử dụng.
+
+
+
+Gaviota endgame tablebases
+
+ để sử dụng Gaviota endgame tablebases:
+
+
+ -
+ Sao chép các tệp .gtb.cp4 vào DroidFish/gtb Thư mục này tồn tại trên thẻ SD
+
+ -
+ Sử dụng Bảng kết thúc trò chơi trên màn hình tùy chọn để kiểm soát cách sử dụng
+
+
+
+Syzygy endgame tablebases
+
+ Để sử dụng Syzygy endgame tablebases:
+
+
+ -
+ Sao chép các tệp .rtbw và tùy chọn .rtbz vào DroidFish/rtb Thư mục này tồn trại trên thẻ SD
+
+ -
+ Sử dụng Bảng kết thúc trò chơi trên màn hình tùy chọn để kiểm soát cách sử dụng
+
+
+
+License
+
+ GNU GPL v3.
+
+ The source code is available from GitHub.
+
+
+Developers
+
+ -
+ DroidFish is developed by Peter Österlund.
+
+ -
+ Stockfish is developed by Tord Romstad, Marco Costalba, Gary Linscott and Joona Kiiski.
+
+ -
+ User interface improvements by Aaro Korhonen.
+
+ -
+ Gaviota Tablebases Probing Code API, Copyright © 2010 Miguel A. Ballicora.
+
+ -
+ LZMA compression by Igor Pavlov.
+
+ -
+ ZLIB compression, Copyright © 1995-2005 Jean-loup Gailly and Mark Adler.
+
+ -
+ LZF compression, Copyright © 2000-2007 Marc Alexander Lehmann.
+
+
+
+ -
+ SVG library from androidsvg project.
+
+ -
+ Chess pieces from PyChess project.
+
+ -
+ Color picker, Copyright © 2010 Daniel Nilsson and Copyright © 2011 Sergey Margaritov.
+
+ -
+ Open exchange chess engine interface code by Gerhard Kalab, Apache 2.0 license.
+
+ -
+ Syzygy tablebases probing code, Copyright © 2011-2013 Ronald de Man.
+
+ -
+ TourGuide library, Copyright © 2015 Tan Jun Rong.
+
+ -
+ Floating action button library, Copyright © 2014 str4d and Jerzy Chalupski.
+
+ -
+ cpu_features library, Copyright © 2017 Google Inc., Apache 2.0 license.
+
+
+
+Translations
+
+ Translations are managed by crowdin.net.
+
+
+ -
+ German translation by Uwe Walschus.
+
+ -
+ Spanish translation by Amador Cuesta.
+
+ -
+ Russian translation by SWEN и dfuk (allBlackBerry).
+
+ -
+ Portuguese translation by C. R. Zamana.
+
+ -
+ French translation by Eric Weibel (Thanvillé).
+
+ -
+ Italian translation by Michele Carfora (suessola).
+
+ -
+ Dutch translation by David Pront.
+
+ -
+ Polish translation by Rafał Smyka.
+
+ -
+ Ukrainian translation by Mix Gerder and Toru Hasegawa.
+
+ -
+ Belarusian translation by Mix Gerder.
+
+ -
+ Korean translation by Hyobeom Ahn.
+
+ -
+ Turkish translation by Emrullah Ertürk.
+
+ -
+ Vietnamese translation by Nguyen Duy Thanh
+
+
+
+
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 @@
Lokalisierung
Die türkische Übersetzung erfolgte durch Emrullah Ertürk.
+
+ Vietnamese - Nguyen Duy Thanh
+
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 @@
Traducciones
Traducción al turco de Emrullah Ertürk.
+
+ Vietnamese - Nguyen Duy Thanh
+
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 @@
Traductions
Traduction turque par Emrullah Ertürk.
+
+ Vietnamese - Nguyen Duy Thanh
+
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 @@
Traduzioni
Turkish translation by Emrullah Ertürk.
+
+ Vietnamese by Nguyen Duy Thanh
+
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 @@
번역
터키어 번역 : Emrullah Ertürk.
+
+ Vietnamese: Nguyen Duy Thanh
+
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 @@
Vertalingen
Turkish translation by Emrullah Ertürk.
+
+ Vietnamese by Nguyen Duy Thanh
+
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 @@
Tłumaczenia
Tłumaczenie na turecki Emrullah Ertürk.
+
+ Tłumaczenie na vietnamki Nguyen Duy Thanh
+
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 @@
Traduções
Turkish translation by Emrullah Ertürk.
+
+ Vietnamese by Nguyen Duy Thanh
+
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 @@
Переводы
Перевод на турецкий язык - Emrullah Ertürk.
+
+ Vietnamese: Nguyen Duy Thanh
+
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 @@
Çeviriler
Türkçe'ye çeviren Emrullah Ertürk.
+
+ Vietnamce'ye çeviren Nguyen Duy Thanh
+
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 @@
Переклади
Переклад турецькою — Emrullah Ertürk.
+
+ Vietnamese - Nguyen Duy Thanh
+
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 @@
+
+
+
+
+
+