涵曦的博客
Home Page:https://blog.hanxi.cc
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
hanxi opened this issue 3 years ago · comments
主要逻辑很简单,总共上下左右四个操作。数据结构就是一个2维的数组。 具体实现看代码就ok了。打印这个2维数组格式化对齐有点乱。
https://gist.github.com/hanxi/11360794.js