Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
A jam submission

foldlView game page

Feel the fun of functional folding
Submitted by Kimbsy — 7 hours, 57 minutes before the deadline
Add to collection

Play game

foldl's itch.io page

Results

CriteriaRankScore*Raw Score
Creativity - how original is the idea?#53.9444.714
Entertainment - how enjoyable is the game?#63.3474.000
Overall#83.4264.095
Presentation - how does it look/feel/sound?#132.9883.571

Ranked from 7 ratings. Score is adjusted from raw score by the median number of ratings per game in the jam.

What programming language is your game written in?
Clojure

Leave a comment

Log in with itch.io to leave a comment.

Comments

Submitted (2 edits) (+1)

The fun stuff:

Awesome game, concept, puzzles, and music! Seriously top quality and the polished levels made it a fun experience I'd expect from like, a 5-10$ mobile game. You have a knack for fun interesting puzzle games fit for a wide audience.

The not so fun stuff:


Had to update to JDK 26 rather than the latest JRE to get it to run (otherwise bit.flip() returning Buffer vs ByteBuffer would crash on start). Supposedly there's javac --release games that are supposed to be played to make the jar more portable for JREs.
I also had a hard crash on drawing folds at very particular angles... console output attached:

WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by org.lwjgl.system.Library$$Lambda/0x00000000392d1fe0 in an unnamed module (file:/D:/Downloads/foldl_windows.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by org.lwjgl.system.MemoryUtil (file:/D:/Downloads/foldl_windows.jar)
WARNING: Please consider reporting this to the maintainers of class org.lwjgl.system.MemoryUtil
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
#error {
 :cause "Divide by zero"
 :via
 [{:type java.util.concurrent.ExecutionException
   :message "java.lang.ArithmeticException: Divide by zero"
   :at [java.util.concurrent.FutureTask report "FutureTask.java" 124]}
  {:type java.lang.ArithmeticException
   :message "Divide by zero"
   :at [clojure.lang.Numbers divide "Numbers.java" 190]}]
Developer(+1)

Thanks so much for playing! I really appreciate it, I love how much effort this community puts in to getting past bugs to get games running.

This divide by zeros were an absolute plague. I’m doing a lot of line intersection calculations, and any time there’s a coincident segment it gets really tricky. I think if I’d had the time I could have come up with a safe and consistent approach 😅

The music is by my brother, apparently it took him 20 minutes, he’s irritatingly good!

Submitted(+1)

This is such a clever game! The two tutorial levels were great. It took me toooo long to realise there were instructions on that second level and was getting very creative with my folding.

Developer(+1)

Thanks for playing!

When I started sketching it out I cut out a bunch of strips of paper and sat on the sofa trying to fold shapes. An hour passed without me noticing and I was like “Oh… Oh this is fun.”

Developer

To run on Macos:

java \
  -XstartOnFirstThread \
  -Dorg.lwjgl.opengl.Display.enableHighDPI=false \
  -Dsun.java2d.uiScale=1 \
  -jar foldl_macos.jar
Submitted

On macOS, I can’t press the play button, nor advance with any of the keys, and the game won’t start without the -XstartOnFirstThread flag. Looks interesting. Any tips on how I can make it work?

Developer (1 edit)

Yeah -XstartOnFirstThread is required, MacOS doesn’t love OpenGL 😅

The Mac version was built on my crappy 2012 MacBook air, so my guess is this is a retina display issue?

Can you try:

java \
  -XstartOnFirstThread \
  -Dorg.lwjgl.opengl.Display.enableHighDPI=false \
  -Dsun.java2d.uiScale=1 \
  -jar foldl_macos.jar

Let me know if that doesn’t work and I’ll do some more digging.

Submitted

same kind of problem:

screenshot

The button is not clickable.

Submitted

Found the button. Had to stretch the window a lot, and it’s somewhere here at the mouse pointer position on the screenshot:

screenshot-2

Submitted

I think there might be a mismatch between the physical pixels that glfwGetFramebufferSize returns and the virtual screen pixels that glfwGetCursorPos returns, so a scale needs to be applied when mapping clicks on UI elements

Developer

Yeah it’s definitely something like that. Not an easy post-submission fix unfortunately.

The game isn’t designed to be full screen either, it’s intentionally small, but maybe that looks rubbish on a retina display?

Submitted(+1)

Well, it’s quite smol on the screen, but I played it for a bit like that. Cool game!

Developer

Thanks so much for the effort ☺️