diff --git a/src/About.svelte b/src/About.svelte new file mode 100644 index 0000000..24d3fa4 --- /dev/null +++ b/src/About.svelte @@ -0,0 +1,45 @@ + + + + +
+
+

Triangles.fun

+ A game. Leave only a single dot to win. Eliminate other dots by jumping + them over! +

Instructions

+ Click or touch the dot. If the dot can jump, it becomes lighter and the + spots where it can land become darker. Perform jump by touching or + clicking on the darker spot. +

Installation

+ This game can be installed into your device. Look for "Add to Home + Screen" in the browser menu. +

Support

+ You can send me your feedback or complains via + peter@triangles.fun + and you can even + buy me a coffee. +
+
diff --git a/src/App.svelte b/src/App.svelte index 6ffbf8c..c578d4f 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -55,6 +55,7 @@ import Tailwind from "./Components/Tailwind.svelte" import LevelButton from "./LevelButton.svelte" import Modal from "./Modal.svelte" + import About from "./About.svelte" import Triangle, { C_POLE, C_HOLE, @@ -301,6 +302,8 @@ restart() } } + + let about = false -
+
{#each circles as _, i} {#key circles[i]}