sub interpretplay { if (exists $actions{$char}) { &$actions{$char}; } else { &invalid; }; };