Opening the iTunes Store.If iTunes doesn't open, click the iTunes application icon in your Dock or on your Windows desktop.Progress Indicator

iTunes is the world's easiest way to organize and add to your digital media collection.

We are unable to find iTunes on your computer. To buy and download Trainyard by Matt Rix, get iTunes now.

Already have iTunes? Click I Have iTunes to open it now.

I Have iTunes Free Download
iTunes for Mac + PC


By Matt Rix

Open iTunes to buy and download apps.


Trainyard has the best user review scores on the entire App Store!

+ Innovative and challenging puzzle mechanic
+ Smooth difficulty curve
+ 100 main puzzles and over 50 bonus puzzles
+ Hundreds of ways to solve each puzzle
+ Puzzle editor: create your own puzzles
+ Retina display support
+ Easily share your unique solutions on
+ Looks GREAT on the iPad
+ Engineered for low battery usage
+ Colour-blind mode
+ Game Center support
+ A year in the making
+ Developed in my spare time (support indie games!)

Stuck on a puzzle? Visit where there are over *1.5 million* player-submitted solutions.

Trainyard is a puzzle solving game unlike any that you've ever played. It's easy to learn but very tough to master. Your job is simple: get each train to a goal station. Red trains go to red stations, blue trains go to blue stations, etc. You control the trains by drawing track for them to follow. There isn't a time limit or even a score; the only thing you need to do is figure out a solution for each puzzle.

The first few puzzles are almost too easy, but as the difficulty increases you'll be thankful that you were able to practice the fundamentals of drawing track. As the game progresses, you'll have to use colour theory to combine trains of different colours, use timing to merge and split trains, and use every inch of your brain in your quest to beat the game.

Find out more at

Developed by Matt Rix (

Proudly made in Canada.

Think you beat the whole game? Try to solve all the bonus puzzles! Done that? Try to match the track counts on

Trainyard makes use of these excellent libraries:

+ Cocos2D-iPhone by Ricardo Quesada
+ XAuthTwitterEngine by Aral Balkan
+ Twitter+OAuth code by Ben Gottlieb
+ MGTwitterEngine by Matt Gemmell
+ ASIHTTPRequest by All-Seeing Interactive
+ SFHFKeychainUtils by Buzz Andersen
+ TouchXML by Jonathan Wight
+ FMDB by Flying Meat Inc.

What's New in Version 1.66

+ Make your own puzzles!
+ Achievements
+ Game Center
+ Universal (works on iPad)
+ New puzzles
+ Hundreds of other bug fixes and improvements


iPhone Screenshot 1
iPhone Screenshot 2
iPhone Screenshot 3
iPhone Screenshot 4
iPhone Screenshot 5
iPad Screenshot 1
iPad Screenshot 2
iPad Screenshot 3
iPad Screenshot 4
iPad Screenshot 5

Customer Reviews

Simply frustrating, simply wonderful

This game is extremely easy to learn and the initial tracks / puzzles are trivial. It lures you in with this simplicity. Over time as you progress from one city to the next, the puzzles increase in complexity and fun. Oh, a few of the puzzles with frustrate you and you'll put down the game... Just so you know, that is the best thing you can do. With some of the puzzles, the greatest hurdle to overcome is yourself. Stepping back and thinking about it can help more than endlessly laying track to solve the same puzzle. I have set this game down more than once and have also swore at the game (not that it ever responded or got offended). Once the frustration left me and I started to think clearly again, the solution to many of the tracks became clear. For most people, this is not a great game for plowing through all of the puzzles in a single sitting.

I "beat" the game a few minutes ago and was rewarded with more tracks (bonus levels). Between the bonus levels and the user created levels, it will be difficult for most people to run out of new levels to enjoy. I do not have a single legitimate complaint toward this game. I hope to see more tracks added to the game in the future!

tl;dr: Very fun/hard game, in doses.

Good Job

I hope u read this but I just wanted to give u some pointers for the next update I bought this app about 3 days after it came out I have beat the game and with the update have made some puzzles I keep checking to see if it is on the most solved or whatever page I thought it would be nice to be able to see how many views solves and fails someone has had on ur puzzle as well as being able to rate it by the description and title name also I think it would be cool to battle like have ur created puzzle battle someone else's and the first one to finish the other persons puzzle wins wins some wretches witch could go towards puzzles and/or cheats to other parts of trainyard by the way I think it is kinda dumb u cab give ur own puzzle how many wretches it is worth have other people do that through reviews I hope u enjoy the review plz look into it

Worth the price

Trainyard is one of a very few games I've paid for on the app store; even after playing the free version, I loved it enough to want more. While most of the puzzles can be solved with a "brute force" approach until they just work, the elegance of a well-thought-out solution is very satisfying. Great for those who are (or could be) engineers, mathematicians, and computer scientists.

The only drawback I've found is that sharing on Facebook and Twitter doesn't seem to work. (Or, perhaps, they just don't work any longer, since the last update was quite some time ago.) Still, if those buttons weren't available, I wouldn't think the game had any faults; having them there simply points out that they aren't working. A small price to pay for an excellent game.

View In iTunes
This app is designed for both iPhone and iPad
  • $1.99
  • Category: Games
  • Updated: Sep 01, 2011
  • Version: 1.66
  • Size: 8.1 MB
  • Language: English
  • Seller: Matt Rix

Compatibility: Requires iOS 3.0 or later. Compatible with iPhone, iPad, and iPod touch.

Customer Ratings

Current Version:
All Versions:

Become a fan of the iTunes and App Store pages on Facebook for exclusive offers, the inside scoop on new apps and more.