Skip to content

Android实现经典【俄罗斯方块】(Tetris)游戏

License

Notifications You must be signed in to change notification settings

luweibin3118/AndroidTetris

Repository files navigation

AndroidTetris

Android实现俄罗斯方块(Tetris)游戏,退出游戏时可自动保存当前状态

To get a Git project into your build:

Step 1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

Step 2. Add the dependency

dependencies {
        compile 'com.github.luweibin3118:AndroidTetris:v1.0.6'
}

Step 3. Add TetrisView in your layout xml

<com.lwb.tetrislib.TetrisView
    android:layout_width="match_parent"
    android:layout_height="match_parent" />

image

About

Android实现经典【俄罗斯方块】(Tetris)游戏

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages