Archives

All posts for the month January, 2020

I’ve recently been working on a small game in PureBasic. It’s mainly just to get used to programming in PB. I tend to use C# all the time now and never really got heavily into PB. It is an excellent programming language and despite basic being in the name, it is not a “basic” language. There are several differences. I’d wager that this is one of the best languages of all time. The only problem is that its syntax is a little odd and I think that keeps programmers who are used to the C style languages away (which is most programmers). The main aspect that I believe makes it so great, is that it goes all the way from a very easily understandable/human readable language, down to binary. There is no runtime engine at all. It runs everything directly on the CPU with no interpretation engine or virtual machine. The problem with most programming languages now a days is that they almost all use a runtime or virtual machine. This creates a huge overhead for the CPU and can cause programs to run a lot slower than they would if they were running directly on the CPU. Languages that compile directly to binary are usually harder to understand and more cumbersome for the programmer.

Programmers have become accustomed to high performance hardware and have gotten lazy about coding. PureBasic is elegant because it still seems to hold the old philosophy of speed and small code. I think programmers need to be taught some philosophy on programming rather than just the logic. It seems that European programmers (especially Russians) do understand this. The exes produced with this language are also incredibly small. Just like cars and government, more unnecessary layers of shit are added as time goes on. More overly complex layers that eventually get to the point where no-one person can understand the whole thing. And the laziness/lack of care of never taking the time to remove those layers. This is what Windows 10 has become and why I refuse to upgrade. I will eventually run Linux when I simply can not use Windows 7 anymore.

Anyway, without further a dew (that’s probably not right, whatever).

Here is the game. I have included the source code in the archive. I know probably no programmers will read this anyway though. The game might not be optimized in terms of difficulty. I was more focused on getting used to the language rather than nitpicking away at the game dynamics.

You play the game by moving the tiny orange fish around with the mouse and start by eating only the smallest fish until you grow bigger and can start eating the larger ones. Eventually, when you win, the fish bloats up and gets larger than the whole screen – that’s a bug, but I thought it was cool, so I left it in.

https://drive.google.com/open?id=1Mn9fv4tF86tww63vCyfmWocs-9r-QvHq

I just finished this program today.

This is a program that displays sticky notes on your desktop. There is other software that does the same, but I prefer mine because it has many customization options. Change note size, font, font size, and color. You can have an unlimited number of notes on the screen. You may add it to your startup folder in Windows to make it load when you start the comp. Right now this software supports only Windows (although it may actually run on Linux using Mono, however, it has not been tested). It should work on XP through Windows 10 (on Win 10 you need to install .NET 3.5. You should be prompted when you start.)

In the future, I plan to add multiline support for the notes so you can make lists. I will also add self-destructing notes and notes that appear at a certain time. There will also be an alert note that will flash at a specified time and date.

Please give me your feedback on what features you want, and I should add it. Also let me know if you have any errors. I have only tested it for about a day, so there could still be some small bugs in it.

Download here: https://drive.google.com/open?id=1RpMdWd1Jx5jSW7T_BrTBBM0rI6io39Wq