Alexa Smith knew how to unlock an iPad when she was only a year old, so it wasn't all that surprising when she went on to master all of the video games that were appropriate for toddlers. Lucky for Alexa, her dad, Doug Smith, happens to be a video game developer, and he decided to create a new game for her. Almost one year later, the game is on sale on iTunes for other little ones to enjoy.

"My amazing 3 yr. old daughter loves trains and bugs. She inspired me to make a game called ChuggaBugga," Smith captioned a post that rose to the top of Reddit Monday morning.

Smith told HuffPost via email that the idea sparked when his wife was pregnant with his now 8-month-old daughter, Annabelle. He and his family were waiting to cross a train track when boxcars started to pass, and Alexa suggested that there might be elephants or a swimming pool inside those cars. Her imagination got her dad inspired.

He then spent nights and weekends building a prototype, playing with ideas and developing ChuggaBugga. Smith told HuffPost that his family also took several family trips to the local train-themed amusement park for research purposes.

Smith's main goal for the game is simply to make his daughters smile. "I've worked in the industry for over a decade. It's been rewarding, but seeing Alexa, and now tons of kids all over the world smiling and laughing with a game I created is far beyond anything else in my career," he wrote to HuffPost.

Smith was employed at LucasArts, a video game developer and publisher, until the studio closed earlier this month. ChuggaBugga has been the silver lining to the challenging experience, he explained. "Who knows? Maybe I can turn this into a full-time indie thing," Smith wrote on Reddit.

Watch the trailer for ChuggaBugga above and view photos of the game being created below.

Related on HuffPost:

Loading Slideshow...
  • Superhero Dad

    Mom told <a href="http://www.ctvnews.ca/canada/viral-image-of-superhero-dad-and-son-hails-from-canada-1.1137221">CTV news</a> that her 3-year-old son wears his cape “almost 100 percent of the time" at home. <strong><a href="http://www.huffingtonpost.com/2013/01/28/dad-and-son-superheroes_n_2567314.html">For the full story, click here. </a></strong>

  • Spider-Dad

  • Bohemian Rhapsody Dad

  • Roller Coaster Dad

  • Foul Ball Dad

  • Dancing Wedding Dad

  • Hide And Seek Camera Dad

  • Dancing Bat Mitzvah Dad

  • David Beckham

  • Louis C.K.