This source code repo contains a SpriteKit demo that takes player input with the mouse or touchpad and predicts a number from the drawn line.
The upcoming Indexing Your Heart game may include a puzzle system that requires the player to draw a line to solve the puzzle, similar to Taiji and The Witness. Ideally, the system for validating a drawing will use a machine learning model with Core ML.
Required Tools
- Xcode 14 or later
- macOS 12.3 Monterey or later
Clone the repository using git clone
or gh repo clone
, then open
the PaintbrushTest.xcodeproj file. Select Product > Run to run the
demo.
This demo project is licensed under the Cooperative Non-Violent Public License, v7 or later. You can learn more about what your rights are by reading the LICENSE.md file in full.