Make sure your core loop is done and tested by the half way point.
The 2nd half should ideally be used to deal with polish, effects, music and testing.
This approach can guarantee you don't have to struggle or rush at the last second