This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Mostly-working pyinstaller hack to get a PyGame zero executable | |
| All data files included, and --onefile will compress everything down to ~15MB | |
| Note that Pyinstaller moves everything to an internal directory, sys._MEIPASS, | |
| and runs from that, so we have to explicitly use that path when loading the | |
| game file. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| Project naming scheme (roughly; funny trumps the rules): | |
| <weird/funny animal> + <word which should be rude but isn't> | |
| Useful if management / fellow developers are taking themselves too seriously.""" | |
| import random | |
| directive = """ENGAGE COMMENCE EXECUTE DEPLOY BEGIN ACTIVATE INITIATE SECURE UNDERTAKE LAUNCH """.split() |
OlderNewer