- +增加游戏难度,选择更多分割的拼图
- -减小游戏难度,选择更少分割的拼图
- start 开始游戏
进入游戏之后选择相应的难度点击start开始游戏,之后拼图随机打乱,将拼图拼回元素就算胜利。最低4x4拼图,最高8x8拼图,默认4x4的拼图。
由于需要动态生成不同规格的拼图,使用了js来修改背景图片的位置和每一个div的left和top。此处可能算是入侵式代码,指教符合规格且不用去增添几十个类的方法
- 删除了liveroader在js中的代码
- 2015.11.22 完成v1.0
A FTP-Proxy with speed controller using token bucket algorithm, (Final project of Introduction to Computer Network, NTHU)
当下载速度相对于封包来说比较大,即封包的大小相对于下载速度来说算是比较大的时候就会出现当filezilla client的进度篮还显示在下载的时候,调试信息已经输出平均速度。
下列以100kb/s的限制速度下载一个1MB的封包就出现了这个问题。
分析:主要原因在FTP的下载数据通路和命令的数据通路是分开的,应该是在proxy已经接受完毕server所传的数据,server发送传送完毕的226FTP信息。而此时数据还没有从proxy传完回client。使得当下载速度相对封包来说比较大的时候,误差会很明显。误差的值基本就取决于proxy接受server封包的window size
这个问题非常的tricky,如果window size调的太小,又会出现文件传不动的情况。TCP速度下降太多,使速度不可调。
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.