源码介绍
用Java一步一步实现俄罗斯方块游戏,一共分七步:1图形的实现、2旋转的实现、3不闪烁的实现、4不出范围的实现、5自动下沉的实现、6固定图形的实现、7消除满行的实现;是一个俄罗斯方块游戏的详解教程,再配上源码,是个很不错的练习学习资料。
(1 folders, 2 files, 1.38 KB, 327.12 KB in total.)
源码
(1 folders, 2 files, 1.38 KB, 325.73 KB in total.)
Java逐步实现俄罗斯方
(9 folders, 2 files, 1.38 KB, 324.35 KB in total.)
1图形的实现
(1 folders, 2 files, 1.38 KB, 26.71 KB in total.)
Game
(1 folders, 13 files, 20.68 KB, 25.32 KB in total.)
Ding.java 1.10 KB
Game.java 769 bytes
Game.jcd 6.54 KB
Game.jcp 1.01 KB
Game.jcu 874 bytes
Game.jcw 247 bytes
Game2.jcd 6.54 KB
Game2.jcu 292 bytes
Game2.jcw 248 bytes
SquareShape.java 1.41 KB
src_game.txt 320 bytes
classes
(0 folders, 6 files, 4.64 KB, 4.64 KB in total.)
Ding.class 983 bytes
Game.class 950 bytes
Game.htm 168 bytes
SquareShape.class 1.21 KB
2旋转的实现
(1 folders, 2 files, 1.38 KB, 28.82 KB in total.)
Game
(1 folders, 13 files, 21.23 KB, 27.43 KB in total.)
Ding.java 1.06 KB
Game.java 1.34 KB
Game.jcd 6.65 KB
Game.jcp 1.01 KB
Game.jcu 874 bytes
Game.jcw 247 bytes
Game2.jcd 6.47 KB
Game2.jcu 292 bytes
Game2.jcw 248 bytes
SquareShape.java 1.37 KB
src_game.txt 320 bytes
classes
(0 folders, 7 files, 6.20 KB, 6.20 KB in total.)
Ding.class 983 bytes
Game$GameKeyLister.class 0.99 KB
Game.class 1.49 KB
Game.htm 168 bytes
SquareShape.class 1.21 KB
3不闪烁的实现
(1 folders, 2 files, 1.38 KB, 29.33 KB in total.)
Game
(1 folders, 12 files, 21.59 KB, 27.95 KB in total.)
Ding.java 1.10 KB
Game.java 1.44 KB
Game.jcd 6.90 KB
Game.jcp 1.02 KB
Game.jcu 875 bytes
Game.jcw 247 bytes
Game2.jcd 6.72 KB
Game2.jcu 292 bytes
Game2.jcw 248 bytes
SquareShape.java 1.41 KB
classes
(0 folders, 7 files, 6.35 KB, 6.35 KB in total.)
Ding.class 983 bytes
Game$GameKeyLister.class 0.99 KB
Game.class 1.64 KB
Game.htm 168 bytes
SquareShape.class 1.21 KB
4不出范围的实现
(1 folders, 2 files, 1.38 KB, 25.54 KB in total.)
Game
(1 folders, 12 files, 16.71 KB, 24.15 KB in total.)
Ding.java 1.06 KB
Game.java 2.08 KB
Game.jcd 7.61 KB
Game.jcp 1.03 KB
Game.jcu 875 bytes
Game.jcw 247 bytes
Game2.jcd 2 bytes
Game2.jcu 27 bytes
Game2.jcw 163 bytes
SquareShape.java 2.27 KB
classes
(0 folders, 7 files, 7.44 KB, 7.44 KB in total.)
Ding.class 983 bytes
Game$GameKeyLister.class 1.44 KB
Game.class 1.71 KB
Game.htm 168 bytes
SquareShape.class 1.78 KB
5自动下沉的实现
(1 folders, 2 files, 1.38 KB, 36.78 KB in total.)
Game
(1 folders, 12 files, 26.36 KB, 35.39 KB in total.)
Ding.java 1.10 KB
Game.java 2.85 KB
Game.jcd 8.16 KB
Game.jcp 1.02 KB
Game.jcu 875 bytes
Game.jcw 247 bytes
Game2.jcd 7.96 KB
Game2.jcu 292 bytes
Game2.jcw 248 bytes
SquareShape.java 2.27 KB
classes
(0 folders, 8 files, 9.03 KB, 9.03 KB in total.)
Ding.class 983 bytes
Game$1.class 552 bytes
Game$GameKeyLister.class 1.44 KB
Game.class 2.76 KB
Game.htm 168 bytes
SquareShape.class 1.78 KB
6固定图形的实现
(1 folders, 2 files, 1.38 KB, 33.50 KB in total.)
Game
(1 folders, 9 files, 21.45 KB, 32.12 KB in total.)
Ding.java 1.06 KB
Game.java 4.40 KB
Game.jcd 9.55 KB
Game.jcp 1.05 KB
Game.jcu 874 bytes
Game.jcw 247 bytes
SquareShape.java 2.91 KB
classes
(0 folders, 8 files, 10.67 KB, 10.67 KB in total.)
Ding.class 983 bytes
Game$1.class 552 bytes
Game$GameKeyLister.class 1.71 KB
Game.class 3.73 KB
Game.htm 168 bytes
SquareShape.class 2.18 KB
7消除满行的实现
(1 folders, 2 files, 1.38 KB, 35.22 KB in total.)
Game
(1 folders, 9 files, 22.39 KB, 33.84 KB in total.)
Ding.java 1.06 KB
Game.java 5.42 KB
Game.jcd 10.08 KB
Game.jcp 1.01 KB
Game.jcu 292 bytes
Game.jcw 247 bytes
SquareShape.java 2.91 KB
classes
(0 folders, 8 files, 11.45 KB, 11.45 KB in total.)
Ding.class 983 bytes
Game$1.class 588 bytes
Game$GameKeyLister.class 1.71 KB
Game.class 4.47 KB
Game.htm 168 bytes
SquareShape.class 2.18 KB
classes
(0 folders, 12 files, 18.19 KB, 18.19 KB in total.)
Bar.class 776 bytes
Ding.class 0.99 KB
LeftL.class 0.99 KB
ObverseZ.class 929 bytes
RightL.class 1.00 KB
Square.class 791 bytes
SquareApplet.class 7.96 KB
SquareApplet.htm 176 bytes
SquareShape.class 2.37 KB
TurnZ.class 907 bytes
SquareApplet
(1 folders, 19 files, 69.63 KB, 88.88 KB in total.)
Bar.java 788 bytes
Ding.java 1.13 KB
LeftL.java 1.07 KB
ObverseZ.java 964 bytes
RightL.java 1.11 KB
Square.java 787 bytes
SquareApplet.java 9.02 KB
SquareApplet.jcd 22.33 KB
SquareApplet.jcp 1.58 KB
SquareApplet.jcu 632 bytes
SquareApplet.jcw 271 bytes
SquareApplet2.jcd 23.34 KB
SquareApplet2.jcu 308 bytes
SquareApplet2.jcw 272 bytes
SquareShape.java 3.11 KB
src_squareapplet.txt 682 bytes
TurnZ.java 995 bytes
classes
(0 folders, 12 files, 19.25 KB, 19.25 KB in total.)
Bar.class 822 bytes
Ding.class 1.06 KB
LeftL.class 1.07 KB
ObverseZ.class 989 bytes
RightL.class 1.07 KB
Square.class 829 bytes
SquareApplet.class 8.44 KB
SquareApplet.htm 176 bytes
SquareShape.class 2.52 KB
TurnZ.class 979 bytes