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