Skip to content

Commit 2952528

Browse files
Merge pull request #273 from CodebreakerApp/272-game5x5x4-order-of-result-pegs
Fixed order of key pegs (#272)
2 parents ae976ce + a55ba45 commit 2952528

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/common/Codebreaker.GameAPIs.Analyzers/Extensions/PegExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ public static string[] ToStringResults(this ColorResult result)
3030
public static string[] ToStringResults(this ShapeAndColorResult result)
3131
{
3232
return Enumerable.Repeat(Colors.Black, result.Correct)
33-
.Concat(Enumerable.Repeat(Colors.Blue, result.ColorOrShape))
3433
.Concat(Enumerable.Repeat(Colors.White, result.WrongPosition))
34+
.Concat(Enumerable.Repeat(Colors.Blue, result.ColorOrShape))
3535
.ToArray();
3636
}
3737

0 commit comments

Comments
 (0)