I am in love with Git, Gaming, Machine Learning and Emacs !
Nothing here yet.
No blogs yet.
Maybe because the goal you aim is too high. Before going to work, you choose to finish the project so if you don't finish it but just 10%, obviously you will be disappointed. Choose smaller step for your session. Explode the "Finish the project" task into more atomic tasks. Planning a project task by task is mostly made for organization, but also for self-motivation. Every step you will make will give you a feeling of completeness and will give you motivation to do more, this is how our brain works. In that way, you won't have feeling of struggling anymore. Good luck, hope it helps !
Instead of trying to create a new stuff, choose a open source project with what you want learn to do and contribute to it. Being a part of a community who works on the same project boosts the motivation.
Yes, Sukant, I agree, I would use the same logic in your shoes. However, in your use case, a Player class is not needed in the first place since it has no information so the question of responsability is not even in the table. But if your player had for example life points, I think it is worth to put it in a class even if it is simpler to put a array of integer in the main class. The quotes would tell the opposite but not the separation of concerns. I totally agree with your initial statement, don't get me wrong :)
I don't think I agree with this quote. When you design your classes, you must not think about modularity but about responsability. The modularity results from that good separation of responsabilities. In your case, sure Cell and Piece is too much, because this is logic the Board is responsible for but I think Player deserves its own class because then, you will end up putting the code handling players management in a place it does not belong. And maybe "in the unknown future", you will want to make your game 2 players :) Maybe it is worth to begin a topic about this to ask what the community is thinking about it !
I hate GUI, I always choose the cli options of any software when I can. But as a Spacemacs user, Magit is the most incredible git client I ever used. I am really astonished every time I used it by its speed and its ease of use. It is a must have for any Vim or Emacs user. https://github.com/magit/magit