Maze's End enters the battlefield tapped.
: Add to your mana pool.
, , Return Maze's End to its owner's hand: Search your library for a Gate card, put it onto the battlefield, then shuffle your library. If you control ten or more Gates with different names, you win the game.