It’s not clear exactly what game this floor is for, but you can easily imagine a maze or some other puzzle that needs to be solved with footsteps. Light-up floors are nothing new here ...
Now, in Controller for HomeKit, you can leverage the iPhone’s LiDAR sensor to scan your entire home and create a 3D floor plan, on top of which you can overlay your lights ... I find it hard to think ...