What is HookRace?
2014-07-07 · HookRace · DDNet · Nim · ProgrammingI have been running DDraceNetwork for 1 year, which started out as a little server of a Teeworlds modification called DDRace. It has turned into the biggest project within Teeworlds, offering servers in 6 countries with thousands of players and dozens of mappers. We also offer a custom server and client (Windows, Linux, OS X, Android).
Now it’s time to start something new. I’m working on a new game called HookRace, which will be the successor to DDraceNetwork. It will be its own game, not based on Teeworlds.
Some of the plans I have so far for HookRace:
- Vector Graphics (SVG) ingame for a sharp image on any screen
- Whole physics is executed at the client as well as the server, for perfect prediction
- No lags with high player numbers
- Accounts to prevent faking
As the programming language for HookRace, I chose Nim:
Nim is a rather new language, and it took me some time to choose it. What I love about the language:
- Python-like syntax
- Statically typed, compiled
- High performance (same ballpark as C/C++)
- Garbage Collector that can be controlled for soft real-time
- Produces executables without dependencies (compiles to C)
- Easily interfaces C libraries (compiles to C)
- Clean and powerful metaprogramming
On this blog I will report about my progress in the development of HookRace and my current Nim adventures.