Code Hunt - New Coding Game From Microsoft Research
Written by Sue Gee   
Monday, 26 May 2014

Code Hunt is an educational game which you can play in Java of C#. It entirely browser based so there's nothing to install and as you progress through its levels you learn more without having to type in more than a snippet of code.

Code Hunt provides its own tutorial which opens with a screen that possibly gives the wrong impression by saying that you have to "find, restore and capture as many code fragments as possible".

 

 

However, if you work your way through the next three screens you quickly understand that what you are expected to do is to modify a code fragment so that it produces the expected results. You get points not only for working code but also for elegant solutions.

 

chunttest

 

For example, here what is required isn't simply to add more ifs to cover all possible test cases but to remove those lines and edit the code to read:

 

 

For this you'll score full marks and can continue to the next code fragment.

 

captured

 

The game has 14 levels which are unlocked successively. Level 1 covers arithmetic, then you progress through loops, conditionals, and strings to nested loops, arrays and then on to searching, sorting and cyphers with the final level containing puzzles. Level 1 has 15 sectors and there are probably the same number in the others. That's one of the flaws of the game - you can't fast forward. You are invited to sign in with your Google, Microsoft, Yahoo or Facebook credentials to save your progress  - but signing in crashed Code Hunt for me.

Code Hunt is based on Pex, Microsoft Research's implementation of dynamic symbolic execution that powers Pex4Fun. On the whole it seems more fun and easier to use than its predecessor. Coming from Microsoft Research it is being used to investigate how well users respond to the gamification it introduces. The Feedback Survey reveals that they expect it to be used by children and young adults as its age categories stop at 26+.

There is more potential in Code Hunt. It offers a facility for creating extra zones with new sectors and levels and it can also be used for coding competitions with their own set of sectors and levels. But for this you need to contact Microsoft.

codehuntsq

 

More Information

Code Hunt

Code Hunt: Searching for Secret Code for Fun (pdf)

Related Articles

Code Digger Finds The Values That Break Your Code

 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin,  or sign up for our weekly newsletter.

 

Banner


SplitBody - Using EMS To Free Your Mind
02/06/2024

Can automating a repetitive movement via electrical muscle stimulation reduce mental workload while users concurrently perform an unrelated task? The SplitBody research study from the University  [ ... ]



FORTRAN and COBOL Re-enter TIOBE Index
17/05/2024

The TIOBE Index sets out to reflect the relative popularity of  computer languages so it comes as something of a surprise to see two languages dating from the 1950's in this month's Top 20.


More News

 

C book

 

Comments




or email your comment to: comments@i-programmer.info

 

Last Updated ( Sunday, 25 May 2014 )