Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.43 KB

README.md

File metadata and controls

50 lines (35 loc) · 1.43 KB

pewpew-lightsout

pewmulator lightsout

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.

Important note when using VS Code for developing

IntelliSense and Jedi only working partially probably because of pygame import handling. See:

Play in pewmulator

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

Logging in pewmulator

import logging
logging.basicConfig(format='%(asctime)s - %(message)s', level=logging.DEBUG)
logging.debug("x: %s",x)
logging.debug("y: %s",y)