ncw [Lexaloffle Blog Feed] oxo3d 1.0 - 3d noughts and crosses / tic-tac-toe <p> <table><tr><td> <a href="/bbs/?pid=71714#p"> <img src="/bbs/thumbs/pico8_oxo3d-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=71714#p"> oxo3d 1.0 - 3d noughts and crosses / tic-tac-toe</a><br><br> by <a href="/bbs/?uid=41806"> ncw</a> <br><br><br> <a href="/bbs/?pid=71714#p"> [Click to Play]</a> </td></tr></table> </p> <h1>oxo3d - 3d noughts and crosses / tic-tac-toe</h1> <p>Oxo 3D is a 3 dimensional (4x4x4) noughts-and-crosses / tic-tac-toe game for pico-8. This is a game with considerably more strategy than the traditional 3x3 version.</p> <h2>Quick start</h2> <p>You're O and you have to get 4 in a row. The board is a cube viewed in slices. Imagine the 4 slices piled on top of each other.</p> <p>Use the arrow keys to move the highlight and press Z to place a piece.</p> <p>Use X to view the cube in different orientations.</p> <p>Use Enter to view the menu to change level.</p> <p>Watch out for tricky diagonal lines!</p> <p>Good luck!</p> <h2>How to play 3D Noughts-and-Crosses</h2> <p>Each group of 4x4 positions represents one plane on the cube.</p> <p>On each layer there are 10 possible winning lines, 4 horizontal, 4 vertical and two diagonal.</p> <p>However lines may run from layer to layer also.</p> <p>There are 76 lines in total possible, these are 4x4 = north-south lines, 16 east-west lines, 16 vertical lines, 2x4x3 = 24 diagonal lines from one edge to another, and 4 diagonal lines from corner to corner.</p> <h2>Levels</h2> <p>There are 3 carefully graduated levels which you change with the cartridge menu (Enter).</p> <ul> <li>Easy</li> <li>Medium</li> <li>Hard</li> </ul> <p>The levels get increasingly hard. Easy and Medium use the same simple heuristic player, but Easy makes random mistakes. Hard uses a two level lookahead player - watch out is is very sneaky.</p> <h2>History</h2> <ul> <li>Written in ZX81 BASIC (1983)</li> <li>Converted to QL BASIC(1985)</li> <li>Converted to BBC Basic (1985)</li> <li>Converted to Psion 3a OPL (1994)</li> <li>Converted to C (1996)</li> <li>Converted to Perl (2000)</li> <li>Converted to Python (2004)</li> <li>Converted to LUA and pico-8 (2019)</li> </ul> <p>I used to play this game with my father when I was a boy. We always used to play on squared paper while sitting round the kitchen table. When I was old enough (and the home computer had been invented) this inspired me to write a computer player for the game.</p> <p>The very first version of this game was written in 1983 on a Sinclair ZX81 in BASIC. It used to take 60 seconds to think of a move, and it used to beat the author nearly all of the time.</p> <p>This pico-8 version is a pretty faithful port of the original ZX81 game though I think the original program only had the equivalent of Medium difficulty.</p> <p>I wrote this as a first step towards getting my son interested in pico-8 programming - I thought I'd better learn how first!</p> Thu, 02 Jan 2020 21:16:45 UTC