From e4a0d149ab6e74cf186b9208b3019052a8eea7ab Mon Sep 17 00:00:00 2001 From: Renan LE CARO Date: Tue, 25 Feb 2025 00:01:05 +0100 Subject: [PATCH] Automatic deploy 29007301 --- Readme.md | 6 +- app/build.gradle.kts | 4 +- app/src/main/assets/game.js | 2 +- app/src/main/assets/index.html | 8 +- app/src/main/assets/levels.js | 2537 ++++++++++++++++++++++++++++++++ editclient.js | 3 +- 6 files changed, 2551 insertions(+), 9 deletions(-) diff --git a/Readme.md b/Readme.md index 24d85bb..118c6fb 100644 --- a/Readme.md +++ b/Readme.md @@ -203,7 +203,11 @@ adapted to my usage over time. Some of the pixel art is taken from google image search results, I hope to replace it by my own over time : [Heart](https://www.youtube.com/watch?v=gdWiTfzXb1g) [Mushroom](https://pixelartmaker.com/art/cce4295a92035ea) - +https://prohama.com/whale-2-pattern/ +https://prohama.com/shark-2-pattern/ +https://prohama.com/bird-1-size-13x12/ +https://prohama.com/pingwin-4-pattern/ +https://prohama.com/dog-21-pattern/ I wanted an APK to start in fullscreen and be able to list it on fdroid and the play store. I started with an empty view and went to work trimming it down, with the help of that tutorial https://github.com/fractalwrench/ApkGolf/blob/master/blog/BLOG_POST.md diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 34ab867..d681d2a 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -11,8 +11,8 @@ android { applicationId = "me.lecaro.breakout" minSdk = 21 targetSdk = 34 - versionCode = 29007124 - versionName = "29007124" + versionCode = 29007301 + versionName = "29007301" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" vectorDrawables { useSupportLibrary = true diff --git a/app/src/main/assets/game.js b/app/src/main/assets/game.js index 9e2c51c..4785dc9 100644 --- a/app/src/main/assets/game.js +++ b/app/src/main/assets/game.js @@ -19,7 +19,7 @@ allLevels = allLevels.filter(l => { return true }) allLevels.forEach((l, li) => { - l.threshold = li < 8 ? 0 : Math.round(Math.min(Math.pow(10, 1 + (li + l.size) / 30) * 10, 10000) * (li)) + l.threshold = li < 8 ? 0 : Math.round(Math.min(Math.pow(10, 1 + (li + l.size) / 30) * 10, 5000) * (li)) l.sortKey = (Math.random() + 3) / 3.5 * l.bricks.filter(i => i).length }) diff --git a/app/src/main/assets/index.html b/app/src/main/assets/index.html index cec9e1a..c05ddeb 100644 --- a/app/src/main/assets/index.html +++ b/app/src/main/assets/index.html @@ -8,16 +8,16 @@ /> Breakout 71 - + - + - - + + diff --git a/app/src/main/assets/levels.js b/app/src/main/assets/levels.js index fee6237..44b270d 100644 --- a/app/src/main/assets/levels.js +++ b/app/src/main/assets/levels.js @@ -9344,5 +9344,2542 @@ let allLevels=[ "white" ], "svg": "" + }, + { + "name": "Elephant", + "size": 18, + "bricks": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "", + "", + "", + "", + "", + "", + "", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "", + "", + "", + "#9b9fa4", + "#E67070", + "#E67070", + "#E67070", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "#E67070", + "#E67070", + "#E67070", + "#9b9fa4", + "", + "", + "#9b9fa4", + "#E67070", + "#E67070", + "#E67070", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "#E67070", + "#E67070", + "#E67070", + "#9b9fa4", + "", + "", + "#9b9fa4", + "#E67070", + "#E67070", + "#E67070", + "#9b9fa4", + "#9b9fa4", + "black", + "#9b9fa4", + "#9b9fa4", + "black", + "#9b9fa4", + "#9b9fa4", + "#E67070", + "#E67070", + "#E67070", + "#9b9fa4", + "", + "", + "#9b9fa4", + "#E67070", + "#E67070", + "#9b9fa4", + "#9b9fa4", + "white", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "white", + "#9b9fa4", + "#9b9fa4", + "#E67070", + "#E67070", + "#9b9fa4", + "", + "", + "", + "#9b9fa4", + "#9b9fa4", + "", + "", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "", + "", + "#9b9fa4", + "#9b9fa4", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "#9b9fa4", + "#9b9fa4", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "#9b9fa4", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "#9b9fa4", + "#9b9fa4", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "svg": "", + "color": "" + }, + { + "name": "Orca", + "size": 20, + "bricks": [ + null, + null, + null, + "", + null, + "", + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "black", + "black", + "black", + "black", + "black", + "", + "", + "", + "", + "black", + "black", + "black", + "", + "black", + "black", + "black", + "", + "", + "", + "black", + "black", + "black", + "black", + "black", + "black", + "black", + "", + "", + "", + "", + "black", + "black", + "black", + "black", + "black", + "", + "", + "", + "black", + "black", + "black", + "black", + "black", + "black", + "black", + "black", + "black", + "", + "", + "", + "", + "black", + "black", + "black", + "", + "", + "", + "black", + "black", + "black", + "black", + "white", + "black", + "black", + "white", + "white", + "white", + "", + "", + "", + "", + "", + "black", + "black", + "black", + "black", + "black", + "black", + "black", + "black", + "black", + "black", + "black", + "white", + "white", + "white", + "white", + "", + "", + "", + "", + "", + "black", + "black", + "black", + "black", + "black", + "black", + "black", + "black", + "black", + "black", + "white", + "white", + "white", + "white", + "white", + "", + "", + "", + "", + "", + "black", + "black", + "black", + "black", + "black", + "black", + "black", + "black", + "black", + "white", + "white", + "white", + "white", + "white", + "", + "", + "", + "", + "", + "", + "", + "black", + "black", + "black", + "black", + "black", + "black", + "black", + "white", + "white", + "white", + "white", + "white", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "white", + "white", + "black", + "black", + "white", + "white", + "white", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "black", + "black", + "black", + "", + "black", + "black", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "black", + "black", + "", + "", + "black", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "svg": "", + "color": "#1c71d8" + }, + { + "name": "Shark", + "size": 17, + "bricks": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "#333", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "#333", + "#333", + "#333", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "", + "", + "", + "", + "", + "", + "", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "", + "", + "", + "", + "", + "#333", + "#333", + "#333", + "#333", + "#333", + "white", + "white", + "white", + "#333", + "#333", + "#333", + "#333", + "#333", + "", + "", + "", + "", + "#333", + "black", + "#333", + "white", + "white", + "white", + "white", + "white", + "white", + "white", + "#333", + "black", + "#333", + "", + "", + "", + "#333", + "#333", + "white", + "white", + "white", + "white", + "#e32119", + "white", + "#e32119", + "white", + "white", + "white", + "white", + "#333", + "#333", + "", + "", + "#333", + "#333", + "white", + "white", + "white", + "#e32119", + "#e32119", + "#e32119", + "#e32119", + "#e32119", + "white", + "white", + "white", + "#333", + "#333", + "", + "#333", + "#333", + "white", + "white", + "white", + "#e32119", + "#e32119", + "#e32119", + "#e32119", + "#e32119", + "#e32119", + "#e32119", + "white", + "white", + "white", + "#333", + "#333", + "#333", + "#333", + "white", + "white", + "#e32119", + "#e32119", + "#e32119", + "#e32119", + "#e32119", + "#e32119", + "#e32119", + "#e32119", + "#e32119", + "white", + "white", + "#333", + "#333", + "#333", + "white", + "white", + "white", + "#e32119", + "white", + "#e32119", + "white", + "#e32119", + "white", + "#e32119", + "white", + "#e32119", + "white", + "white", + "white", + "#333", + "#333", + "white", + "white", + "#e32119", + "#e32119", + "white", + "white", + "white", + "white", + "white", + "white", + "white", + "#e32119", + "#e32119", + "white", + "white", + "#333", + "#333", + "white", + "white", + "white", + "white", + "white", + "white", + "white", + "white", + "white", + "white", + "white", + "white", + "white", + "white", + "white", + "#333", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "svg": "", + "color": "#3584e4" + }, + { + "name": "Bird", + "size": 13, + "bricks": [ + "", + "", + "", + "", + "", + "", + "", + "#ab0c0c", + "#ab0c0c", + "#ab0c0c", + "", + "", + null, + "", + "#ab0c0c", + "", + "", + "", + "", + "#ab0c0c", + "#F44848", + "#F44848", + "#F44848", + "#ab0c0c", + "", + null, + "", + "#ab0c0c", + "#ab0c0c", + "", + "", + "#ab0c0c", + "#F44848", + "#F44848", + "white", + "white", + "white", + "#ab0c0c", + null, + "", + "#ab0c0c", + "#F44848", + "#ab0c0c", + "", + "#ab0c0c", + "#F44848", + "white", + "white", + "black", + "white", + "#ab0c0c", + null, + "", + "#ab0c0c", + "#F44848", + "#F44848", + "#ab0c0c", + "#ab0c0c", + "#F44848", + "white", + "", + "white", + "white", + "#ffd300", + "#ffd300", + "", + "#ab0c0c", + "#F44848", + "#F44848", + "#F44848", + "#ab0c0c", + "#F44848", + "white", + "white", + "white", + "#ab0c0c", + "", + null, + "", + "#ab0c0c", + "#F44848", + "#F44848", + "#F44848", + "#F44848", + "#F44848", + "#F44848", + "#ab0c0c", + "#ab0c0c", + "", + "", + null, + "", + "", + "#ab0c0c", + "#ab0c0c", + "#F44848", + "#F44848", + "#ffd300", + "#ffd300", + "#ffd300", + "#ffd300", + "", + "", + null, + "", + "", + "", + "#ab0c0c", + "#F44848", + "#ffd300", + "#ffd300", + "#ffd300", + "#ffd300", + "#ffd300", + "", + "", + null, + "#ab0c0c", + "#ab0c0c", + "#ab0c0c", + "#ab0c0c", + "#F44848", + "#ffd300", + "#ffd300", + "#ffd300", + "#ffd300", + "", + "", + "", + null, + "#ab0c0c", + "#F44848", + "#F44848", + "#F44848", + "#ab0c0c", + "#ffd300", + "#ffd300", + "#ffd300", + "", + "", + "", + "", + null, + "#ab0c0c", + "#ab0c0c", + "#ab0c0c", + "#ab0c0c", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "svg": "", + "color": "" + }, + { + "name": "Tux", + "size": 14, + "bricks": [ + "", + "", + "", + "", + "", + "#333", + "#333", + "#333", + "#333", + "", + "", + "", + "", + "", + "", + "", + "", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "", + "", + "", + "", + "", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "", + "", + "", + "", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "", + "", + "", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "", + "", + "#333", + "#333", + "#333", + "white", + "black", + "#333", + "#333", + "white", + "black", + "#333", + "#333", + "#333", + "", + "", + "#333", + "#333", + "#333", + "black", + "black", + "#333", + "#333", + "black", + "black", + "#333", + "#333", + "#333", + "", + "", + "#333", + "#333", + "#333", + "#333", + "#ffd300", + "#ffd300", + "#ffd300", + "#ffd300", + "#333", + "#333", + "#333", + "#333", + "", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#ffd300", + "#ffd300", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "#333", + "white", + "white", + "white", + "white", + "white", + "white", + "#333", + "#333", + "#333", + "#333", + "#333", + "", + "#333", + "white", + "white", + "white", + "white", + "white", + "white", + "white", + "white", + "#333", + "", + "#333", + "", + "", + "white", + "white", + "white", + "white", + "white", + "white", + "white", + "white", + "white", + "white", + "", + "", + "", + "", + "white", + "white", + "white", + "white", + "white", + "white", + "white", + "white", + "white", + "white", + "", + "", + "", + "", + "#ffd300", + "#ffd300", + "#ffd300", + "", + "", + "", + "", + "#ffd300", + "#ffd300", + "#ffd300", + "", + "" + ], + "svg": "", + "color": "#62a0ea" + }, + { + "name": "Armenia", + "size": 6, + "bricks": [ + "", + "", + "", + "", + "", + "", + "", + "#e32119", + "#e32119", + "#e32119", + "#e32119", + "", + "", + "#6262EA", + "#6262EA", + "#6262EA", + "#6262EA", + "", + "", + "#ffd300", + "#ffd300", + "#ffd300", + "#ffd300", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "svg": "", + "color": "" + }, + { + "name": "Austria", + "size": 6, + "bricks": [ + "", + "", + "", + "", + "", + null, + "", + "#e32119", + "#e32119", + "#e32119", + "#e32119", + null, + "", + "white", + "white", + "white", + "white", + null, + "", + "#e32119", + "#e32119", + "#e32119", + "#e32119", + null, + "", + "", + "", + "", + "" + ], + "svg": "", + "color": "" + }, + { + "name": "Benin", + "size": 8, + "bricks": [ + null, + "", + "", + "", + "", + "", + "", + "", + "", + "#618227", + "#618227", + "#ffd300", + "#ffd300", + "#ffd300", + "#ffd300", + "", + "", + "#618227", + "#618227", + "#ffd300", + "#ffd300", + "#ffd300", + "#ffd300", + "", + "", + "#618227", + "#618227", + "#e32119", + "#e32119", + "#e32119", + "#e32119", + "", + "", + "#618227", + "#618227", + "#e32119", + "#e32119", + "#e32119", + "#e32119", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "svg": "", + "color": "" + }, + { + "name": "Botswana", + "size": 10, + "bricks": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + "", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "", + "", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "", + "", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "", + "", + "white", + "white", + "white", + "white", + "white", + "white", + "white", + "white", + "", + "", + "black", + "black", + "black", + "black", + "black", + "black", + "black", + "black", + "", + "", + "white", + "white", + "white", + "white", + "white", + "white", + "white", + "white", + "", + "", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "", + "", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "", + "", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "svg": "", + "color": "" + }, + { + "name": "Bulgaria", + "size": 6, + "bricks": [ + "", + "", + "", + "", + "", + "", + "", + "white", + "white", + "white", + "white", + "", + "", + "#59EEA3", + "#59EEA3", + "#59EEA3", + "#59EEA3", + "", + "", + "#e32119", + "#e32119", + "#e32119", + "#e32119", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "svg": "", + "color": "" + }, + { + "name": "Canada", + "size": 7, + "bricks": [ + "", + "", + "", + "", + "", + "", + "", + "", + "#e32119", + "white", + "white", + "white", + "#e32119", + "", + "", + "#e32119", + "white", + "#e32119", + "white", + "#e32119", + "", + "", + "#e32119", + "white", + "white", + "white", + "#e32119", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "svg": "", + "color": "" + }, + { + "name": "Chad", + "size": 8, + "bricks": [ + "", + null, + null, + null, + null, + null, + null, + null, + null, + "#6262EA", + "#6262EA", + "#ffd300", + "#ffd300", + "#ab0c0c", + "#ab0c0c", + null, + null, + "#6262EA", + "#6262EA", + "#ffd300", + "#ffd300", + "#ab0c0c", + "#ab0c0c", + "", + null, + "#6262EA", + "#6262EA", + "#ffd300", + "#ffd300", + "#ab0c0c", + "#ab0c0c" + ], + "svg": "", + "color": "" + }, + { + "name": "China", + "size": 8, + "bricks": [ + "", + null, + null, + null, + null, + null, + null, + null, + null, + "#ab0c0c", + "#ab0c0c", + "#ffd300", + "#ab0c0c", + "#ab0c0c", + "#ab0c0c", + null, + null, + "#ab0c0c", + "#ffd300", + "#ab0c0c", + "#ffd300", + "#ab0c0c", + "#ab0c0c", + null, + null, + "#ab0c0c", + "#ab0c0c", + "#ffd300", + "#ab0c0c", + "#ab0c0c", + "#ab0c0c", + null, + null, + "#ab0c0c", + "#ab0c0c", + "#ab0c0c", + "#ab0c0c", + "#ab0c0c", + "#ab0c0c" + ], + "svg": "", + "color": "" + }, + { + "name": "Colombia", + "size": 7, + "bricks": [ + "", + "", + "", + "", + "", + "", + "", + "", + "#ffd300", + "#ffd300", + "#ffd300", + "#ffd300", + "#ffd300", + "", + "", + "#ffd300", + "#ffd300", + "#ffd300", + "#ffd300", + "#ffd300", + "", + "", + "#6262EA", + "#6262EA", + "#6262EA", + "#6262EA", + "#6262EA", + "", + "", + "#ab0c0c", + "#ab0c0c", + "#ab0c0c", + "#ab0c0c", + "#ab0c0c", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "svg": "", + "color": "" + }, + { + "name": "Republic of the Congo", + "size": 7, + "bricks": [ + "", + "", + "", + "", + "", + "", + "", + "", + "#618227", + "#618227", + "#618227", + "#ffd300", + "#ffd300", + "", + "", + "#618227", + "#618227", + "#ffd300", + "#ffd300", + "#e32119", + "", + "", + "#618227", + "#ffd300", + "#ffd300", + "#e32119", + "#e32119", + "", + "", + "#ffd300", + "#ffd300", + "#e32119", + "#e32119", + "#e32119", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "svg": "", + "color": "" + }, + { + "name": "Côte d'Ivoire", + "size": 8, + "bricks": [ + "", + null, + null, + null, + null, + null, + null, + null, + null, + "#F29E4A", + "#F29E4A", + "white", + "white", + "#A1F051", + "#A1F051", + null, + null, + "#F29E4A", + "#F29E4A", + "white", + "white", + "#A1F051", + "#A1F051", + null, + null, + "#F29E4A", + "#F29E4A", + "white", + "white", + "#A1F051", + "#A1F051" + ], + "svg": "", + "color": "" + }, + { + "name": "Denmark", + "size": 8, + "bricks": [ + "", + null, + null, + null, + null, + null, + null, + null, + null, + "#e32119", + "#e32119", + "white", + "#e32119", + "#e32119", + "#e32119", + null, + null, + "#e32119", + "#e32119", + "white", + "#e32119", + "#e32119", + "#e32119", + null, + null, + "white", + "white", + "white", + "white", + "white", + "white", + null, + null, + "#e32119", + "#e32119", + "white", + "#e32119", + "#e32119", + "#e32119", + null, + null, + "#e32119", + "#e32119", + "white", + "#e32119", + "#e32119", + "#e32119" + ], + "svg": "", + "color": "" + }, + { + "name": "El Salvador", + "size": 8, + "bricks": [ + "", + null, + null, + null, + null, + null, + null, + null, + null, + "#6262EA", + "#6262EA", + "#6262EA", + "#6262EA", + "#6262EA", + "#6262EA", + null, + null, + "#6262EA", + "#6262EA", + "#6262EA", + "#6262EA", + "#6262EA", + "#6262EA", + null, + null, + "white", + "white", + "white", + "#618227", + "white", + "white", + null, + null, + "white", + "white", + "#618227", + "white", + "white", + "white", + null, + null, + "#6262EA", + "#6262EA", + "#6262EA", + "#6262EA", + "#6262EA", + "#6262EA", + null, + null, + "#6262EA", + "#6262EA", + "#6262EA", + "#6262EA", + "#6262EA", + "#6262EA" + ], + "svg": "", + "color": "" + }, + { + "name": "Egypt", + "size": 8, + "bricks": [ + "", + null, + null, + null, + null, + null, + null, + null, + null, + "#ab0c0c", + "#ab0c0c", + "#ab0c0c", + "#ab0c0c", + "#ab0c0c", + "#ab0c0c", + null, + null, + "#ab0c0c", + "#ab0c0c", + "#ab0c0c", + "#ab0c0c", + "#ab0c0c", + "#ab0c0c", + null, + null, + "white", + "white", + "white", + "#ffd300", + "white", + "white", + null, + null, + "white", + "white", + "#ffd300", + "white", + "white", + "white", + null, + null, + "#231f20", + "#231f20", + "#231f20", + "#231f20", + "#231f20", + "#231f20", + null, + null, + "#231f20", + "#231f20", + "#231f20", + "#231f20", + "#231f20", + "#231f20" + ], + "svg": "", + "color": "#1c71d8" + }, + { + "name": "Estonia", + "size": 8, + "bricks": [ + "", + null, + null, + null, + null, + null, + null, + null, + null, + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + null, + "", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "", + null, + "#231f20", + "#231f20", + "#231f20", + "#231f20", + "#231f20", + "#231f20", + null, + null, + "#231f20", + "#231f20", + "#231f20", + "#231f20", + "#231f20", + "#231f20", + null, + null, + "white", + "white", + "white", + "white", + "white", + "white", + null, + null, + "white", + "white", + "white", + "white", + "white", + "white" + ], + "svg": "", + "color": "#f6d32d" + }, + { + "name": "Finland", + "size": 6, + "bricks": [ + "", + "", + "", + "", + "", + "", + "", + "white", + "#5DA3EA", + "white", + "white", + "", + "", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "", + "", + "white", + "#5DA3EA", + "white", + "white", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "svg": "", + "color": "" + }, + { + "name": "Gabon", + "size": 5, + "bricks": [ + "", + "", + "", + "", + "", + "", + "#53EE53", + "#53EE53", + "#53EE53", + "", + "", + "#ffd300", + "#ffd300", + "#ffd300", + "", + "", + "#5DA3EA", + "#5DA3EA", + "#5DA3EA", + "", + "", + "", + "", + "", + "" + ], + "svg": "", + "color": "" + }, + { + "name": "Georgia", + "size": 9, + "bricks": [ + "", + "", + "", + "", + "", + "", + "", + "", + null, + "", + "white", + "#e32119", + "white", + "#e32119", + "white", + "#e32119", + "white", + null, + "", + "white", + "white", + "white", + "#e32119", + "white", + "white", + "white", + null, + "", + "#e32119", + "#e32119", + "#e32119", + "#e32119", + "#e32119", + "#e32119", + "#e32119", + null, + "", + "white", + "white", + "white", + "#e32119", + "white", + "white", + "white", + null, + "", + "white", + "#e32119", + "white", + "#e32119", + "white", + "#e32119", + "white", + null, + "", + "", + "", + "", + "", + "", + "", + "", + null, + "", + "", + "", + "", + "", + "", + "", + "" + ], + "svg": "", + "color": "" + }, + { + "name": "Guinea", + "size": 8, + "bricks": [ + "", + null, + null, + null, + null, + null, + null, + null, + null, + "#e32119", + "#e32119", + "#ffd300", + "#ffd300", + "#59EEA3", + "#59EEA3", + null, + null, + "#e32119", + "#e32119", + "#ffd300", + "#ffd300", + "#59EEA3", + "#59EEA3", + null, + null, + "#e32119", + "#e32119", + "#ffd300", + "#ffd300", + "#59EEA3", + "#59EEA3" + ], + "svg": "", + "color": "" + }, + { + "name": "Indonesia", + "size": 6, + "bricks": [ + "", + "", + "", + "", + "", + "", + "", + "#e32119", + "#e32119", + "#e32119", + "#e32119", + "", + "", + "#e32119", + "#e32119", + "#e32119", + "#e32119", + "", + "", + "white", + "white", + "white", + "white", + "", + "", + "white", + "white", + "white", + "white", + "", + "", + "", + "", + "", + "", + "" + ], + "svg": "", + "color": "" } ] \ No newline at end of file diff --git a/editclient.js b/editclient.js index 83ca9ed..a5f955a 100644 --- a/editclient.js +++ b/editclient.js @@ -23,7 +23,8 @@ const colorsList = [ '#e32119', '#ffd300', '#e1c8b4', - '#618227' + '#618227', + '#9b9fa4' ] const palette = document.getElementById('palette');