资源说明:Awesome tetris game in javascript
Working on this during lunch breaks, originally on jsfiddle.net: http://jsfiddle.net/jdbevan/v4cux/207/ Minified using Google Closure Compiler: http://closure-compiler.appspot.com/home Dependent on jQuery (for now) // DONE: Setup git at work in Cygwin // TODO: detect multiple pressing of z and increase speed more // TODO: remove jQuery dependency // TODO: new line at top is different colour - ie different level // TODO: pause/restart buttons // TODO: tidy up more - jslint // TODO: bonus points for majority color rows? // TODO: more pieces // TODO: drop next piece before current stops... update activePiece later // TODO: options input // TODO: AI: pieces change, behaviour watching (if you win rows using one piece, dont give that piece, if you use Z a lot then speed up a lot, randomly speed up and slow down, drop pieces every now and again, pieces moving up, ) // TODO: global score board // TODO: encouraging hits/feedback // TODO: multiplayer tetris: pieces (or string of piece id's) served by server, not client, and scores displayed between the two players // TODO: gameplay statistics
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。