Labyrinth7/Labyrinth7Game — pull request #23 by Enlightment (2014-06-01 11:33:21+00:00)
Title: Refactot Update() and PrintTopResults()

Create a common variable int[] newPosition in Update()
Get all common logic from Update in one method Move()

Rename direction to inputCommand

Removing unnecessary constants:
private const int upperSuccessfulFinish = 0;
private const int downSuccessfulFinish = 6;
private const int leftSuccessfulFinish = 0;
private const int rightSuccesfulFinish = 6;

RankingTopPlayers.cs -> PrintTopResults() -> Add StringBuilder instead of Console.WriteLine() and Rename method to GetTopResults() . Printing is done in LabyrinthGame class.