2025 Year of Code April: User Interface

Just to confirm, are these entries without source code eligible for the drawing?

I’m a bit miffed that it was stolen from me in the final hours last month. I wasn’t going to submit this month but was asked to.

Hi Tim, All qualifying entires must share their code on GitHub (or another place where others can access it). I’ve made that more clear in the blog posts as there seemed to be some confusion this month about that. At the close of the month every participant who qualifies is entered into a random drawing to choose the winner. To keep it objective and fair, I print the names, cut them up and have my 12 year old son draw one name from a coffee mug.

Edit: GitHub is preferable, but entries are eligible as long as a link to your code is shared on the Forum thread for the month.

5 Likes

Hi Tim, there’s no need to be miffied about last month. It was a 50/50 chance of winning in March.
I really appreciate your apps and I think you have more opportunities to win in the coming months.

1 Like

Ok I thought sharing the code was optional not a requirement so I withdraw my previous entry, that post can be removed…

So, I guess I’l submit this, it’s a very simple start of game and not much to it. I want to add pathfinding, so the enemy will chase the player and find its way around objects, to it but haven’t got that part figured out yet. However it shows player/enemy collision, using the arrow keys to move and using a map to lay out the level.

Download:
Source code

5 Likes

I’ve been preparing a Music Player for myself, for fun, inspired by old versions of iTunes, Rythmbox, elementaryOS’ Music app and a few others.

Here is what I have so far:

A friend also asked for a Linux version:

The repo:

16 Likes

I’d like to throw in my stable Diffusion Prompter. One of the very few apps that I don’t have to label as an “Expert System” just because the interface is totally overloaded. :smile:

github.com

GitHub - Schneppi/Stable-Diffusion-Prompter: A UI driven Stable Diffusion Prompt Generator

A UI driven Stable Diffusion Prompt Generator

5 Likes

Please remember this thread is for people submitting entries to the Year of Code contest for April. If you aren’t sharing your code, this isn’t the thread for you. Only a few days left to submit your entries! Thanks to everyone participating!

4 Likes

What is that ?

Seriously?? :slight_smile:

8 years ago I wrote a small app to change the file date of a few files. It was for Intel CPU only, used a plugin for date and time input and couldn’t do dark mode. But it served its purpose and so it remained unchanged until now.
On the occasion of Year of Code it was time to rewrite it. The UI still looks almost the same, but now also supports DarkMode, doesn’t need a plugin anymore and is ARM CPU compatible. A new function via a contextual menu has been added to take over the date from Created or Modfied.

https://github.com/woschwarz/File-Date-Changer

6 Likes

2 years ago I created (while sick in bed for maybe 2 days) a little web project trying to come up with a generic way of turning any data (well, a dictionary or a rowset for now) into a container displaying the data. The project would just look at the data and infer what control should be used to display it. You also can tell it what control to use. The code tries (not too hard though) to properly position those controls onto the container.

So basically this:

Var values As New Dictionary

values.Value(“year born”)=1965
values.Value(“phone”)=“0123456789”
values.Value(“email”)=“dude@somewhere.com
values.Value(“notes”)=“heavily into independant music, 90’s stuff mostly, Modest Mouse, Jane’s Addiction, The Smiths, Pavement, Radiohead, Smashing Pumpkins”
Var cities() As String=Array(“Shanghai”,“Berlin”, “Hamburg”, “London”, “Tokio”)
values.value(“cities”)=“Berlin”
values.value(“friendliness”)=“medium”
Var friendlinessLevels() As String=Array(“low”,“medium”, “always friendly”)
values.value(“smart dude”)=True
values.value(“hired on”)=New DateTime(2020,3,1)

…will (with the help of some other commands, which can be seen in the example project) be turned into this:

As you can see it still doesn’t look “good” in any way, still I thought I might post it here just in case someone is interested in pursuing the idea.

2 Likes

Thank you to everyone who participated by sharing your code in April’s Year of Code event! It was great to have so many people join! All the participants who posted in this thread with links to their code were entered into a drawing and the winner is @Valdemar_De_SOUSA!

To participate in Year of Code, share a project related to each month’s programming theme. Remember, Year of Code is about learning from both the code you write for each month’s project as well as from exploring the code others have shared. You must share a link to your code, preferably on GitHub, be be eligible for prizes and Xojo fame.

We’ll announce the May project soon; stay tuned to the Forum, the Blog and our social media accounts for announcements.

9 Likes

Friendly reminder to everyone who enjoyed Year of Code in April, May’s project focus is Mobile apps! Please check out the thread and share an iOS and/or Android project.