Introducing Hour of Code

Hello World! My name is Cyborg Ean (OK, not really, but it’s what my former students call me), and I’m the newest addition to the 7 Generation Games team as a software development intern.  When I’m not programming our games or consuming the exquisite novelty that is Thai food, I’m probably coding my own personal games (while also eating Thai food).

Speaking of code, on behalf of 7 Generation Games, I would like to introduce our new “Hour of Code” weekly stream! During this stream, we’ll be teaching some neat coding tricks, sharing code we use in our own games and devising ways to solve problems. Each week, we’ll feature one of our developers and myself having a blast with some bits of code. Is there anything in particular you’d like to learn? Join us and fire suggestions away! Our live stream is, but if you miss it live you can also catch them on our new YouTube channel “7GenGamesTech“. Go and subscribe! We’re looking forward to interacting with the community — as in you!

With that in mind, let’s have a glance at the script below:

function eanLoves(..._7gen){

    let translation = _7gen.reduce((a,b)=>(a + String.fromCharCode(b)));

    return translation;


let toEat = ['',0x54, 0x68, 0x61, 0x69, 0x20, 0x46, 0x6f, 0x6f, 0x64];

let honestly = eanLoves(...toEat);


Wondering what that means? The first little block of code is a function (named “eanLoves”) that takes data and forms into a string (similar to a sentence). The next part is a variable called “toEat”, it holds the data that we’re going to put inside of our “eanLoves” function so it can return the data translated. We use the next couple lines of code to display it to the web console to discover that the secret data is actually “Thai Food”!

I hope it has sparked your curiosity as to how that secret data could possibly mean Thai food (which I refer to as the 8th World Wonder)! If you wish to learn more –as I do– join us during our “Hour of Code” for an educational yet fun experience, which are two qualities you’ll also find in our games!

Fish Lake is available on Steam! It’s the new and improved version 2.0. Buy here!

Leave a comment

Your email address will not be published. Required fields are marked *