Code: Select all
ClrHome
4->C
4->B
Lbl D
prompt A
If A=4
B-1->B
Goto E
End
If A=6
B+1->B
Goto E
End
If A=2
C-1->C
Goto E
End
If A=8
C+1->C
Goto E
End
Lbl E
ClrHome
Output(C,B,"?"
Goto D
Moderator: MaxCoderz Staff
Code: Select all
ClrHome
4->C
4->B
Lbl D
prompt A
If A=4
B-1->B
Goto E
End
If A=6
B+1->B
Goto E
End
If A=2
C-1->C
Goto E
End
If A=8
C+1->C
Goto E
End
Lbl E
ClrHome
Output(C,B,"?"
Goto D
Code: Select all
1->A
1->B
repeat 0
repeat Ans
getKey
End
Ans->K
Output(A,B," %that is 1 space, and this is a comment
B+(K=26)(B<16)-(K=24)(B>1)->B
A+(K=34)(A<8)-(K=25)(A>1)->A
Output(A,B,"?
End
For the record, I'm no masochist. Brass is written in C#, not C++, and so will run under MacOS via Mono.threefingeredguy wrote:Also, when there is support for Visual C++ apps (coming in the future, I hear) you should be able to run Brass.