java期末作业
在基本的贪吃蛇小游戏的基础上,增加了寻路算法 之前已经写过一次python版本的贪吃蛇寻路算法,但是因为刚接触python不久,代码风格奇差..所以效果也不强 这次用java重写,效果还可以,基本可以吃到满屏,当然还存在一点小bug
基本构想如下: 在能吃到食物的情况下以最短路径去吃 模拟吃到食物后计算还能否找到尾巴,若能找到尾巴则直接去吃,若找不到,则继续追尾巴 在不能吃到食物的情况下以最长路径去追尾巴
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.