Separate game logic on the server in Node.js​

How to make code easier to work with? DON’T WRITE IT IN ONE FILE!

And that is exactly what we are going to do here. It will be the last part of the Server-Side WebSocket series.

If you missed previous ones, you can go back to preparing the local environment or writing base for our server.

In this post, we will create a new script responsible for the game part of the server.

Continue reading “Separate game logic on the server in Node.js​”

Why do we want to be productive?

Working remotely or having a home office presents a set of challenges that you won’t encounter working in a regular office.

Sometimes I’m growing sick of it, but it also has cool benefits, and you don’t have to waste your precious time in traffic jams. ?

But there is one massive problem with that… You can get easily distracted from your work and quickly start procrastinating… Believe me, I’ve been there, done that… ?

So how am I dealing with it?

Continue reading “Why do we want to be productive?”