main
Inga 🏳‍🌈 5 days ago
parent 3c4d35544b
commit 0c2ef25b17
  1. 5
      src/frontend/app.ts

@ -1,10 +1,5 @@
import { computeAllSolutions } from "../shared/solver.ts";
import { rules } from "../shared/tictactoe-rules.ts";
import { initializeWebComponents } from "./components/index.ts"; import { initializeWebComponents } from "./components/index.ts";
document.addEventListener("DOMContentLoaded", function () { document.addEventListener("DOMContentLoaded", function () {
initializeWebComponents(); initializeWebComponents();
const allSolutions = computeAllSolutions(3, 3, rules);
console.log(allSolutions.size);
console.log(allSolutions);
}); });

Loading…
Cancel
Save