Console

Previous Next

WARNING: this feature is very powerful. It does not include safeguards.


To access the developer console, press Ctrl+~ (that is, Ctrl+Shift+`). This will open a window with a text editor where you can write and execute Python code. You will have access to the Chess data structure.


The window opens with default text that provides a brief explanation of the console, a Python class to emulate mouse events with a usage example, and execution instructions.


To run the entire code block in the console, do one of the following:


Click the Run button

Press F8

Press Ctrl+\


To run a selected code segment, highlight the text you wish to execute then do one of the following:


Right-click in the text field

Press Ctrl+F8

Press Ctrl+| (Ctrl+Shift+\)


CAUTION: this feature allows you to execute Python code of your choice and/or creation. It is your responsibility to use the console properly and safely. If you are unable to do so, do not use it at all.