No description
- Zig 96.8%
- Nix 3.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
The quadrant separators and dividers used to be tied to letter-labeled inputs, so a plain-digit 80-tile rendered as a bare digit grid. Tie them to the board size instead: any board with more than one quadrant gets separators and dividers, labels or not. Merge the labeled and plain renderers back into a single printState. |
||
| docs | ||
| n_tile | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| n_queens.zig | ||
| README.md | ||
Homework 01
Artificial intelligence coursework, solutions made in Zig.
Environment
Don't have Zig installed, or not sure it's the right version? Run this from the repo root and a matching toolchain drops into your shell, nothing to install by hand:
nix develop
Problems
- n-tile puzzle — sliding tiles solved with BFS, DFS, and A* (
n_tile/) - N-queens — all solutions found by backtracking (
n_queens.zig)