nahbaste

means nahuel basterretche, creative technologist

3D Tic-Tac-Toe

February 2020

ThreeJS - 3D library for the web

We all love tic-tac-toe. But I think we can all agree it needs to scale in complexity to be a more replayable game. So, with that premise in mind, I expanded the core gameplay of the game into a 3D version.
After developing my website, I got hooked on ThreeJS. I really liked how powerful it is, I wanted to try and do something more, so I came up with this game. The original idea came from a post on Vitalik Buterin’s blog about weird games. In that post the canvas is 4x4x4. But I thought the concept could be expanded, so I added a size picker. You can have up to 9x9x9!

Achieving the outlines on the cubes was a particular challenge, since ThreeJS does not have that built in. Nothing a custom material and a little GLSL couldn’t fix, though 😉.

It was super fun to develop, and learned so much in the process. As with my spirit object, this is not still hosted. But will be again soon™.
nahuels logo

©2024 Nahuel Basterretche