UNPKG

battleship-search

Version:

maximize an n-dimensional landscape using the battleship search algorithm

18 lines (17 loc) 308 B
<html> <style> #viewer { border: 1px solid red; width: 410px; height: 410px; } </style> <body> <div> <button id="next">next</button> <span id="max">-Infinity</span> </div> <div id="viewer"></div> <script src="bundle.js"></script> </body> </html>