Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pablito2020/tetris-android
Implementation of the Tetris game for Android đŽ
https://github.com/pablito2020/tetris-android
Last synced: about 2 months ago
JSON representation
Implementation of the Tetris game for Android đŽ
- Host: GitHub
- URL: https://github.com/pablito2020/tetris-android
- Owner: Pablito2020
- License: gpl-3.0
- Created: 2022-04-18T20:25:55.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-29T17:04:23.000Z (over 2 years ago)
- Last Synced: 2023-03-08T18:04:16.628Z (almost 2 years ago)
- Language: Kotlin
- Homepage: https://play.google.com/store/apps/details?id=com.pablo.tetris
- Size: 5.09 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
Tetris Game for Android đšī¸
Tetris game written in Kotlin for Android devices. The implementation uses the MVVM pattern and clean architecture.## Summary
- [Dependencies](#dependencies-)
- [Preview](#preview-)
- [License](#license-)
- [Contributing](#contributing-)## Dependencies đĻ:
This project depends on my own tetris logic, that can be found here:
- [Tetris Library for Kotlin](https://github.com/Pablito2020/Tetris)
And the konfetti library for a more motivational finish đ:
- [Konfetti library for android](https://github.com/DanielMartinus/Konfetti)The default gradle configuration get's the Tetris jar from the github packages **using my own credentials that are exported as environment variables**. So, if you try to run the project it should fail because it can't find the jar.
A fix for this is to remove the following lines from the settings.gradle file:
```groovy
maven {
url = uri("https://maven.pkg.github.com/Pablito2020/Tetris")
credentials {
username = "Pablito2020"
password = System.getenv("GITHUB_TOKEN")
}
}
```
And this other line from the app/build.gradle file (where version should be the current version of the library):
```
implementation("me.pablito:tetris:version")
```Once you've done that, download the Tetris jar file from the [github repo](https://github.com/Pablito2020/Tetris) and add it as a dependency via settings/project-structure
## Preview đš
![tetris-example](https://user-images.githubusercontent.com/18640261/170821575-a6abe1f3-3d65-4ba7-ad77-9202c236d285.gif)## License đ
The project is licensed under the GNU General Public License v3.0. See the [LICENSE](LICENSE) file for more information.## Contributing đ§âđ¤âđ§
Please read [CONTRIBUTING.md](.github/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.