Skip to content

Commit

Permalink
Limit the initial blocks to only 5 different colors to prepare for an…
Browse files Browse the repository at this point in the history
… easy-mode
  • Loading branch information
sago007 committed Mar 25, 2024
1 parent 5d5a5e9 commit 421e71e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions source/code/BlockGame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -510,14 +510,14 @@ void BlockGame::putStartBlocks(int n) {
board[2][0]=4;
board[3][0]=3;
board[4][0]=3;
board[5][0]=5;
board[5][0]=4;
//row 1:
board[0][1]=1;
board[1][1]=4;
board[2][1]=2;
board[3][1]=0;
board[4][1]=4;
board[5][1]=5;
board[5][1]=4;
//row 2:
board[0][2]=2;
board[1][2]=3;
Expand All @@ -541,25 +541,25 @@ void BlockGame::putStartBlocks(int n) {
board[5][4]=0;
//row 5:
board[0][5]=-1;
board[1][5]=5;
board[2][5]=5;
board[1][5]=4;
board[2][5]=4;
board[3][5]=-1;
board[4][5]=1;
board[5][5]=-1;
break;
case 1:
//row 0:
board[0][0]=3;
board[1][0]=5;
board[1][0]=1;
board[2][0]=0;
board[3][0]=0;
board[4][0]=4;
board[5][0]=2;
//row 1:
board[0][1]=3;
board[1][1]=5;
board[1][1]=1;
board[2][1]=-1;
board[3][1]=5;
board[3][1]=1;
board[4][1]=4;
board[5][1]=2;
//row 2:
Expand All @@ -580,10 +580,10 @@ void BlockGame::putStartBlocks(int n) {
board[2][0]=2;
board[3][0]=0;
board[4][0]=1;
board[5][0]=5;
board[5][0]=3;
//row 1:
board[0][1]=4;
board[1][1]=5;
board[1][1]=3;
board[2][1]=2;
board[3][1]=1;
board[4][1]=0;
Expand All @@ -594,7 +594,7 @@ void BlockGame::putStartBlocks(int n) {
board[2][2]=-1;
board[3][2]=0;
board[4][2]=1;
board[5][2]=5;
board[5][2]=3;
//row 3:
board[0][3]=4;
board[1][3]=2;
Expand Down

0 comments on commit 421e71e

Please sign in to comment.