I made a small game – Sumur

I made a small game a while back. I made it in C++, since well, that is how things get done, and all was fine. Until I wanted to change stuff in it and it all just became complicated (my code was a bit of a mess). So I tried out Unity, Unreal and Godot, and in the end settled on using Godot.

So here it is. A small math puzzle I made when thinking of ways to help my daughter with her math.

The game is a bit more complex than it needs to be (implementation wise), but I wanted to test making a networked game. So this game is running in a browser but has a server backend (also written in Godot) that is running on IBM Cloud Engine and that in turn has a database/API written in Django-REST on pythonanywhere. In theory, this should all scale pretty well if that would ever be needed 🙂

If you feel like playing it, just log in with whatever username you want and a password. If the username doesn’t exist a user is created. Else you just get an error so you have to chose another name. Then select a game and play. The highscores are live, so your see how you are doing compared to everyone else that has played.

Note: Since this was written the game has been moved from both IBM Cloud Engine and pythonanywhere.

Todour 2.20

Download todour 2.20 from https://nerdur.com/todour-pl/

 Moved the "Show All" checkbox to a menu
 Added a "Stay on top" menu item
 Fixed github issue 25 - Deleting of creation date
 Added version information in Mac Build / Bundle
 Added ability to change what character is used for "NOT" in search
 Add a due: or t: if using a rec: without any due: or t: 

Todour 2.19

* Undo/Redo support
* Bug: Search string could not include multiple spaces
* Qt 5.15.0
* Added possibility to remove duplicate lines (the mobile client I use for todo.txt has started adding doublets)
* Bug: Title not updated when automatic refresh

Download todour 2.19 from https://nerdur.com/todour-pl/

Todour 2.17

This is a very small update that mostly fixes a couple of Linux issues.

* Added support for "p" in rec: - This means that a reccurance can be random (note that this is non-standard)
* Removed the +procrastinated label from automatically being added when using "p"
* Fixed logout issues in KDE where the dock could stop logout from happening

Also, there was an issue with the Linux/.deb packaging. The application is built on a 32-bit machine but the package didn’t state that anywhere so on 64 bit system without 32 bit libraries the application simply wouldn’t run (and give no good error message). This is now fixed and the .deb file will require i386 dependencies.

To install on Ubuntu/Debian or similar that does not have the correct libraries already installed, something like the following is required:

> sudo dpkg -i Todour-v2.17.deb
> sudo apt-get install -f

Download todour 2.17 from https://nerdur.com/todour-pl/

Random Reoccurrence

The new rec: feature has been a great addition to how I use my todo-lists and I am using it quite a lot. Probably a bit more than I should be, but it’s nice with reminders “sneaking in” to the todo-list like they do using this feature, as I am not a very big fan of reminders popping up in my phone.

I though just thought of a little use-case I would like to have for things I want to be reminded of, but not all the time. Like for example working on Todour. I don’t have a schedule for it and I don’t want one, but it would be an idea having it pop up a bit randomly (I have lots of small projects that I would like to have like that). 

Anyway, I added the “p” (as in procrastination) to the rec: key just now in my development branch and it’s actually pretty neat. Example: 

Work with +todour t:2019-01-30 rec:15p

This line will show up at 30/1 due to the threshold and the rec: switch will create a line just like this one when I cross out this line. The new date in t: will now be the finished date + 1-15 days. So somewhere in the coming 15 day it will pop up again.

I don’t know if this is actually useful, and it’s completely non-standard of course, but it was easy to do and now it’s there to be delivered in the next version.

Todour 2.16

Time for some updates of Todour. This time the star is the rec: tag that has been added.

The rec: tag works by adding time as specified to any t: and due: tag you may have on an item.

My item rec:1d due:2019-01-10 

Will create a new item when this one is crossed out as

My item rec:1d due:2019-01-11

As usual there are multiple ways of specifying the time to be added. d is for days, w for weeks, m for months, y for years, p for random (!?) and b for business days. A special thing to note is that all of this can be prepended with a + sign (rec:+1d) to make the recurrence strict. Then the recurrent date will not be from the date the item got checked, but rather from the date specified in the t and due fields. Please experiment with this.

Here is the complete change log

* Multiple thresholds supported on each line
* Added a Quit menu item
* More robust autoreload
* Qt 5.12
* Dark Mode support on macOS
* Support for rec:
* Support for "b" in shorthand and in rec: for business days

Download todour 2.16 from https://nerdur.com/todour-pl/

Todour 2.15

This is the first Linux build since 2.02 that gets distributed. There is a debian package and a .tar.gz on the download page. I have been using a Linux build all the time since 2.02 and it is working very well, I have just never bothered learning how to do a .deb packaging. Now I did 🙂 

Download todour 2.15 from https://nerdur.com/todour-pl/

  • Check Version menu item added
  • Support for URL:s in the list (right click = open URL)
  • Items containing URL:s shown as underlined
  • Live search is now turned off automatically when “Show all” is selected.
  • FIX/Changed behaviour: Priority is now handled according to the standard. Thus removed when an item is checked (or moved. See options)

Todour 2.14

Download todour 2.14 from https://nerdur.com/todour-pl/

Note that if you are updating, this version will automatically check for updates ca once per week. If you’d rather not have that happen, there is a setting to turn that off.

    • Added a Show All checkbox that shows the contents of the entire done.txt as well. Good for checking old stuff. Note searching will be slow if you have a big done.txt file
    • Added possibility to use a tray icon. When the application is closed and tray icon is active, the application is minimized to tray instead. To quit, use the menu in the tray.
    • Added support for coloring due: tagged lines depending on date.
    • Added support for same shorthand with due: dates as with thresholds. Thus due:+2d will set the due date to 2 days from now. due:+3w is three weeks from now and so on.
    • Title now shows how many rows are shown of total entries
    • Checking for updates is now more visible (and selectable). Of course, no data is ever sent. Just check a version.
    • Added a ‘hidden’ feature of procrastination. Either use due: or t: with the usual shortform and ‘p’ and todour will change the date to a random number of days up to the number you specify.
      Example: t:+10p will put a date in the coming 10 days. And it will also add a ‘+procrastinated’ tag, so you know you maybe shouldn’t procrastinate the task again 🙂