An Edmonton teenager has coded an out-of-this-world game as a tribute to Canada’s first-ever spacewalker. It took 13-year-old Riley Darrah about three weeks to finish a game that follows his hero Chris Hadfield’s spacewalk from 2001. The game immerses you in a re-creation of his experiences installing the Space Station Remote Manipulator System, otherwise known as Canadaarm2, the country’s contribution to the International Space Station. “I decided to take from one of his biggest experiences, where he partially goes blind in one eye and then the other, but still makes it back into the ship,” Riley told CTV news Edmonton. Players are instructed to locate the robotic arm and repair it before their vision is completely impaired, much like Hadfield’s own experience. “Good luck, Houston,” are the last words you see before leaving the airlock. Riley was inspired by a talk Hadfield gave at the Winspear Centre in April. His mom, Katie, introduced him to the Code Ninjas competition – to code a game about your hero – that got the ball rolling. “Riley immediately took to it, and in the evenings, almost every time he was with me, he was up on my computer,” she recalled of his eagerness. “He’s on it and he’s just typing buttons and doing something I have no understanding of.” She was his test player, too, although she calls him a “backseat driver.” “He’d stand over me and tell me how much I was doing wrong,” she joked. “I’m so proud of him. He’s taken all of this in stride … He’s constantly checking his donation levels.” And Riley isn’t just looking to make a good game. Through the Code Ninjas competition, he’s launched a fundraiser to support the Stollery Children’s Hospital. As of Saturday afternoon, he’s raised nearly $1,600. His original goal was just under $1,000. His efforts earned Riley a special recognition from Hadfield himself, who sent him a letter of appreciation that the teen received at a party with all his family and friends. “Congratulations on creating your very own space-inspired video game and using your talent and creativity to support the Stollery Children’s Hospital Foundation,” the signed letter from Hadfield reads in part. “What a wonderful example of how curiosity, imagination and determination can make a meaningful difference in the lives of others.” Riley says he was “just trying not to cry” when he saw the letter. Also appreciating his skill is Riley’s own instructor at Code Ninjas Crestwood, Candy Xu. “Riley is one of the very smart smart ones … When he came here he already knew some coding skills. I see growth with all the kids,” she said. And while she didn’t help Riley at all with his game, she did play it, and it’s “really, really fun.” Riley’s been coding for about three years now, and continues to build on getting “pixels just right.” “It’s experience and just getting a vision, getting an idea in your mind of what you want, and just having some fun with it.” His main goal now is to continue raising money for the Stollery. “My brother has been there before when he fractured his collarbone, and I know other people who have been to the Stollery before,” he said. “My next record was hopefully reaching $2,500, and I’m still not fully sure about that. But we’ll see what happens.” With files from CTV News Edmonton’s Curtis Goodrum