Re: Ported a Python game to Nim

2020-01-17 Thread Jjp137
Aren't Nimble packages supposed to be libraries and other tools, such as nimterop's toast binary, that help people create code? I don't think it makes sense for a game to be in someone's ~/.nimble/bin (or equivalent), and I don't expect anyone to use this project as a library. Installing a game

Re: Ported a Python game to Nim

2020-01-16 Thread Jjp137
Ah, right. The version of nimgame2 you currently have is either not from the devel branch, or it was from the devel branch but is now too old. Just run `nimble install nimgame2@#devel` to fix that. You'll also need to update sdl2_nim or else you'll run into [this

Re: Ported a Python game to Nim

2020-01-16 Thread Jjp137
That's odd. Can you revert any changes you made and show me the compiler errors? Also, what version of the Nim compiler are you using? I tried compiling it in a Linux VM that initially didn't have Nim 1.0.4 in it and it was successful, so the error message will be very helpful in figuring out

Ported a Python game to Nim

2020-01-14 Thread Jjp137
untested due to lack of time back then, and it is probably ridiculous and unfair, but you can attempt to beat it if you want. Anyway, the source code of the game is here: [https://bitbucket.org/Jjp137/last-gardener](https://bitbucket.org/Jjp137/last-gardener) Linux 64-bit builds are here: [https