ECE_4180_Project / Mbed 2 deprecated Farkle_main

Dependencies:   4DGL-uLCD-SE PinDetect mbed

Revision:
0:09b7e6aa75a9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/farkel_class.h	Tue Nov 30 18:58:54 2021 +0000
@@ -0,0 +1,42 @@
+#ifndef farkel_class_H
+#define farkel_class_H
+#include <stdio.h>      /* printf */
+#include <ctime>       /* time_t, struct tm, difftime, time, mktime */
+#include "die.h"
+#include "uLCD_4DGL.h"
+#include "PinDetect.h"
+
+
+class farkel{
+    
+    public:
+        farkel();
+        farkel(int randomNum);
+        void dicePlacer(int dicePlace,int identity,int gameScore);
+        int roll();
+        void testPrint(int flag);
+        void clearSc();
+        void mainMenu(int diceNum);
+        int diceNumInc(int dicenum);  
+        //int whileBrake(int mainMenuFlag); 
+        int gameScoring();
+        bool tripCheck();
+        bool dubCheck();
+        void printfark();
+        int resetDie(int diceNum,int scorehold);
+        int scoreingScreen(int gameScore);
+        int back2MainMenu();
+        int butDetect(int gameScore);
+    private:
+        int diceColor;
+        int identity;
+        int score;
+        int holder1;
+        int holder2;
+
+    
+    
+    };
+
+
+#endif
\ No newline at end of file