Jump to content

Langton's ant: Difference between revisions

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._
1,481

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.