This situation is very common.
It is easy to lose focus while programming, performing a task that requires mental effort, or even any other activity.
Sometimes, unlike working alone, having someone else with you makes it harder to get distracted. You can also get help if, for some reason, you get stuck at any point during the development process.
For example, if you aren’t physically with anyone, you could join a shared call on Discord with other developers.
Great game!