Langton's ant: Difference between revisions
→{{header|Run BASIC}}: Fix chirality of text output.
(→{{header|Run BASIC}}: Fix chirality of text output.) |
|||
Line 2,414:
=={{header|Run BASIC}}==
<lang Runbasic>dim plane(100,100)
x = 50: y = 50
Line 2,447:
output
Ouptut (Produces both character and graphic):[[File:LogansAnt.png|right|graphic]]
<pre style="height: 40ex; overflow: scroll"> ## ############ ## 27
## # #### #
# ## ## ###
# # #
### ## ## #
###
# #
#
##
## # ##
## # ## ##
#
# #### ##
# #
## # #
#
#
## # ## #
#
# ##
# # # #
# ##
#
#### # ## #
##
##
### ### # #
# # # ## #
=={{header|Scala}}==
|