Generation

fix invalid codeTue, 24 Jan 2023

#ifndef ASSIGN2_SCORE_H #define ASSIGN2_SCORE_H #include "Tile.h" #include "Board.h" class Score { public: // Constructor Score(); // Destructor ~Score(); // Return scored points, takes current board state and coordinates of the last move int calculate(std::vector<std::vector<Tile*>> board, int row, int col); private: // Calculating vertical points int verticalScore(std::vector<std::vector<Tile*>> board, int row, int col, Tile* tile); // Calculating horizontal points int horizontalScore(std::vector<std::vector<Tile*>> board, int row, int col, Tile* tile); }; #endif // ASSIGN2_SCORE_H

###### 4.4.4.1 Create a new commit for fixing code ##### 4.4.5 Fix the issue without checking out the code base ##### 4.4.6 Create a new commit for fixing code ##### 4.4.7 Create a pull request and merge the changes ##### 4.4.8 Pull the changes to your local repository ##### 4.4.9 Find another issue and fix it again, and repeat 4.4.6 to 4.4.8 #### 4.5 Collaboration and open source software #### 4.6 Multiversion systems #### 4.7 Revision control with GitHub #### 4.8 Summary ### 5. Version Control with Git #### 5.1 Introduction #### 5.2 Version control and Git #### 5.2.1 File history #### 5.2.2 Branching #### 5.2.3 Versioning #### 5.3 Git #### 5.3.1 Initialization #### 5.3.2 Local changes #### 5.3.3 Committing

Questions about programming?Chat with your personal AI assistant