Skip to content

Commit

Permalink
game over screen and synch to web and clearedLines bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacharyPatten committed Oct 31, 2023
1 parent c5ba97d commit c974ec1
Show file tree
Hide file tree
Showing 3 changed files with 524 additions and 451 deletions.
6 changes: 3 additions & 3 deletions Projects/Tetris/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ [Enter] start game

Final Score: {score}

Press enter to play again
Press escape to close the game
[Enter] return to menu
[Escape] close game
""");
Console.CursorVisible = false;
bool gameOverScreen = true;
Expand Down Expand Up @@ -672,7 +672,7 @@ void TetrominoFall()
clearedLines /= 2;
if (clearedLines > 0)
{
int value = clearedLines /= 2 switch
int value = clearedLines switch
{
1 => 1,
2 => 3,
Expand Down
Loading

0 comments on commit c974ec1

Please sign in to comment.