This class is the engine of the program. It encapsulates all the methods to do with managing scores, commands and player states(dead/alive).

Revision:
2:6eebea9a6a86
Parent:
1:0f98beb0993b
Child:
3:7213eee4c093
--- a/Operator.cpp	Wed Apr 12 22:19:03 2017 +0000
+++ b/Operator.cpp	Wed Apr 12 23:46:29 2017 +0000
@@ -21,7 +21,7 @@
 
 
 int Operator::random_instruction(Display &display, N5110 &lcd) { 
-    int ran = rand() % 4 + 1;  
+    int ran = rand() % 7 + 1;  
     display.display_instruction(lcd, ran); 
     return ran; 
     }