{"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

Play Zero Out<\/a><\/p>\n

Hope you enjoy the game.<\/p>\n","protected":false},"excerpt":{"rendered":"

Back in late 2015 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. The goal of the game is to write a computer program that will shift all […]<\/p>\n<\/a>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/cjohnson.id.au\/wp-json\/wp\/v2\/posts\/1682"}],"collection":[{"href":"https:\/\/cjohnson.id.au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cjohnson.id.au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cjohnson.id.au\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cjohnson.id.au\/wp-json\/wp\/v2\/comments?post=1682"}],"version-history":[{"count":3,"href":"https:\/\/cjohnson.id.au\/wp-json\/wp\/v2\/posts\/1682\/revisions"}],"predecessor-version":[{"id":1686,"href":"https:\/\/cjohnson.id.au\/wp-json\/wp\/v2\/posts\/1682\/revisions\/1686"}],"wp:attachment":[{"href":"https:\/\/cjohnson.id.au\/wp-json\/wp\/v2\/media?parent=1682"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cjohnson.id.au\/wp-json\/wp\/v2\/categories?post=1682"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cjohnson.id.au\/wp-json\/wp\/v2\/tags?post=1682"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}