Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

I bet you spent most of the time trying to figure out how you detect loops! Which made me curious how you made them, because the way I thought is that you count left and right turns and loops when you draw them…

Other than that it was pretty fun!

I played the 8-loop and the last one (I noticed the wobbles are just a suggestion) the most since most of the other loops are hard to draw and I can’t be bothered playing accurately for the seemingly-simple one. I got upwards over 2000 thanks to the last loop!

Kinda wonder as well how you would handle in cases of those with shaky hands like wellregardedkevin’s comment here.

Also, HI STEVE!!!

(+1)

Thank you, glad you had fun and met Steve! Loop detection was quite fun to implement, I did not think about counting turns and loops but that's an interesting solution that could've enable being less strict!

Basically, I've got templates for each loop, and I'm comparing how the shapes match for each of the templates according to two mathematical distances:

- a simple average of root-mean-square distances to determine which knot "fits best" among the templates

- Hausdorff distance to determine how well you've scored

Which, with some normalizing and rotations, works well enough IMO for a small jam game!

Oh that is very interesting to know, and it shows especially on the last loop being way easier than it should. Thank you very much for the info! It has been very enlightening~!

Definitely enough for a small jam game!