Hide temptation ("get thee behind me Satan!") for things which produce immediate outcomes.
I find that looking at a calendar motivates me to see the big picture and move towards deadlines. Check your calendar frequently.
Talking about what you need to do to get your deferred rewards tends to make it more "salient". Talk about it. You think about what you talk about.
Remove distractions. Sell your games. Disable accounts on systems which distract you. Turn off your phone. Break up with your demanding girl friend, and favor your less demanding friends.
Set strict time limits for fun and stick to them. If you have trouble with that, move your fun until after your work. If you have trouble with that quit your fun.