{"id":1682,"date":"2018-05-05T01:05:38","date_gmt":"2018-05-05T01:05:38","guid":{"rendered":"http:\/\/cjohnson.id.au\/?p=1682"},"modified":"2018-05-05T01:06:12","modified_gmt":"2018-05-05T01:06:12","slug":"new-game-zero-out","status":"publish","type":"post","link":"https:\/\/cjohnson.id.au\/game-dev\/new-game-zero-out\/","title":{"rendered":"New Game: Zero Out"},"content":{"rendered":"
Back in late 2015<\/a> I prototyped a programming game called Loop Game. The prototype was shown at the local Adelaide games gathering called ARGGGH and raptured a small crowd of programmers who spent roughly an hour working through the problems.<\/p>\n The goal of the game is to write a computer program that will shift all the numbers in the grid to zero. However you’re limited in the number of if statements, loops and ReduceCell function calls you’re allowed to make.<\/p>\n <\/a><\/p>\n Recently I discovered Google’s Blockly library<\/a> which allows users to create Scratch<\/a>-like programming editor. Their examples even included code that translated the users blocks into Javascript code. So given this and my day job experience as a web developer I figured it would be cool to remake this game using Blockly for the web.<\/p>\n So that’s what I’ve done in this new game called Zero Out. You can write your program using the Scratch-like interface or directly in Javascript. The game has 10 levels (two more than the prototype) and should take between 1-2 hours to play through.<\/p>\n