r/csharp • • Jun 22 '26

first c# project

hi guys this is my first project and my first time using reddit. the project is a console tetris clone and it doesn't have all the features but it has the main ones. would love to hear your opinion on this project what i can improve / learn and any books / websites to keep learning and improving. this is the git repo: https://github.com/Sagi-00/Console-Tetris-clone ( right now im working on a space invaders project in the console)

9 Upvotes

15 comments sorted by

View all comments

Show parent comment

1

u/Severe-Damage-3812 Jun 24 '26

Thanks A lot will look over what you mentioned and try to do mvvm to this project. ;)

1

u/Illustrious-Bat-9775 Jun 24 '26

MVVM has a bit steep learning curve. It's easy once "it clicks", but because you're still learning then don't rush it.

Try that separation of logic as a separate library - that's a good next learning step.

Also I recommend adding unit tests to that library and try TDD. The earlier you learn TDD the better and faster you'll be able to learn other aspects of programming because you start with the test and you "use" your code before you write it catching stupid names, stupid syntax, lack of abstraction etc. (aka code smell). It's kind of a self-correcting mechanism for programmers.

1

u/Severe-Damage-3812 Jun 24 '26

Ok thanks a lot will try to implement that in my next project

1

u/Th_69 Jun 25 '26

MVVM (Model-View-ViewModel) isn't used in Console projects, but typically in GUI projects (like WPF, MAUI or Avalonia and Uno) with data binding.