Welcome to JatteGames

Here you will find all public projects created by me, Johannes "Jattenalle" Pihl.
If you find anything here useful, have any questions, or suggestions for additions or improvements feel free to chat with me on the Gods and Idols Discord or the FreeBASIC Discord.
You can also reach out to my Sensei @Scroby to ask him any hard programming questions you might have. He doesn't know any code but he got electrocuted once, so there's that!

Games

Gods and Idols

A persistent universe massively multiplayer online real time strategy game where you play as a god in a bid to dominate the universe.
Details:
Languages:
FreeBASIC, and others
Sourcecode:
No
Official site: www.godsandidols.com

Programming libraries

fbMAligned

Aligned alloc, calloc, free, realloc, crealloc
dim as integer ptr p = fbma_calloc(20, 64) 'allocate 20b aligned to 64b
p[0] = 123
print p[0]
fbma_free(p)
Details:
Language:
FreeBASIC
Library type:
.bi header
Attribution:
fbMAligned is Copyright (c) 2026- Johannes "Jattenalle" Pihl, all rights reserved
Sourcecode:
Yes, zLib license
API Reference:
Not yet available
Download:
fbMAligned.zip
Latest version: 0.5b

fbList

Fast arbitrary index, type-agnostic, extensible, and sortable lists
TypeList foolist Holds Integer
Dim as foolist foo
foo.EnableSort()
foo.Insert(5)
foo.Insert(3)
foo.Insert(1)
foo.Insert(2)
print foo[0] '// Output 1
Details:
Language:
FreeBASIC
Library type:
.bi header
Attribution:
fbList is Copyright (c) 2023-2024 Johannes "Jattenalle" Pihl, all rights reserved
Sourcecode:
Yes, zLib license
API Reference:
Not yet available
Download:
fbList.zip
Latest version: 0.3

fbTimer

High performance Timer and Scheduler with up to microsecond (µs) accuracy* and fully threaded scheduling and event callback
dim as t_Timer foo
print foo.us
foo.Sleep(0.05) '// Sleep for 0.05ms, or 50µs
print foo.us '// Should be close to 50µs later
* Actual accuracy depends on OS and hardware support at runtime
Details:
Language:
FreeBASIC
Library type:
.bi header
Dependencies:
fbList (Optional)
Attribution:
fbTimer is Copyright (c) 2023-2024 Johannes "Jattenalle" Pihl, all rights reserved
Sourcecode:
Yes, zLib license
API Reference:
Not yet available
Download:
fbTimer.zip
Latest version: 0.1