lonczy [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=14062 Minesweeper <p> <table><tr><td> <a href="/bbs/?pid=24481#p"> <img src="/bbs/thumbs/pico24536.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=24481#p"> Minesweeper 0.1</a><br><br> by <a href="/bbs/?uid=14062"> lonczy</a> <br><br><br> <a href="/bbs/?pid=24481#p"> [Click to Play]</a> </td></tr></table> </p> <p>Updated it a bit, you still can't win (it won't detect it at this point...)<br /> but looks a bit better now.</p> <p> <table><tr><td> <a href="/bbs/?pid=24481#p"> <img src="/bbs/thumbs/pico24480.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=24481#p"> Minesweeper 0.0</a><br><br> by <a href="/bbs/?uid=14062"> lonczy</a> <br><br><br> <a href="/bbs/?pid=24481#p"> [Click to Play]</a> </td></tr></table> </p> <p>Hi there, i was playing around with pico8, and just wanted to post this code,<br /> i'll update it in the next few days.</p> <p>all data is stored in the map itself, with pre-calculated surrounding bomb counts.</p> <p>the current version has everything shown on the field, i'll remove those in the next &quot;version&quot;</p> <p>posting this just to give an idea how one (newbie ofc) could use the map to store additional data/game state.</p> <p>i'll do some code cleanup and new sprites later.</p> https://www.lexaloffle.com/bbs/?tid=3764 https://www.lexaloffle.com/bbs/?tid=3764 Sun, 03 Jul 2016 19:03:28 UTC