Created
April 10, 2021 06:25
-
-
Save theDreamer911/a78978f8fa6256ac7a2e0bf4bc8a7b01 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const getPositions = (s) => [Math.floor(s % 3), Math.floor(s / 3) % 3, Math.floor(s / 9) % 3]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment