短评 · ·

X 归档 2020-02-25

1 条动态 · 图 1 · 视频 0
The maze starts at `S`, the goal is to reach `E`, and `#`s are obstacles.

The maze solver shows the shortest path and it's implemented with @TypeScript's type system 😄

I added comments explaining how it works: https://github.com/ronami/meta-typing.
迷宫从 `S` 开始,目标是到达 `E`,`#` 是障碍物。

这个迷宫求解器会显示最短路径,而它是用 @TypeScript 的类型系统实现的 😄

我加了注释解释它的原理:。
@ronenamiel 的配图 1/1