{"id":3604,"date":"2015-04-29T09:50:00","date_gmt":"2015-04-29T16:50:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/msr_er\/2015\/04\/29\/code-hunt-creating-a-community-with-a-game\/"},"modified":"2016-07-20T07:29:21","modified_gmt":"2016-07-20T14:29:21","slug":"code-hunt-creating-a-community-with-a-game","status":"publish","type":"post","link":"https:\/\/www.microsoft.com\/en-us\/research\/blog\/code-hunt-creating-a-community-with-a-game\/","title":{"rendered":"Code Hunt: creating a community with a game"},"content":{"rendered":"<p><span style=\"font-family: verdana,geneva;font-size: medium\">Launched a year ago, <a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" rel=\"noopener noreferrer\" href=\"http:\/\/research.microsoft.com\/en-us\/projects\/codehunt\/\" target=\"_blank\">Code Hunt<span class=\"sr-only\"> (opens in new tab)<\/span><\/a> is a coding game that challenges players first to deduce a hidden problem from clues presented as unit tests and then to write a program to solve it. The game has been enormously successful, attracting more than 150,000 players from around the world and achieving amazing stickiness&mdash;99 percent of players return to the game within a week. In the process, it has become much more than an intriguing game. It has inspired Code Hunt competitions around the world and has become a vehicle for identifying top coding talent. It has also established itself as an educational presence, both as a tool for teaching coding and as a resource for analyzing how students learn to code.<\/span><\/p>\n<p align=\"center\"><img decoding=\"async\" title=\"Code Hunt challenges players to display their coding skills.\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/MSDNBlogsFS\/prod.evol.blogs.msdn.com\/CommunityServer.Blogs.Components.WeblogFiles\/00\/00\/01\/32\/81\/4174.CodeHunt1-student-496px.png\" alt=\"Code Hunt challenges players to display their coding skills.\" \/> <span style=\"font-family: verdana,geneva;font-size: small;color: #808080\"><br \/>Code Hunt challenges players to display their coding skills.<\/span><\/p>\n<p><span style=\"font-family: verdana,geneva;font-size: medium\">As bridge fanatics and crossword puzzle fans know, intellectual games breed competition, and Code Hunt was no exception. Soon, we were organizing weekend Code Hunt contests for students. Under the banner of <a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" rel=\"noopener noreferrer\" href=\"https:\/\/www.imaginecup.com\/\" target=\"_blank\">Imagine Cup<span class=\"sr-only\"> (opens in new tab)<\/span><\/a>, we advertised the contests worldwide and offered them monthly from September 2014 through April 2015. Interest and involvement ran high. <\/span><\/p>\n<p><span style=\"font-family: verdana,geneva;font-size: medium\">Adam \u017bychowski of the Warsaw University of Technology typifies many contestants. &ldquo;I really love Code Hunt Challenge and every month I wait for it with excitement,&rdquo; says \u017bychowski. &ldquo;In Poland, the challenge starts at 1:00 A.M., so it is very busy night for me.&rdquo; Microsoft Imagine program lead John Scott Tynes adds, &ldquo;Code Hunt has been very good for Imagine Cup&mdash;it drove thousands of new students to the main competition.&rdquo; Our next set of challenges has a regional and local flavor, with contests specifically for China and India, as well as universities&mdash;starting with the University of Washington.&nbsp;<\/span><\/p>\n<p align=\"center\"><span style=\"font-family: verdana,geneva;font-size: small;color: #808080\"><img decoding=\"async\" title=\"Imagine Cup Code Hunt Contest winners and new Puzzle Masters Dawid Bugajewski and Vincent Hsiao with Puzzel Master Nigel Horspool.\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/MSDNBlogsFS\/prod.evol.blogs.msdn.com\/CommunityServer.Blogs.Components.WeblogFiles\/00\/00\/01\/32\/81\/1104.CodeHunt5-puzzlemasters-496px.png\" alt=\"Imagine Cup Code Hunt Contest winners and new Puzzle Masters Dawid Bugajewski and Vincent Hsiao with Puzzle Master Nigel Horspool\" \/><br \/>Imagine Cup Code Hunt Contest winners and new Puzzle Masters Dawid Bugajewski (Military University of Technology, Warsaw) and Vincent Hsiao (University of Maryland) with Puzzle Master Nigel Horspool in background<\/span><\/p>\n<p><span style=\"font-family: verdana,geneva;font-size: medium\">Code Hunt has an integrated scoring system, which rewards better-written programs. Top scores attract attention, and one successful player, Alexey Kolesnichenko from ETH Zurich, has recently been hired by the Microsoft Trustworthy Computing group. Other tech companies have contests to find top coders, but Code Hunt is unique in that it mixes the game with real learning, teaching students how to manage perplexing coding problems. But how does one help students who are baffled by a problem? While others have conducted research into building hint systems, most of these systems provide specific, built-in hints&mdash;which may not address each of the thousands of players&rsquo; different needs. <\/span><\/p>\n<p><span style=\"font-family: verdana,geneva;font-size: medium\">By contrast, the Code Hunt hint system, built by Microsoft intern Daniel Perelman, takes advantage of the game&rsquo;s foundation of symbolic execution and data in the cloud. Since we have access to close to a million attempts from our players, we use data mining and program synthesis to generate hints that are relevant to the student&rsquo;s progress. We thus take advantage of all the solutions in the cloud to assist students working on any solution strategy, including ones the teacher might not have chosen as the reference&mdash;or may not even have been aware of. Of course, hints are turned off during contests!<\/span><\/p>\n<p style=\"text-align: center\"><img decoding=\"async\" style=\"margin-left: auto;margin-right: auto\" title=\"Example of the hint system in action\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/MSDNBlogsFS\/prod.evol.blogs.msdn.com\/CommunityServer.Blogs.Components.WeblogFiles\/00\/00\/01\/32\/81\/6131.CodeHunt4-hint-system-460.png\" alt=\"Example of the hint system in action\" \/><span style=\"font-family: verdana,geneva;font-size: small;color: #808080\">Example of the hint system in action<\/span><\/p>\n<p><span style=\"font-family: verdana,geneva;font-size: medium\">Believe it or not, scale and success bring their own problems. It is a challenge for us to continually devise new problems. To help us, we invited the top coders themselves to start submitting puzzles, and we now have a cohort of eager young Puzzle Masters. When first approached to be a Puzzle Master, Josua Meier from Karlsruhe University of Technology responded, &ldquo;Using a gaming approach to teach coding paradigms is a very amazing concept. Making a contribution to this, however small, would be great.&rdquo;<\/span><\/p>\n<p align=\"center\"><span style=\"font-family: verdana,geneva;font-size: small;color: #808080\"><img decoding=\"async\" title=\"Faculty and researchers design new puzzles and games for Code Hunt. Pictured from left to right: Rishabh Singh, Armando Solar-Lezama, Amey Karkare, Alexey Kolesnichenko, Alessandro Orso, Nikolai Tillmann, and Willem Visser\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/MSDNBlogsFS\/prod.evol.blogs.msdn.com\/CommunityServer.Blogs.Components.WeblogFiles\/00\/00\/01\/32\/81\/1385.CodeHunt-coders-496px.jpg\" alt=\"Faculty and researchers design new puzzles and games for Code Hunt. Pictured from left to right: Rishabh Singh, Armando Solar-Lezama, Amey Karkare, Alexey Kolesnichenko, Alessandro Orso, Nikolai Tillmann, and Willem Visser\" \/><br \/>Faculty and researchers design new puzzles and games for Code Hunt. <br \/>Pictured from left to right: Rishabh Singh (Microsoft Research), Armando Solar-Lezama (MIT), Amey Karkare (IIT Kanpur), Alexey Kolesnichenko (ETH Zurich), Alessandro Orso (Georgia Tech), Nikolai Tillmann (Microsoft), and Willem Visser (University of Stellenbosch)<\/span><\/p>\n<p><span style=\"font-family: verdana,geneva;font-size: medium\">Now, with all the data we have, we can analyze it in order to find out how students learn and improve. In early February at the <a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" rel=\"noopener noreferrer\" href=\"http:\/\/research.microsoft.com\/en-US\/projects\/codehuntcommunity\/workshop.aspx\" target=\"_blank\">Code Hunt Workshop<span class=\"sr-only\"> (opens in new tab)<\/span><\/a>, we presented our first results showing that such simple concepts as division can be real obstacles that discourage students from continuing to code. Now, we have publicly released a data set of 13,000 programs on <a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" rel=\"noopener noreferrer\" href=\"https:\/\/github.com\/Microsoft\/Code-Hunt\" target=\"_blank\">GitHub<span class=\"sr-only\"> (opens in new tab)<\/span><\/a> so that academics can continue to analyze the coding process.<\/span><\/p>\n<p><span style=\"font-family: verdana,geneva;font-size: medium\">So don&rsquo;t wait for a contest to come to your school or region. Join the community at one of our <a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" rel=\"noopener noreferrer\" href=\"http:\/\/research.microsoft.com\/en-US\/projects\/codehuntcommunity\/default.aspx\" target=\"_blank\">upcoming workshops<span class=\"sr-only\"> (opens in new tab)<\/span><\/a>, <a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" rel=\"noopener noreferrer\" href=\"https:\/\/www.codehunt.com\/\" target=\"_blank\">try Code Hunt<span class=\"sr-only\"> (opens in new tab)<\/span><\/a> on your own, or download <a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" rel=\"noopener noreferrer\" href=\"https:\/\/github.com\/Microsoft\/Code-Hunt\" target=\"_blank\">the data set<span class=\"sr-only\"> (opens in new tab)<\/span><\/a> and get into some deep analysis of how students learn to code.<\/span><\/p>\n<p><span style=\"font-family: verdana,geneva;font-size: medium\"><em>&mdash;<\/em><a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" rel=\"noopener noreferrer\" href=\"http:\/\/research.microsoft.com\/en-us\/people\/jbishop\/\" target=\"_blank\"><em>Judith <\/em><em>Bishop<\/em><span class=\"sr-only\"> (opens in new tab)<\/span><\/a><em>, Director of Computer Science, Microsoft Research<\/em><em><\/em><\/span><\/p>\n<p><span style=\"font-family: verdana,geneva;font-size: medium\"><strong>Learn more<\/strong><\/span><\/p>\n<ul>\n<li><span style=\"font-family: verdana,geneva;font-size: small\"><a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" rel=\"noopener noreferrer\" href=\"https:\/\/www.codehunt.com\/\" target=\"_blank\">Try Code Hunt<span class=\"sr-only\"> (opens in new tab)<\/span><\/a><\/span><\/li>\n<li><span style=\"font-family: verdana,geneva;font-size: small\"><a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" rel=\"noopener noreferrer\" href=\"http:\/\/research.microsoft.com\/en-us\/projects\/codehunt\/\" target=\"_blank\">Code Hunt at Microsoft<span class=\"sr-only\"> (opens in new tab)<\/span><\/a><\/span><\/li>\n<li><span style=\"font-family: verdana,geneva;font-size: small\"><a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" rel=\"noopener noreferrer\" href=\"http:\/\/research.microsoft.com\/en-us\/projects\/codehuntcommunity\/\" target=\"_blank\">Join the Code Hunt community<span class=\"sr-only\"> (opens in new tab)<\/span><\/a><\/span><\/li>\n<li><span style=\"font-family: verdana,geneva;font-size: small\"><a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" rel=\"noopener noreferrer\" href=\"https:\/\/github.com\/Microsoft\/Code-Hunt\" target=\"_blank\">Code Hunt Data Set on GitHub<span class=\"sr-only\"> (opens in new tab)<\/span><\/a><\/span><\/li>\n<li><span style=\"font-family: verdana,geneva;font-size: small\"><a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" rel=\"noopener noreferrer\" href=\"http:\/\/research.microsoft.com\/en-us\/collaboration\/focus\/cs\/default.aspx\" target=\"_blank\">Computer Science at Microsoft Research<span class=\"sr-only\"> (opens in new tab)<\/span><\/a><br \/><\/span><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Launched a year ago, Code Hunt is a coding game that challenges players first to deduce a hidden problem from clues presented as unit tests and then to write a program to solve it. The game has been enormously successful, attracting more than 150,000 players from around the world and achieving amazing stickiness&mdash;99 percent of [&hellip;]<\/p>\n","protected":false},"author":32627,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"msr-url-field":"","msr-podcast-episode":"","msrModifiedDate":"","msrModifiedDateEnabled":false,"ep_exclude_from_search":false,"_classifai_error":"","msr-author-ordering":[],"msr_hide_image_in_river":0,"footnotes":""},"categories":[194475,194485,194488],"tags":[195075,195080,195082,195105,187230,195173,195267,186434,195637,195698,195797,196077,186993,197334],"research-area":[],"msr-region":[],"msr-event-type":[],"msr-locale":[268875],"msr-post-option":[],"msr-impact-theme":[],"msr-promo-type":[],"msr-podcast-series":[],"class_list":["post-3604","post","type-post","status-publish","format-standard","hentry","category-database-data-analytics-platforms","category-networking","category-program-languages-and-software-engineering","tag-code-hunt","tag-coding","tag-coding-research","tag-competition","tag-computer-science","tag-contest","tag-data-set","tag-education","tag-game","tag-github","tag-hint-system","tag-judith-bishop","tag-programming","tag-students","msr-locale-en_us"],"msr_event_details":{"start":"","end":"","location":""},"podcast_url":"","podcast_episode":"","msr_research_lab":[],"msr_impact_theme":[],"related-publications":[],"related-downloads":[],"related-videos":[],"related-academic-programs":[],"related-groups":[],"related-projects":[],"related-events":[],"related-researchers":[],"msr_type":"Post","byline":"","formattedDate":"April 29, 2015","formattedExcerpt":"Launched a year ago, Code Hunt is a coding game that challenges players first to deduce a hidden problem from clues presented as unit tests and then to write a program to solve it. The game has been enormously successful, attracting more than 150,000 players&hellip;","locale":{"slug":"en_us","name":"English","native":"","english":"English"},"_links":{"self":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/posts\/3604","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/users\/32627"}],"replies":[{"embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/comments?post=3604"}],"version-history":[{"count":1,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/posts\/3604\/revisions"}],"predecessor-version":[{"id":260820,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/posts\/3604\/revisions\/260820"}],"wp:attachment":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/media?parent=3604"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/categories?post=3604"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/tags?post=3604"},{"taxonomy":"msr-research-area","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/research-area?post=3604"},{"taxonomy":"msr-region","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-region?post=3604"},{"taxonomy":"msr-event-type","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-event-type?post=3604"},{"taxonomy":"msr-locale","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-locale?post=3604"},{"taxonomy":"msr-post-option","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-post-option?post=3604"},{"taxonomy":"msr-impact-theme","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-impact-theme?post=3604"},{"taxonomy":"msr-promo-type","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-promo-type?post=3604"},{"taxonomy":"msr-podcast-series","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-podcast-series?post=3604"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}