This example shows how you can use py-terminal and the standard print() to display debug messages which logs what's happening in your app.

Graphics and style freely inspired by this Tic-tac-toe in JavaScript

Tic-Tac-Toe

Made on pyscript.com │ View Code