Sopa
Download in play store.
Overview
SOPA is an android puzzle game.
The game consists of an field which has 16 tiles. These tiles contains a tube or nothing. The games goal is to connect two doors which are on the side of the field with the tubes in the field, by moving the tubes. To play the game, the tubes has to be moved horizontal and vertical.
As soon as the tubes connect the two doors a level is done.
Gamemodes
Levelmode
The Levelmode consists of 100 predefined level, which can be played sequential. If a level gets solved the next gets unlocked. Solving a level the player gets stars for the win. The maximum stars are three.
Justplay
In this mode the main opponent is the time. It starts with an easy level and 10 seconds of time. For each solved level the player gets the rest of his left time in addition to an extra bonus for the next one. Each level is autogenerated with an increasing difficulty.
For each level the player gets points. The number of points is calculated with the difficulty of the game and the moves needed to solve the game.
- harder game -> more points
- more moves-> less points
Development
Tests
Execute tests:
./gradlew test --continue
Build:
./gradlew build
Reporting
With jacoco there is a possibility to calculate the test coecoverage.
./gradlew jacocoTestReport
The generated test results can be found here: app/build/reports/jacoco/jacocoTestReport/html/index.html
Release the game
./gradlew clean
./gradlew :app:assembleRelease
After that in Android Studio: "Generate signed APK"
License
Sopa is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.