Tuesday, May 19, 2015

Sudoku Game Development in Android — Features & Google Play Link

Greetings of the Day!!!

When I was learning Android, I thought of developing a game. The easiest was a Sudoku game. And when I was reading an Android book I saw a basic example of the game and thought of using it and building on top of it. So I started it and completed it for a single game. But I did not share it with anybody. When I was cleaning up the things today I saw that game and thought of sharing it.

Overview

I extended the basic example into a small Android Sudoku app with multiple levels, game persistence, and an in-app Settings screen. The app opens with the previous settings and can remember and resume the last-in-progress game.

Features

  • Levels: Easy, Medium and Hard
  • Multiple puzzles per level; when you select a level the app randomly picks a puzzle for you to play
  • Resume: the app remembers the current game state so you can leave mid-way and continue later
  • Settings: options to show hints and to play music; settings are stored using SharedPreferences so they persist across app restarts

Technical notes

  • Level selection: the app presents predefined puzzles grouped by difficulty and randomly selects a puzzle from the chosen level.
  • Persistence: current game state is saved so a paused or interrupted game can be resumed. Settings (hints, music) are implemented with SharedPreferences so they persist when the app is closed and reopened.

(If you want more developer-focused detail — e.g., code snippets showing how game state is serialized or how SharedPreferences are used — I can add minimal, copy-paste-ready examples.)

Screenshots

aboutpng

splash

main

Capture

level

settings

Download

You can download the game from Google Play:

https://play.google.com/store/apps/details?id=com.marutsoft.sudoku

Notes and next steps

  • This post is a short introduction and screenshots from the app. If you want a follow-up developer post, I can add concrete implementation details: puzzle storage format, random selection algorithm, how I save and restore game state, and code showing SharedPreferences usage for settings. Tell me which part you want first and I will publish a technical walk-through.

No comments: