Day four entry.

Hello. Today I've managed to rework my code a bit and to add a game over pausing/restarting option. It would be probably better if I would do it at the beginning. And that would be it. The other ~2.5h I had  I've spend on trying to generate py2exe/cx_Freeze build. I thought it would be a good idea to make a build as early as possible to avoide possible epic failure at the end of the challange. I had multiple issues, it was terrible experience but I'm happy it's done. If someone also have problems with py2exe, I can elaborate on my solutions in comments.

Anyway, it would be better to spent this time on the actual game, but at least I will not fail uploading build on the last minute :) Cheers.

(log in to comment)

Comments

Cheers, I am waiting it :) I may have or must have problem on packaging my game, I am about to use pyinstaller, but I have no time consider it now, I am so worried I can upload my game on time. :(
@xmzhang1 I have no experience in pyinstaller, but when I started search for a building library I've read somewhere on SO that py2exe is easier to use. My issues were mostly that I was using virtualenv (I think it's better to use regular installation for this purpose, tho I haven't tried to build with virtualenv when other problems has been solved), and resource paths resolving when running build (py2exe by default will make your code be packaged in a zip file, so either you need to force it to also put your resources there (which I wasn't able to do) or change the path your resources are loaded from in the code). Thinking about it today, other problems resulted from this two.