Learn how to program a Tetris game in C# using WPF.
Download the assets here:
GitHub Repository:
In this video you will learn how to write a Tetris game in C# without any game engine. This video is a step-by-step guide, and contains everything you need to know to write a Tetris game. You will learn about the representation of the game grid and the blocks from animations and code. The code is written in C#, but the ideas and design of the game can also be used in other programming languages like Java and C . Have fun learning about game development in C#!
Chapters
0:00 - Introduction
0:11 - Project Setup
0:45 - Game Grid Representation
2:00 - Writing a GameGrid class
4:13 - Clearing Rows
6:22 - The 7 Blocks
6:32 - Block Rotation
7:55 - Block Movement
8:34 - Adding a Position class
8:57 - Writing a Block class
10:58 - The IBlock
11:56 - The OBlock
12:33 -
1 view
888
176
2 weeks ago 00:02:01 1
Mission: Impossible – The Final Reckoning | Teaser Trailer (2025 Movie) - Tom Cruise
2 weeks ago 00:03:02 1
SPX Options Trading : Strategies for Big Gains!
3 weeks ago 00:40:25 1
40MIN Unilateral Leg Strength - Lower Body Workout
3 weeks ago 00:19:01 1
WHOLE Restaurant Got CRAZY Hearing Me Speaking Fluent Chinese, Korean, and Russian
3 weeks ago 00:03:37 1
Dangerous | EPIC: The Musical Animatic
3 weeks ago 00:00:19 1
Сомелье #Медведев @zapovednik
3 weeks ago 00:25:43 1
Low Impact CARDIO (No Jumping, No Equipment Workout)
4 weeks ago 00:13:25 41
Смертельный трафик-стоп: история гибели офицера NMSP Дэриана Джерротта
4 weeks ago 00:44:35 1
40MIN Total Body Strength Training (Dumbbell Workout At Home)
4 weeks ago 00:10:54 1
Interstellar | Hans Zimmer’s Universe
4 weeks ago 01:23:58 1
Symbols of an Alien Sky, Episode 2: The Lightning-Scarred Planet Mars
4 weeks ago 01:18:26 1
Symbols of an Alien Sky (Full Documentary)
1 month ago 00:59:39 13
Проспер Мериме. Литератор, мистификатор, сенатор. Литературный подкаст “Закладка“. Выпуск 6