in Game Development

New Game: Zero Out

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 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.

Recently I discovered Google’s Blockly library which allows users to create Scratch-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.

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.

Play Zero Out

Hope you enjoy the game.

Write a Comment

Comment

  1. Hi, this is James! I think this is a very cool game, thank you for sharing this awesome codes.

    I’ve look through your code on bit-bucket, and I was curious why u used Angular framework for this game. So, I have two questions.

    1. Is there advantages using Angular framework for this game?
    2. Is there a non- angular version of this games (javascript)

    I am asking you this question because I would like to add some funtions to this game to teach my kids programming, but I am not very used to angular framework, so I would to know is it possible to share non-Angular version of this game.

    Best, James.