yuri-martynov / baloon

Open Source SVG Game written purely in ELM Language
https://yuri-martynov.github.io/baloon
2 stars 0 forks source link

Gameplay #1

Closed mkohlhaas closed 4 years ago

mkohlhaas commented 4 years ago

Hi Yuri,

obviously I am too stupid to play the game. What do I have to do? (I'm using the online version as Android version is not available any more.)

Cheers!

yuri-martynov commented 4 years ago

Hi

Try to turn on all lamps (nodes, dots) using minimum of wires (lines). Total length should be minimal. Btw You can remove line by crossing it.

On Sun, 19 Apr 2020 at 06:32, mkohlhaas notifications@github.com wrote:

Hi Yuri,

obviously I am too stupid to play the game. What do I have to do? (I'm using the online version as Android version is not available any more.)

Cheers!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/yuri-martynov/baloon/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARZWOWIHOIG7RS2RPOCYW3RNIZ77ANCNFSM4MLRQK7Q .

-- Yuri Martynov

mkohlhaas commented 4 years ago

Got it. Thanks! Shortest path does the trick.

mkohlhaas commented 4 years ago

Beautiful game! Fantastic! What's the graph algorithm behind that? Minimum spanning tree by Kruskal?

yuri-martynov commented 4 years ago

Thank you for your feedback. Here is an algorithm https://github.com/yuri-martynov/baloon/blob/master/src/Atrapos/Game/Solution.elm Actually I don't remember what I've used. It was ages ago) I've rewrote someone C code to ELM. It was the hardest part of the game and it is not brilliant, I've stopped when it was just OK for my use case. It works well on iPhone 5/6/Android on Cordova + SVG rendering. I've put the slowest technologined together, but thanks to ELM compiler it works close to the native app performance.

вс, 19 апр. 2020 г. в 20:13, mkohlhaas notifications@github.com:

Beautiful game! Fantastic! What's the graph algorithm behind that? Minimum spanning tree by Kruskal?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/yuri-martynov/baloon/issues/1#issuecomment-616131399, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARZWOQA7TDDLGGLWESPGJ3RNL2GBANCNFSM4MLRQK7Q .

-- Yuri Martynov