Everyone needs to struggle. While I do it for fun. I feel tire when I stay at home on leave days. I cannot do any other job except coding because I was no habit of washing plates in my childhood.
I feel tire when I think why I can't wash my hands with the boiled water.
If you ever feel tiresome while coding then you just need to split them into blowing pieces of creative thinking. Tiresome split into chunks of joy when you wash your face and even if this doesn't work then you can do a little break with toothbrush playing around the teeth. Have a coffee! Thereafter, you'll begin to dance with the code.
Ah, I can't find a solution though. Stay attached with some fresh youtube kits. Come back at your seat just after 30 minutes. You'll find some gOOgle on your eye. Step forward looking until you achieve the completeness. Don't do anything at that time. Just do coding!