Gamelang

From Esolang
Jump to navigation Jump to search
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

Gamelang uses WASD stuff to do code

How to do stuff

W<dir> - move in direction of dir, WASD do ULDR up left down right, E direction does nothing
A<number> - if current cell is number, go to D
S<number> - add number to current cell S<WWW> is 3, S<SSS> is -3
D<number> - set D to number, D<WWW> makes D 3, D<SSS> makes D -3
E<dir> - run current into direction dir
ALTF4<> - exit program
F1<command> - set current cell to command
F2<anything> - return current cell
F3<anything> - return D
F4<anything> - print anything
F5<command> - set F5 to command
F6<commands> - do commands then do F5

Examples

F6<W<W>F5<S<W>F4<F2<>>S<W>F4<F2<>>S<W>F4<F2<>>W<S>>> #1, 2, 3