News: Source code release

Source code release
kveroneau(Game Creator)
Jan. 21, 2013, 3:58 p.m.

Hello everyone!

If you have programming skills and would like to help out in the development of Hacker's Edge, the official game source code has been released through my blog.

http://www.pythondiary.com/blog/Dec.25,2012/source-release-hackers-edge.html

Feel free to fork the project and submit patches for any updates you believe will benefit the game.

Please note, that this source code will not gain you any advantages while playing the game. Although this is an online hacking simulation game, the actual website source code should not provide any advantages while playing. The source code is built in such a way that will provide everyone who plays an equal advantage regardless of back-end source code access.

However, if you are interesting in learning Python web programming, then the source code is a great place to see how a fully functional website is coded.


Source code release
kveroneau(Game Creator)
April 3, 2016, 6:06 p.m.

I should mention here for anybody who might be looking through these forums... This is from a very old old code-base version of Hacker's Edge, when it was still going to be a web-based online hacking game, and not a terminal one, which is seen today. In fact, none of the code you see in that source code is in use any more on this website.

I may open source the first iteration of the terminal based Hacker's Edge one day, as it is no longer being used, and I doubt anybody will use it to create their own version of this game... That version used both a full Telnet and SSH server, and thus each player had a user account on the server which was ulimited for security. This meant, that every player that was connected, took a good chunk of both CPU and memory usage.

After noticing how much traction of a terminal-based Hacker's Edge was getting, I knew that building out the game in this manner wouldn't scale very well... Which lead me to develop the current iteration of Hacker's Edge, still terminal-based, but functions much differently and is more CPU and memory conservative. On top of that, multi-user components are easier to implement, as are server-side in-game events. Also, unlike the previous terminal version, there is more persistence. In the last iteration, there was no perpetual game server running 24/7, so when a player disconnected, nothing could still run in the background. This was a big deal breaker, especially if I wanted to keep the virtual world running even if nobody was connected.

So, there you have it, yet another history lesson on how Hacker's Edge has progressed over the many years since 2012. Now it being 2016, hopefully with the new code release going out today, the cogs can really start moving.