Very simple implementation of the Lights Out game for PewPew 10.2 in Python.
The goal of the puzzle is to switch all the lights off, preferably in as few
button presses (use button X
) as possible.
IntelliSense and Jedi only working partially probably because of pygame import handling. See:
pewmulator is an emulator for running PewPew games on desktop computers.
Just put pew.py
from https://github.com/pewpew-game/pew-pygame next to
lightsout.py and then run:
python3 lightsout.py
import logging
logging.basicConfig(format='%(asctime)s - %(message)s', level=logging.DEBUG)
logging.debug("x: %s",x)
logging.debug("y: %s",y)