diff --git a/apps/chance/README.md b/apps/chance/README.md new file mode 100644 index 000000000..3f8e15ed5 --- /dev/null +++ b/apps/chance/README.md @@ -0,0 +1,11 @@ +# Chance + +![](chance-coin.png) + +* Toss a coin just touch the screen +* If you click in the dice button change to roll mode + +![](chance-dice.png) + +* Roll the dice just touch the screen +* If you click in the coin button change to toss mode diff --git a/apps/chance/chance-coin.png b/apps/chance/chance-coin.png new file mode 100644 index 000000000..dd1a581eb Binary files /dev/null and b/apps/chance/chance-coin.png differ diff --git a/apps/chance/chance-dice.png b/apps/chance/chance-dice.png new file mode 100644 index 000000000..45d12992f Binary files /dev/null and b/apps/chance/chance-dice.png differ diff --git a/apps/chance/chance.img.js b/apps/chance/chance.img.js new file mode 100644 index 000000000..019fac9c2 --- /dev/null +++ b/apps/chance/chance.img.js @@ -0,0 +1 @@ +require("heatshrink").decompress(atob("mEwwkEogAfFIgmQoBDHDJoWCgMRAAQYOCwczAAcyiAJBLZkSCwgACDBYuBCxAxDJJBEGAAsxGBAuBiYOBOgRJIGAwuDKwQ1HmQwGFwY8CAAUDDAsgC4wnCXwYwIEgJIEEwQhBCQQ/CMI4XFkZdCPIQdCBIJIJLwIICgQODmAdEJAgXDCYgXMNwJICQo5HKMAgkISgQhIC4YkHR4swBwZRBC4QkHSgJpCmUQZAIZBC5byCe4xwBSAYXHdwgDBkEjmQeDC5CMBNAQPBkZfEC5JACV4QcBO4qCBC450BIoQXBAgIvNIogdCSIIXNIogXOBAQHBIoZHJX4gICIwIuEB4SPFkEEC4SuBOoTEHX4MTX4UQC4VAFQQXId4wXELQUQLwpiEiUieIMAC4YrCHwMikMRAAMSMQZfCOwZgEHoZBFJILkEC4i0BBAIXIPohGCJAinBgJFBkURTQZ8EC4gwBEwwAHIwqRFABSNEJAo/FFxxICaw5dLSQxFJFxBJDDBBFBFxIYDgLnCAAMhFoIWLMQYABYQIECCxoxDAAgVOAH4ABA")) diff --git a/apps/chance/chance.png b/apps/chance/chance.png new file mode 100644 index 000000000..2e9edeef2 Binary files /dev/null and b/apps/chance/chance.png differ diff --git a/apps/chance/metadata.json b/apps/chance/metadata.json new file mode 100644 index 000000000..fd55e9d05 --- /dev/null +++ b/apps/chance/metadata.json @@ -0,0 +1,17 @@ +{ "id": "chance", + "name": "Chance", + "shortName":"Chance", + "version":"0.01", + "description": "Toss a coin or Roll the dice, chose your chance with this app.", + "icon": "chance.png", + "type":"app", + "tags": "tool", + "supports" : ["BANGLEJS2"], + "allow_emulator": true, + "readme": "README.md", + "storage": [ + {"name":"chance.app.js","url":"chance.app.js"}, + {"name":"chance.img","url":"chance.img.js","evaluate":true} + ], + "screenshots": [{"url":"chance-coin.png"},{"url":"chance-dice.png"}] +}