A player can move forward by pressing the up key and turn left and right with the left and right key in the mud client. The direction and position of the player can be sent to the mud so that other players can see where other players are in the room.
Position
If the mudstrings 'position' attribute is set ('r @x @y' for SWLPC) then the mud client will replace the hashes @x and @y with the mud coordinates of the player relative to the centre of the room. For example 'r 0.1 -0.2' means the player is 0.1 east and 0.2 south of the room centre. The mud client sends the player position when the player has moved 'toldpositiondist' distance (in movement) from the last position it told the mud.
Direction
When the direction a player is facing changes (eg was facing east but now changed to southeast) the mud client can tell the mud the new direction the player is facing. The command used is specified in the 'facing' attribute of mudstrings. In swlpc it ia the command 'fc ^' where the hash ^ is the player direction.