no extra info provided

Revision:
0:dd04a694fbdd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SquareConqueror.h	Sat Apr 24 14:08:06 2021 +0000
@@ -0,0 +1,91 @@
+/************************************************************/
+/*                Author:Daisy HOU                          */
+/*                Created Date:2021/3/20                    */
+/*                Updated Date: 2021/4/16                    */
+/*                Aim: Here are the commands the for LPC1768, with Mbed Online compiler.                   */
+/*                         Illustrated the basic elements for emplementation the game in course B39VS.        */
+/************************************************************/
+
+#pragma once
+// '#pragma once' is a common C/C++ pragma,
+// Putting this pragma at the first line of the header file, ensures which to be compiled only once/
+
+#include<stdio.h>
+#include<stdlib.h>
+#include<iostream>
+
+#include<map>
+#include<math.h>
+#include<vector>
+#include<string>
+
+#include <fstream>  //文件流库函数        }#include<cstdlib>
+#include<time.h> 
+
+
+#define MAX_DIST 100
+#define DIST_READING_NUM 10
+
+#define LEGAL 1
+#define TOO_FAR 2
+#define NOT_OPEN 0
+#define RGB_DARK 120
+using namespace std;
+
+typedef struct MY_flags {
+    int separation; //
+    int hard_level; //
+    char bpr_mark;  //bpr for: begin, pause, and restart
+    bool is_administrator;
+    //initialize with constructor
+    /*MY_flags()
+    {
+        separation = NOT_OPEN;
+        hard_level = NOT_OPEN;
+        bpr_mark = 'k';
+        is_administrator = false;
+    }*/
+}FLAGS;
+
+
+class Game_State {
+private:
+    //int *dist_raw[DIST_READING_NUM];
+    //int *ide_raw[4];
+    //int *rgb_raw[4];
+    int* dist_raw;
+    int* ide_raw;
+    int* rgb_raw;
+
+    //struct MY_flags* getFlags;
+    FLAGS* getFlags;
+
+public:
+    Game_State(int* dist_raw, int* ide_raw, int* rgb_raw, struct MY_flags* getFlags);
+    // The constructor
+    void identityOperaor();
+    // Deal with data from photoelectric sensors, and give hard level and also judge whether administrator.
+    void distOperator();
+    // Deal with data from TOF, and give distance information
+    void bprOperator();
+    // Deal with data from color sensor, and give distance information
+// in the main.cpp file    
+//void talkTOpad();
+    bool whetherContinue();
+};
+
+class SoltionsFinder {
+public:
+    SoltionsFinder(int i, int j, int m, int n, int k);
+    ~SoltionsFinder();
+    //int SituationJudger();
+    void SolPools(void);
+    int GetSolution(void);
+
+private:
+    int c1, c2, u1, u2;
+    int m_situation;
+    int hard_level;
+    float m_pool[10000][5];
+    //int m_judger;
+};
\ No newline at end of file