Some additional key bindings for debugging and/or cheating:
- Use <ctrl> with <+> or <-> to crank up/down the score.
- Use <ctrl> with <e> to enable / disable "eternal" mode. No more falling down. ;-)
- - Use <ctrl> with <f> for flag-eternal mode. Lose a flag instead of falling down.
+ - Use <ctrl> with <g> for flag-eternal mode. Lose a flag instead of falling down.
- Use <ctrl> with <f> to get / get rid of a flag.
- Use <ctrl> with <b> to get / get rid of a beanie.
- Use <ctrl> with <i> enable / disable artificial intelligence playing for you.
# Copyright (C) 2018 by Peter Gerwinski <http://www.peter.gerwinski.de>,
# OTTified in about 120 minutes.
#
+# Copyright (C) 2018, 2026 by Balthasar SzczepaĆski
# edited to add arrow, AI, and a flag save mode - balthasar_s
#
# This program is Free Software: you can redistribute it and/or modify it
if pygame.key.get_mods() & KMOD_CTRL:
self.eternal = not self.eternal
self.eternalFlag = False
- elif key[K_f]:
+ elif key[K_g]:
if pygame.key.get_mods() & KMOD_CTRL:
self.eternalFlag = not self.eternalFlag
self.eternal = False