Skip to content

Pablito2020/Tetris-Android

Repository files navigation

Tetris Game for Android 🕹️

Tetris game written in Kotlin for Android devices. The implementation uses the MVVM pattern and clean architecture.

Summary

Dependencies 📦:

This project depends on my own tetris logic, that can be found here:

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:

    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 and add it as a dependency via settings/project-structure

Preview 📹

tetris-example

License 📖

The project is licensed under the GNU General Public License v3.0. See the LICENSE file for more information.

Contributing 🧑‍🤝‍🧑

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.