Skip to content

VsIG-official/ConsoleGameCSharp

Repository files navigation

Tetris Game

VsIG

Table of Contents

Description

Hi, My dear Friend! In this repo You'll see console tetris game! Why tetris? Well, I decided to make a tetris because I love tetris! And there will be other figures in it. In this project I use C# and Visual Studio. Hope You will enjoy!

Badges

I use codacy to check My code quality, but also ignore some issues like "Use spaces instead of tabs". And sometimes "Console.WriteLine()" or/and lines in README are an issues for Codacy so I ignore these problems too and etc:

Code Quality Language Theme License


Requirements

Target Framework: .NET Framework 4.7.2


Example

public void MoveRight(ref char[][] tetrisGrid, char shapes, char freeSpace)
		{
			for (int i = 0; i < matrixWidth; i++)
			{
				for (int j = matrixHeight - 1; j >= 0; j--)
				{
					if (tetrisGrid[i][j] == shapes && tetrisGrid[i][j + 1] == freeSpace)
					{
						char tempMatrix = tetrisGrid[i][j];
						tetrisGrid[i][j] = tetrisGrid[i][j + 1];
						tetrisGrid[i][j + 1] = tempMatrix;
					}
				}
			}
		}

And game:

VsIG


Contributing

To get started...

Step 1

  • Fork this repo! 🍴

Step 2

  • HACK AWAY! 🔨🔨🔨

License

License

About

My Console Game "Tetris"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages