Langton's ant: Difference between revisions
→{{header|Scala}}
Line 2,497:
=={{header|Scala}}==
{{incorrect|Scala|The chirality of the output is reversed, meaning the ant is turning left when the spec says it should turn right, and vice-versa.}}
<lang scala>class Langton(matrix:Array[Array[Char]], ant:Ant) {
import Langton._
|