Initial commit
This commit is contained in:
commit
e2b8f1d7aa
29 files changed
+1497
No files matched your search
+14
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
use Automata\Machine;
|
||||
use Automata\Tool;
|
||||
|
||||
require_once __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
$machine = new Machine();
|
||||
$machine->toolMemory->save(new Tool(1, 5500, 2));
|
||||
$machine->toolMemory->save(new Tool(2, 3000, 61379));
|
||||
(new ProgramLoader)->loadPrograms($machine);
|
||||
|
||||
$machine->loadProgram(9002);
|
||||
$machine->start();
|
||||
Reference in new issue
Block a user