diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 26e786e..2759041 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -8,6 +8,7 @@ + diff --git a/.idea/misc.xml b/.idea/misc.xml index 2a4d5b5..dc61d8f 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,5 +1,13 @@ + + + + + + + + diff --git a/README.md b/README.md index f14cc18..2c7f554 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ -# Chess Boy +![banner](graphics/banner.png) Chess mobile application with bluetooth multiplayer - - + + diff --git a/androidApp/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/androidApp/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 0000000..036d09b --- /dev/null +++ b/androidApp/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/androidApp/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/androidApp/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 0000000..036d09b --- /dev/null +++ b/androidApp/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/androidApp/src/main/res/mipmap-hdpi/ic_launcher.png b/androidApp/src/main/res/mipmap-hdpi/ic_launcher.png index a4ad4d6..8c6f34a 100644 Binary files a/androidApp/src/main/res/mipmap-hdpi/ic_launcher.png and b/androidApp/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/androidApp/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/androidApp/src/main/res/mipmap-hdpi/ic_launcher_foreground.png new file mode 100644 index 0000000..4dbdfe4 Binary files /dev/null and b/androidApp/src/main/res/mipmap-hdpi/ic_launcher_foreground.png differ diff --git a/androidApp/src/main/res/mipmap-hdpi/ic_launcher_round.png b/androidApp/src/main/res/mipmap-hdpi/ic_launcher_round.png new file mode 100644 index 0000000..6b55f0a Binary files /dev/null and b/androidApp/src/main/res/mipmap-hdpi/ic_launcher_round.png differ diff --git a/androidApp/src/main/res/mipmap-mdpi/ic_launcher.png b/androidApp/src/main/res/mipmap-mdpi/ic_launcher.png index a4ad4d6..0076873 100644 Binary files a/androidApp/src/main/res/mipmap-mdpi/ic_launcher.png and b/androidApp/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/androidApp/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/androidApp/src/main/res/mipmap-mdpi/ic_launcher_foreground.png new file mode 100644 index 0000000..ead0c42 Binary files /dev/null and b/androidApp/src/main/res/mipmap-mdpi/ic_launcher_foreground.png differ diff --git a/androidApp/src/main/res/mipmap-mdpi/ic_launcher_round.png b/androidApp/src/main/res/mipmap-mdpi/ic_launcher_round.png new file mode 100644 index 0000000..93735d6 Binary files /dev/null and b/androidApp/src/main/res/mipmap-mdpi/ic_launcher_round.png differ diff --git a/androidApp/src/main/res/mipmap-xhdpi/ic_launcher.png b/androidApp/src/main/res/mipmap-xhdpi/ic_launcher.png index f8322c6..f9e1438 100644 Binary files a/androidApp/src/main/res/mipmap-xhdpi/ic_launcher.png and b/androidApp/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/androidApp/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/androidApp/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png new file mode 100644 index 0000000..016cebb Binary files /dev/null and b/androidApp/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png differ diff --git a/androidApp/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/androidApp/src/main/res/mipmap-xhdpi/ic_launcher_round.png new file mode 100644 index 0000000..c0d5b7b Binary files /dev/null and b/androidApp/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ diff --git a/androidApp/src/main/res/mipmap-xxhdpi/ic_launcher.png b/androidApp/src/main/res/mipmap-xxhdpi/ic_launcher.png index 210e776..a3332df 100644 Binary files a/androidApp/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/androidApp/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/androidApp/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/androidApp/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png new file mode 100644 index 0000000..63c6158 Binary files /dev/null and b/androidApp/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png differ diff --git a/androidApp/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/androidApp/src/main/res/mipmap-xxhdpi/ic_launcher_round.png new file mode 100644 index 0000000..d7c91ec Binary files /dev/null and b/androidApp/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ diff --git a/androidApp/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/androidApp/src/main/res/mipmap-xxxhdpi/ic_launcher.png index 210e776..2108a57 100644 Binary files a/androidApp/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/androidApp/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/androidApp/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/androidApp/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png new file mode 100644 index 0000000..6db2740 Binary files /dev/null and b/androidApp/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png differ diff --git a/androidApp/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/androidApp/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png new file mode 100644 index 0000000..a7d21d1 Binary files /dev/null and b/androidApp/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ diff --git a/androidApp/src/main/res/values/colors.xml b/androidApp/src/main/res/values/ic_launcher_background.xml similarity index 52% rename from androidApp/src/main/res/values/colors.xml rename to androidApp/src/main/res/values/ic_launcher_background.xml index 0d2c4cc..e5ab926 100644 --- a/androidApp/src/main/res/values/colors.xml +++ b/androidApp/src/main/res/values/ic_launcher_background.xml @@ -1,4 +1,4 @@ - + #CD853F \ No newline at end of file diff --git a/screenshots/android.png b/graphics/android.png similarity index 100% rename from screenshots/android.png rename to graphics/android.png diff --git a/graphics/banner.png b/graphics/banner.png new file mode 100644 index 0000000..5892abb Binary files /dev/null and b/graphics/banner.png differ diff --git a/screenshots/ios.png b/graphics/ios.png similarity index 100% rename from screenshots/ios.png rename to graphics/ios.png diff --git a/graphics/logo_outline.svg b/graphics/logo_outline.svg new file mode 100644 index 0000000..8c2eca7 --- /dev/null +++ b/graphics/logo_outline.svg @@ -0,0 +1,168 @@ + + + + + + + + + diff --git a/iosApp/iosApp.xcworkspace/xcuserdata/cnwagu.xcuserdatad/UserInterfaceState.xcuserstate b/iosApp/iosApp.xcworkspace/xcuserdata/cnwagu.xcuserdatad/UserInterfaceState.xcuserstate index 6aaab89..d047efd 100644 Binary files a/iosApp/iosApp.xcworkspace/xcuserdata/cnwagu.xcuserdatad/UserInterfaceState.xcuserstate and b/iosApp/iosApp.xcworkspace/xcuserdata/cnwagu.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-1024.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-1024.png new file mode 100644 index 0000000..90cf7be Binary files /dev/null and b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-1024.png differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-20.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-20.png new file mode 100644 index 0000000..13b91d9 Binary files /dev/null and b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-20.png differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-20@2x.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-20@2x.png new file mode 100644 index 0000000..a542802 Binary files /dev/null and b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-20@2x.png differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-20@3x.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-20@3x.png new file mode 100644 index 0000000..a442735 Binary files /dev/null and b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-20@3x.png differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-29.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-29.png new file mode 100644 index 0000000..78598da Binary files /dev/null and b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-29.png differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-29@2x.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-29@2x.png new file mode 100644 index 0000000..9f8c812 Binary files /dev/null and b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-29@2x.png differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-29@3x.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-29@3x.png new file mode 100644 index 0000000..4c48098 Binary files /dev/null and b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-29@3x.png differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-40.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-40.png new file mode 100644 index 0000000..a542802 Binary files /dev/null and b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-40.png differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-40@2x.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-40@2x.png new file mode 100644 index 0000000..92bf482 Binary files /dev/null and b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-40@2x.png differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-40@3x.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-40@3x.png new file mode 100644 index 0000000..ea21ed7 Binary files /dev/null and b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-40@3x.png differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-60@2x.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-60@2x.png new file mode 100644 index 0000000..ea21ed7 Binary files /dev/null and b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-60@2x.png differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-60@3x.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-60@3x.png new file mode 100644 index 0000000..9e58635 Binary files /dev/null and b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-60@3x.png differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-76.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-76.png new file mode 100644 index 0000000..1226b51 Binary files /dev/null and b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-76.png differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-76@2x.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-76@2x.png new file mode 100644 index 0000000..4f7e76b Binary files /dev/null and b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-76@2x.png differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-83.5@2x.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-83.5@2x.png new file mode 100644 index 0000000..dd1e0fe Binary files /dev/null and b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon-83.5@2x.png differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json index ada0627..69c9e36 100644 --- a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json +++ b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -1,116 +1,116 @@ { "images" : [ { - "size" : "20x20", + "filename" : "AppIcon-20@2x.png", "idiom" : "iphone", - "filename" : "ic_launcher-20@2x.png", - "scale" : "2x" + "scale" : "2x", + "size" : "20x20" }, { - "size" : "20x20", + "filename" : "AppIcon-20@3x.png", "idiom" : "iphone", - "filename" : "ic_launcher-20@3x.png", - "scale" : "3x" + "scale" : "3x", + "size" : "20x20" }, { - "size" : "29x29", + "filename" : "AppIcon-29@2x.png", "idiom" : "iphone", - "filename" : "ic_launcher-29@2x.png", - "scale" : "2x" + "scale" : "2x", + "size" : "29x29" }, { - "size" : "29x29", + "filename" : "AppIcon-29@3x.png", "idiom" : "iphone", - "filename" : "ic_launcher-29@3x.png", - "scale" : "3x" + "scale" : "3x", + "size" : "29x29" }, { - "size" : "40x40", + "filename" : "AppIcon-40@2x.png", "idiom" : "iphone", - "filename" : "ic_launcher-40@2x.png", - "scale" : "2x" + "scale" : "2x", + "size" : "40x40" }, { - "size" : "40x40", + "filename" : "AppIcon-40@3x.png", "idiom" : "iphone", - "filename" : "ic_launcher-40@3x.png", - "scale" : "3x" + "scale" : "3x", + "size" : "40x40" }, { - "size" : "60x60", + "filename" : "AppIcon-60@2x.png", "idiom" : "iphone", - "filename" : "ic_launcher-60@2x.png", - "scale" : "2x" + "scale" : "2x", + "size" : "60x60" }, { - "size" : "60x60", + "filename" : "AppIcon-60@3x.png", "idiom" : "iphone", - "filename" : "ic_launcher-60@3x.png", - "scale" : "3x" + "scale" : "3x", + "size" : "60x60" }, { - "size" : "20x20", + "filename" : "AppIcon-20.png", "idiom" : "ipad", - "filename" : "ic_launcher-20.png", - "scale" : "1x" + "scale" : "1x", + "size" : "20x20" }, { - "size" : "20x20", + "filename" : "AppIcon-20@2x.png", "idiom" : "ipad", - "filename" : "ic_launcher-20@2x.png", - "scale" : "2x" + "scale" : "2x", + "size" : "20x20" }, { - "size" : "29x29", + "filename" : "AppIcon-29.png", "idiom" : "ipad", - "filename" : "ic_launcher-29.png", - "scale" : "1x" + "scale" : "1x", + "size" : "29x29" }, { - "size" : "29x29", + "filename" : "AppIcon-29@2x.png", "idiom" : "ipad", - "filename" : "ic_launcher-29@2x.png", - "scale" : "2x" + "scale" : "2x", + "size" : "29x29" }, { - "size" : "40x40", + "filename" : "AppIcon-40.png", "idiom" : "ipad", - "filename" : "ic_launcher-40.png", - "scale" : "1x" + "scale" : "1x", + "size" : "40x40" }, { - "size" : "40x40", + "filename" : "AppIcon-40@2x.png", "idiom" : "ipad", - "filename" : "ic_launcher-40@2x.png", - "scale" : "2x" + "scale" : "2x", + "size" : "40x40" }, { - "size" : "76x76", + "filename" : "AppIcon-76.png", "idiom" : "ipad", - "filename" : "ic_launcher-76.png", - "scale" : "1x" + "scale" : "1x", + "size" : "76x76" }, { - "size" : "76x76", + "filename" : "AppIcon-76@2x.png", "idiom" : "ipad", - "filename" : "ic_launcher-76@2x.png", - "scale" : "2x" + "scale" : "2x", + "size" : "76x76" }, { - "size" : "83.5x83.5", + "filename" : "AppIcon-83.5@2x.png", "idiom" : "ipad", - "filename" : "ic_launcher-83.5@2x.png", - "scale" : "2x" + "scale" : "2x", + "size" : "83.5x83.5" }, { - "size" : "1024x1024", + "filename" : "AppIcon-1024.png", "idiom" : "ios-marketing", - "filename" : "ic_launcher-1024.png", - "scale" : "1x" + "scale" : "1x", + "size" : "1024x1024" } ], "info" : { - "version" : 1, - "author" : "xcode" + "author" : "xcode", + "version" : 1 } -} \ No newline at end of file +} diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-1024.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-1024.png deleted file mode 100644 index 6e36a6d..0000000 Binary files a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-1024.png and /dev/null differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-20.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-20.png deleted file mode 100644 index 7d9553d..0000000 Binary files a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-20.png and /dev/null differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-20@2x.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-20@2x.png deleted file mode 100644 index c1d961a..0000000 Binary files a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-20@2x.png and /dev/null differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-20@3x.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-20@3x.png deleted file mode 100644 index 81c7480..0000000 Binary files a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-20@3x.png and /dev/null differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-29.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-29.png deleted file mode 100644 index 8a2fcba..0000000 Binary files a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-29.png and /dev/null differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-29@2x.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-29@2x.png deleted file mode 100644 index 80fadb2..0000000 Binary files a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-29@2x.png and /dev/null differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-29@3x.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-29@3x.png deleted file mode 100644 index 993ebe6..0000000 Binary files a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-29@3x.png and /dev/null differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-40.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-40.png deleted file mode 100644 index c1d961a..0000000 Binary files a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-40.png and /dev/null differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-40@2x.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-40@2x.png deleted file mode 100644 index 05dd937..0000000 Binary files a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-40@2x.png and /dev/null differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-40@3x.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-40@3x.png deleted file mode 100644 index 6c03948..0000000 Binary files a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-40@3x.png and /dev/null differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-60@2x.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-60@2x.png deleted file mode 100644 index 6c03948..0000000 Binary files a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-60@2x.png and /dev/null differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-60@3x.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-60@3x.png deleted file mode 100644 index cba34ab..0000000 Binary files a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-60@3x.png and /dev/null differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-76.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-76.png deleted file mode 100644 index 40bdbf9..0000000 Binary files a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-76.png and /dev/null differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-76@2x.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-76@2x.png deleted file mode 100644 index 5f810c4..0000000 Binary files a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-76@2x.png and /dev/null differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-83.5@2x.png b/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-83.5@2x.png deleted file mode 100644 index 151c0e9..0000000 Binary files a/iosApp/iosApp/Resources/Assets.xcassets/AppIcon.appiconset/ic_launcher-83.5@2x.png and /dev/null differ diff --git a/iosApp/iosApp/Resources/Assets.xcassets/Images/logo.imageset/logo.png b/iosApp/iosApp/Resources/Assets.xcassets/Images/logo.imageset/logo.png index ed52458..f2fe683 100644 Binary files a/iosApp/iosApp/Resources/Assets.xcassets/Images/logo.imageset/logo.png and b/iosApp/iosApp/Resources/Assets.xcassets/Images/logo.imageset/logo.png differ diff --git a/jwtc/CMakeLists.txt b/jwtc/CMakeLists.txt index 07585fe..4bb25e8 100644 --- a/jwtc/CMakeLists.txt +++ b/jwtc/CMakeLists.txt @@ -5,7 +5,7 @@ add_library( # Specifies the name of the library. # Sets the library as a shared library. SHARED # Provides a relative path to your source file(s). - src/commonMain/cpp/chess-jni.cpp + src/androidMain/cpp/chess-jni.cpp src/commonMain/cpp/Pos.cpp src/commonMain/cpp/Move.cpp src/commonMain/cpp/ChessBoard.cpp diff --git a/jwtc/build.gradle.kts b/jwtc/build.gradle.kts index 0f386c1..95140f0 100644 --- a/jwtc/build.gradle.kts +++ b/jwtc/build.gradle.kts @@ -17,7 +17,14 @@ kotlin { else ::iosX64 - iosTarget("ios") {} + iosTarget("ios") { +// compilations.getByName("main") { +// val jwtc by cinterops.creating { +// defFile(project.file("src/iosMain/cpp/jwtc.def")) +// packageName("com.cinterop.jwtc") +// } +// } + } cocoapods { summary = "Some description for the Shared Module" diff --git a/jwtc/src/commonMain/cpp/chess-jni.cpp b/jwtc/src/androidMain/cpp/chess-jni.cpp similarity index 100% rename from jwtc/src/commonMain/cpp/chess-jni.cpp rename to jwtc/src/androidMain/cpp/chess-jni.cpp diff --git a/jwtc/src/commonMain/cpp/chess-jni.hpp b/jwtc/src/androidMain/cpp/chess-jni.hpp similarity index 100% rename from jwtc/src/commonMain/cpp/chess-jni.hpp rename to jwtc/src/androidMain/cpp/chess-jni.hpp diff --git a/jwtc/src/iosMain/cpp/GameWrapper.h b/jwtc/src/iosMain/cpp/GameWrapper.h new file mode 100644 index 0000000..e7f1dde --- /dev/null +++ b/jwtc/src/iosMain/cpp/GameWrapper.h @@ -0,0 +1,5 @@ +#import + +@interface GameWrapper +- (void) getBestMove; +@end diff --git a/jwtc/src/iosMain/cpp/GameWrapper.mm b/jwtc/src/iosMain/cpp/GameWrapper.mm new file mode 100644 index 0000000..fc4595a --- /dev/null +++ b/jwtc/src/iosMain/cpp/GameWrapper.mm @@ -0,0 +1,9 @@ +#include "GameWrapper.h" +#include "Game.h" + +@implementation GameWrapper +- (void) getBestMove { + Game game; + game.getBestMove(); +} +@end \ No newline at end of file diff --git a/jwtc/src/iosMain/cpp/jwtc.def b/jwtc/src/iosMain/cpp/jwtc.def new file mode 100644 index 0000000..09cbeb8 --- /dev/null +++ b/jwtc/src/iosMain/cpp/jwtc.def @@ -0,0 +1,2 @@ +headers = GameWrapper.h +headerFilter = GameWrapper.h \ No newline at end of file diff --git a/jwtc/src/iosMain/kotlin/jwtc/chess/GGWrapper.kt b/jwtc/src/iosMain/kotlin/jwtc/chess/GGWrapper.kt new file mode 100644 index 0000000..934e653 --- /dev/null +++ b/jwtc/src/iosMain/kotlin/jwtc/chess/GGWrapper.kt @@ -0,0 +1,8 @@ +package jwtc.chess + +class GGWrapper { + + fun init() { + // GameWrapper() + } +} \ No newline at end of file diff --git a/sharedmodels/src/androidMain/res/drawable/logo.png b/sharedmodels/src/androidMain/res/drawable/logo.png index ed52458..f2fe683 100644 Binary files a/sharedmodels/src/androidMain/res/drawable/logo.png and b/sharedmodels/src/androidMain/res/drawable/logo.png differ diff --git a/stockfish/CMakeLists.txt b/stockfish/CMakeLists.txt index c2a70a8..2024705 100644 --- a/stockfish/CMakeLists.txt +++ b/stockfish/CMakeLists.txt @@ -10,12 +10,12 @@ add_library( # Specifies the name of the library. # Sets the library as a shared library. SHARED # Provides a relative path to your source file(s). + src/androidMain/cpp/stockfish-lib.cpp src/commonMain/cpp/benchmark.cpp src/commonMain/cpp/bitbase.cpp src/commonMain/cpp/bitboard.cpp src/commonMain/cpp/endgame.cpp src/commonMain/cpp/evaluate.cpp - src/commonMain/cpp/stockfish-lib.cpp src/commonMain/cpp/material.cpp src/commonMain/cpp/misc.cpp src/commonMain/cpp/movegen.cpp diff --git a/stockfish/src/commonMain/cpp/stockfish-lib.cpp b/stockfish/src/androidMain/cpp/stockfish-lib.cpp similarity index 100% rename from stockfish/src/commonMain/cpp/stockfish-lib.cpp rename to stockfish/src/androidMain/cpp/stockfish-lib.cpp
- - + +