Please sign in to access this page

Coffeemon Code

Coffeemon Code

5 devlogs
10h 4m
Created by aal337

Pokémon Go but coding instead of walking.

Repository

Timeline

Earned sticker
aal337
aal337
1h 33m 3 days ago

i have a feeling i should start finishing soon
I started working on a way to save the coffeemon counter, but right now I‘m resolving some unresolved references.

Update attachment

This thing is now complete, but untested. You can (if I didn’t make any mistakes, which of course I did) enter your hackatime username, get the total number of seconds spent coding recorded, and click a button to raise the counter of your caught Coffeemon for every 30 minutes you spend creating crazily innovative things.
For the attachment, imagine the button that raises the counter and a display of the number of caught Coffeemon, and a text field, a button and a time display appearing when you click that button you can actually see in the picture (I kept the example code because it‘s probably the only thing working).

Update attachment

After adding wasm target, all went downhill, gradle daemon disappears unexpectedly.
As I just have to successfully build this thing once before september ends (and I‘m woken up), I‘ll just focus on writing code.
While writing this, I went back and tried to build just to make sure I‘m really not talking nonsense. When you read this, it surely will still have been running.

Update attachment
aal337 aal337 22 days ago

message received from daemon indicates it disappeared

There‘s a function now that makes a hackatime api call and gets a user‘s total time in seconds. Now I‘ll add an input field and make the button call this function and display the umber of seconds. I also realised that I could preview the app easily without having to install it on my phone by just adding a WASM source set, compiling and viewing it in the browser.
For unknown reasons, Gradle seems to use the JDK provided by the Redhat Java VS Code extension, which doesn‘t have jlink. I couldn‘t change the JDK location used by Gradle.
The API level that would be shown if anything was working would actually (maybe) be 36.

Update attachment

I mainly tried to set up the project in VS Code (Codespace) and getting Gradle, could‘ve as well done it with „echo >>“. I just now successfully ran the build task (still with the template from KMP wizard). Maybe I spent a bit too much time messing around with Gradle, but it was weirdly fun and I wholeheartedly believe fanatically updating plugin versions and upgrading Gradle to 9.0 was necessary for that successful build. Image in attachment from JetBrains as I don‘t know how I could create Composable previews (and see them).

Update attachment
HQ2000 HQ2000 about 1 month ago
relatable