How to Use

  1. Write rules in Machine Rules as: currentState,readSymbol,nextState,writeSymbol,move.
  2. Enter your starting tape symbols in Input String.
  3. Click Initialize to load rules and place the head at the first symbol.
  4. Click Step to run one transition, or Run to continue automatically.
  5. If no rule matches the current state and symbol, the machine halts. Use Reset to start again.

How It Works (Turing Machine POV)

Read symbol -> Find matching rule -> Write symbol -> Move L/R/S -> Change state

Tape

Machine Rules

Input String

State Diagram

graph TD;

Controls

Status

State: q0 Steps: 0