• Stars
    star
    661
  • Rank 68,192 (Top 2 %)
  • Language
    Kotlin
  • License
    MIT License
  • Created over 3 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🧱 A tetris game fully built using Jetpack Compose

Compose Tetris

English | 中文介绍

📜 Description

A tetris game fully built using Jetpack Compose, almost all UI elements are created by code, including the following app icon, which is also generated by Composable with @Preview.

  • MVI architecture
  • Simulate appearance of LCD screen
  • Game sound and clock
  • Inspired by react-tetris

Download latest APK here

Game Rules:

  • 100 points for 1 line, 300 points for 2 lines, 700 points for 3 lines, 1500 points for 4 lines;
  • The drop speed of the box increases with the number of rows eliminated (one level for every 20 lines);

🔩 MVI Architecture:


📸 Screenshots

License

MIT License

Copyright (c) 2021 fundroid

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

More Repositories

1

fragivity

Use Fragment like Activity
Kotlin
298
star
2

ugame

Android自定义View高仿抖音潜艇大挑战小游戏
Kotlin
147
star
3

compose-weather

CuteWeather is a beautiful weather app build in Jetpack Compose
Kotlin
100
star
4

CountdownTimer

Countdown timer app built in Jetpack Compose
Kotlin
42
star
5

cmp-gobang

Compose Multiplatform GoBang
Kotlin
34
star
6

JetpackComposePlayground

compose playground
Kotlin
30
star
7

compose-huarongdao

Compose版华容道
Kotlin
26
star
8

ComposeWaveLoading

Compose 波浪效果进度加载
Kotlin
17
star
9

android-dev-challenge-compose

A puppy adoption app built in Jetpack Compose, which took part in the #AndroidDevChallenge for Compose
Kotlin
14
star
10

AnimatedLike

Kotlin
11
star
11

Bloom

Android Dev Challenge: Week 3 - Speed round
Kotlin
6
star
12

MultipleTheme

支持Android动态切换夜间模式等多主题
Java
6
star
13

DaggerHiltSample

A Sample For Dagger Hilt
Kotlin
5
star
14

flutter_platform_sample

Kotlin
4
star
15

wanandroid-compose

A WanAndroid client based on Jetpack Compose
Kotlin
4
star
16

Pinyin

通过Unicode获取汉字的拼音,并可以处理多音字;提供按拼音排序的简单工具类
Java
3
star
17

CommonGallery

仿微信的图片选择器,支持图片的放大/缩小、旋转、拖拽transition动画打开等
Java
2
star
18

NestedBounceView

通过NestedBounceView可以为RecyclerView增加下拉回弹效果,并且支持NestedScroll联动。这只是增加一个回弹效果的小控件,没有下拉刷新的相关功能
Java
2
star
19

blog

1
star
20

QRCodeScanner

二维码条形码扫描工具,可手动调整扫描框大小
Java
1
star
21

MotionPager

MotionLayout实现ViewPager效果
Kotlin
1
star
22

ContactsView

可从系统电话本中查找、选取联系人的工具
Java
1
star