Instructions

Graph Editing

Graph Properties & Sage Cell

Playing Mode

Graph Theory, the Lights-Out Puzzle, and Beginner Navigation

When you first open the Lights-Out Puzzle on Graphs page, you will see a blank canvas in the center of the screen. This canvas is where your graph will be created and displayed. On the left side of the screen there is a flashing button that opens the editing menu, and along the bottom of the page are additional navigation options that led you to this guide.

The left editing menu contains several tools for creating and customizing graphs. From this menu you can generate common and abstract graph structures, edit vertex connections, select group types for playing, and save your creations as playable Lights-Out puzzles. In addition, the central canvas can be clicked to create new vertices and connect/disconnect existing ones. The editing mode is designed to make building graphs simple and interactive, allowing you to experiment freely and immediately see the results of your changes.

If you are unfamiliar with graph theory, the structures you create here may initially look unusual. In mathematics, graph theory studies networks of connections. A graph is made up of vertices (points) and edges (lines connecting those points). Despite this simple definition, graphs can represent a huge variety of systems: social networks, transportation routes, electrical circuits, computer networks, and many other connected structures.

The goal of this website is to combine these mathematical ideas with the classic Lights-Out puzzle. Instead of a fixed grid, puzzles are played on graphs of any shape. Clicking a vertex toggles its state along with the vertices connected to it, and the challenge is to determine a sequence of moves that turns all vertices off/on. Different graph structures lead to different puzzle behaviors, which makes experimenting with graphs both visually interesting and mathematically meaningful.

Exploring the editing mode is a great way to become familiar with these concepts. By building graphs yourself, you can see how different patterns of connections affect the puzzle mechanics and learn how mathematicians classify different types of graphs.

For example, the graph shown above is called a Cycle Graph on 7 vertices. In a cycle graph, each vertex connects to exactly two others, forming a closed loop. Many other common graph families exist, and several of them can be generated directly from the editing menu.

The remaining sections of these instructions will walk through the editing tools in more detail. They will show you how to generate more common graph type, modify their structure, and ultimately design your own Lights-Out puzzles while exploring the ideas of graph theory along the way.