1 Prim Tic-Tac-Toe

October 1, 2008


I was playing around with ideas this past weekend contiplating what the bare minimum was to make a game of tic-tac-toe. I came up with an image to represent all 27 different posabilities in an individual row composing of just 27 characters of x/o/space. (xxxo-ooox-xoo—o-xx–x-oxo). I proceeded to map map the image in Second Life and then detect touch events to determine what face and position was touched. The end-result was a game of Tic-Tac-Toe with one clipped 512×32 image representing each row. The code is pretty light-weight as well with just 169 lines of LSL.
posted by Dedric Mauriac on Woodbridge using a blogHUD : [blogHUD permalink]


%d bloggers like this: