Commit graph

9 commits

Author SHA1 Message Date
cmclark00
14205b2b0a Enhance: Update Google Play Games integration and versioning
- Incremented version code to 5 and version name to 0.4 in build.gradle.
- Removed Google Play sign-in buttons from both portrait and landscape layouts.
- Updated HighScoresActivity to hide the leaderboard button.
- Improved score submission process in GooglePlayGamesManager with forced sign-in and user feedback.
- Enhanced MainActivity to submit scores to Google Play Games upon game over.
2025-04-02 19:52:02 -04:00
cmclark00
808dc79396 Enhance: Update Google Play Games integration and versioning
- Incremented version code to 3 and version name to 0.2 in build.gradle.
- Added INTERNET and ACCESS_NETWORK_STATE permissions in AndroidManifest.xml.
- Refactored leaderboard display logic in HighScoresActivity and MainActivity to utilize a listener for intent success and failure.
- Introduced silent sign-in functionality for Google Play Games in MainActivity.
- Updated GooglePlayGamesManager to support the new listener interface for leaderboard intent handling.
- Added Google Play sign-in buttons in both portrait and landscape layouts for improved user interaction.
2025-04-02 18:04:24 -04:00
cmclark00
220caa39f7 Enhance: Integrate Google Play Games Services for global leaderboard
- Added global leaderboard functionality via Google Play Games Services.
- Implemented sign-in process for Google Play Games and score submission.
- Updated UI to include leaderboard buttons in both MainActivity and HighScoresActivity.
- Enhanced README to document new online features and leaderboard integration.
- Added necessary dependencies in build.gradle and updated AndroidManifest.xml for Google Play Games configuration.
2025-04-02 14:32:09 -04:00
cmclark00
21b2513ad4 Enhance: Add hold piece control and theme customization options
- Introduced a new control for holding pieces with a swipe up gesture.
- Added multiple theme options with a Random Mode that changes themes automatically after clearing lines.
- Updated README to reflect new controls and visual features.
- Incremented version code and updated version name in build.gradle.
- Adjusted title and high score positioning based on screen orientation in TitleScreen.kt.
- Added "Enter Name" prompt in high score entry layout for better user experience.
2025-04-02 00:29:50 -04:00
cmclark00
c1da5ba20f Enhance: Add gradle.properties for keystore configuration and update .gitignore to include gradle.properties and hprof files 2025-04-01 16:12:08 -04:00
cmclark00
0a5bf6bb7e Refactor: Introduce ViewModel for score/level, fix game over flow 2025-04-01 14:39:27 -04:00
cmclark00
5ace9d7fc5 Fix: Correct namespace and applicationId in app build.gradle 2025-04-01 07:51:52 -04:00
cmclark00
b068de76f5 Add high score system with persistent storage using SharedPreferences and Gson 2025-03-27 00:27:44 -04:00
cmclark00
f4e5a9b651 Initial commit: Modern Tetris implementation with official rules and scoring system 2025-03-26 12:44:00 -04:00