Releases: MeowCata/microbit-Snake
Releases · MeowCata/microbit-Snake
v1.5
Super Update:
- removed scoreAni function since the variable name is always changed during conversion from Block and Javascript
- optimized some variable names
- scores are added one each time the snake eats food, not add random 0 or 1
- fixed a bug that ReplayMod could not record and show the snake's full path IN PREVIOUS VERSIONS (strongly recommend using this version)
- minimized flickers
and, one more thing...
这个项目是用于参赛的,但是我提交的参赛代码却是v1.3中的代码,那时还有很多bug没有修,也算是遗憾吧,v1.3后续更新的代码参不了赛了,全凭热爱更新
哦对了,说明文档现在放在了illustration.md文件中哦(怪不得以前MakeCode老是打不开这个项目,原来是README.md影响了它读取)
前面的Release写的真是不好评价,以后更新一定会注重格式
BTW,仓库名没变,但是在pxt.json文件中,我更改了项目名,从SnakeXP到SnakePro,注意一下就行
v1.4
v1.3-Stable
includes all functions in v1.2
this may be the last release...
and it's stable, so this version is recommended
i used JavaScript to code in this version(actually TypeScript)
stopping function works really strange, so removed
v1.2-Dev
developers-friendly! :D
updates:
- Encapsulate AI into a function
- Press
Btn-Ato continue angle-adjusting - Enable shield after respawning (bug fixed)
- Removed "Hold
Btn-A to adjust angle" and in this version, holdBtn-Ato stop
and pressBtn-Bin this version, the data(SnakeX,Y; FoodX,Y; scores; shieldEnabled; angle; remaining lives) will send to serial, that means you can see them in your conputer!
Better than debug mode in the simulator!