Skip to main content

Hundred - a number game updated

https://play.google.com/store/apps/details?id=com.hegdeapps.shataka



Shataka - my number game which is very simple but really good, has been updated.

First of all, its name is changed to "Hundred". Because that is the aim of the game, right?

There are some UI changes too. May be for better :) :)

And I have added a how to section, which guides the user step by step.

The game has a grid of 9 cells , 3 rows and 3 columns. The aim of the game is to fill this grid with  numbers so that each row and each column adds up to 100. And all the required numbers are given at the bottom of the grid.

In this version( v 3.0), in level 1,  6 numbers are already provided in the grid. (In older versions 3 numbers were filled in the grid). So user needs to fill only 3 more numbers. So level 1 is pretty easy. You can see that in the above screen shot, 2nd row and 3rd column are already filled and their sums are 100.

In level 2, 5 numbers are provided and user should fill the remaining 4. And so on.

From level 8 onwards, the game is slightly more challenging. Now the sum is different each time, its value is shown at the top of the grid.

From level 15, the sum should be 1000.

I think, better than you explaining the concepts, it is better you download it and see it for yourself.

OK, I used mockupsjar to create some nice screen frames. But you should know that, android studio provides with option of frames when you are taking screen shot. All screen shots except for first one were created using android studio.

If you are looking for a place to create feature graphic - you know that it is essential, norio site lets you create the feature graphic. But I used GIMP instead,

And do not forget to select both check boxes when you are trying to create a release version apk and studio asks you whether you want to sign jar files or entire apk.

And after you shrink the files using proguard, you may need to use few " -keep" lines in your proguard.txt file. I was unable to drop numbers into cells in my release version!


Comments

Popular posts from this blog

Copy to clipboard

In my upcoming app, I have codes which I display. These are some times lengthy, and I want the app to be able to copy this to clipboard. Once it is in clipboard, users can paste it anywhere. So how do you copy some text from your app to clipboard. You need to use clipboard manager. Clipboard Manager This class sets and gets data for the clipboard using Clipdata objects.  You can get the object of this class using system service.  - using statement context.getSystemService(Context.CLIPBOARD_SERVICE) Example I have a dummy project with a button, onclick of which copies content to clipboard. Here is my activity file package com . hegdeapps . testapp ; import android.content.ClipData ; import android.content.ClipboardManager ; import android.support.v7.app.AppCompatActivity ; import android.os.Bundle ; import android.view.View ; import android.widget.Button ; import android.widget.TextView ; public class MainActivity extends AppCompa

Drawables in Android - Layer drawable

Let us see how to use layer drawable. You can have two or more bitmaps on different layers to create such a drawable Using xml : You should use layer-list in your xml file to create layerdrawable. Here is layer.xml <?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item> <bitmap android:src="@drawable/whiteicon" android:gravity="top|left"/> </item> <item> <bitmap android:src="@drawable/blueicon" android:gravity="top|left"/> </item> <item> <bitmap android:src="@drawable/redicon" android:gravity="top|left"/> </item> </layer-list> We are using three different bitmaps whiteicon.png, redicon.png and blueicon.png which are present in /res/drawable/mdpi folder. All these are of different sizes and aligned to top left. Thi

Simple ListView Adapter and list item select

When you are using a listview in your applications many a times you will write your own adapter to display item. But if your list is very simple showing a list of strings, you can use inbuilt adapters like ArrayAdapter, SimpleCursorAdapter etc. ArrayAdapter Let us look at an example <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <ListView android:layout_height="wrap_content" android:id="@+id/listView1" android:layout_width="match_parent" android:layout_margin="20dp"> </ListView> </LinearLayout> And add these lines to the onCreate method of the activity. super.onCreate(savedInstanc