1. Ships images
  2. the grid
  3. squares.js
  4. placing one ship
  5. rows, columns and ids, rc2id
  6. set_a, seed
  7. get_a
  8. hor4, ver4
  9. hor_clash_check(r0,c0), break
  10. hor_clash_check(r0,c0,n)
  11. ver_clash_check(r0,c0,n), hor(n)
  12. seed
  13. the row counters
  14. count and right classes
  1. the column counters
  2. do_counters()
  3. adding the shapes
  4. shapes(),
  5. square_clicked(image)
  6. counter_clicked(el)
  7. fill(row,col), substring
  8. showing progress
  9. ships.js
  10. set_a_sn(row,col,a,sn)
  11. final seed()
  12. globals.js
  13. check()
  14. g_ships & g_misses added