Exemple #1
0
 public Computer(Int64[] program, bool manualPlay = false)
 {
     Program = new Int64[program.Length];
     program.CopyTo(Program, 0);
     Brain      = new Intcode(Program);
     ManualPlay = manualPlay;
     Recording  = new Queue <string>();
 }
Exemple #2
0
 public void Reset()
 {
     Brain = new Intcode(Program);
 }