Skip to content

Commit d08f431

Browse files
committed
Sudoku
0 parents  commit d08f431

File tree

98 files changed

+2095
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+2095
-0
lines changed

new/AndroidManifest.xml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.sudoku327"
4+
android:versionCode="1"
5+
android:versionName="1.0" >
6+
7+
<uses-sdk
8+
android:minSdkVersion="8"
9+
android:targetSdkVersion="18" />
10+
11+
<application
12+
android:allowBackup="true"
13+
android:icon="@drawable/ic_launcher"
14+
android:label="Sudoku327"
15+
android:theme="@style/AppTheme" >
16+
<activity
17+
android:name="com.sudoku327.Sudoku"
18+
android:label="Sudoku" >
19+
<intent-filter>
20+
<action android:name="android.intent.action.MAIN" />
21+
22+
<category android:name="android.intent.category.LAUNCHER" />
23+
</intent-filter>
24+
</activity>
25+
26+
<activity
27+
android:label="Game"
28+
android:name="com.sudoku327.Game">
29+
</activity>
30+
31+
<activity
32+
android:label="About Sudoku"
33+
android:name="com.sudoku327.About">
34+
</activity>
35+
36+
</application>
37+
38+
</manifest>

new/README

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
SUMMARY:
2+
this app was created as part of a 4 man team. I was responsible for all front end graphics, back-end interfacing, game logic, and user interfacing.
3+
4+
I was not responsible for the Sudoku randomizer nor the Sudoku solver.

new/Sudoku.apk

167 KB
Binary file not shown.

new/Sudoku.iml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<module type="JAVA_MODULE" version="4">
3+
<component name="FacetManager">
4+
<facet type="android" name="Android">
5+
<configuration>
6+
<option name="UPDATE_PROPERTY_FILES" value="true" />
7+
</configuration>
8+
</facet>
9+
</component>
10+
<component name="NewModuleRootManager" inherit-compiler-output="true">
11+
<exclude-output />
12+
<content url="file://$MODULE_DIR$">
13+
<sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" generated="true" />
14+
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
15+
</content>
16+
<orderEntry type="inheritedJdk" />
17+
<orderEntry type="sourceFolder" forTests="false" />
18+
</component>
19+
</module>

new/bin/AndroidManifest.xml

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.sudoku327"
4+
android:versionCode="1"
5+
android:versionName="1.0" >
6+
7+
<uses-sdk
8+
android:minSdkVersion="8"
9+
android:targetSdkVersion="18" />
10+
11+
<application
12+
android:allowBackup="true"
13+
android:icon="@drawable/ic_launcher"
14+
android:label="Sudoku327"
15+
android:theme="@style/AppTheme" >
16+
<activity
17+
android:name="com.sudoku327.Sudoku"
18+
android:label="Sudoku" >
19+
<intent-filter>
20+
<action android:name="android.intent.action.MAIN" />
21+
22+
<category android:name="android.intent.category.LAUNCHER" />
23+
</intent-filter>
24+
</activity>
25+
26+
<activity
27+
android:label="Game"
28+
android:name="com.sudoku327.Game">
29+
</activity>
30+
31+
<activity
32+
android:label="About Sudoku"
33+
android:name="com.sudoku327.About">
34+
</activity>
35+
36+
</application>
37+
38+
</manifest>

new/bin/Sudoku.apk

284 KB
Binary file not shown.

new/bin/classes.dex

699 KB
Binary file not shown.
1.14 KB
Binary file not shown.
535 Bytes
Binary file not shown.
3.9 KB
Binary file not shown.
7.99 KB
Binary file not shown.
2.36 KB
Binary file not shown.
1.27 KB
Binary file not shown.
1.54 KB
Binary file not shown.
1.39 KB
Binary file not shown.
1.34 KB
Binary file not shown.
1.73 KB
Binary file not shown.
1.39 KB
Binary file not shown.
1.36 KB
Binary file not shown.

new/bin/classes/com/sudoku327/R.class

1.52 KB
Binary file not shown.
4.13 KB
Binary file not shown.
3.89 KB
Binary file not shown.
1.79 KB
Binary file not shown.
1.81 KB
Binary file not shown.
2.24 KB
Binary file not shown.
1.83 KB
Binary file not shown.
574 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

new/bin/jarlist.cache

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# cache for current jar dependency. DO NOT EDIT.
2+
# format is <lastModified> <length> <SHA-1> <path>
3+
# Encoding is UTF-8
5.82 KB
424 Bytes
3.04 KB

new/bin/resources.ap_

42.7 KB
Binary file not shown.
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/** Automatically generated file. DO NOT MODIFY */
2+
package com.sudoku327;
3+
4+
public final class BuildConfig {
5+
public final static boolean DEBUG = true;
6+
}

new/gen/com/sudoku327/R.java

+85
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
/* AUTO-GENERATED FILE. DO NOT MODIFY.
2+
*
3+
* This class was automatically generated by the
4+
* aapt tool from the resource data it found. It
5+
* should not be modified by hand.
6+
*/
7+
8+
package com.sudoku327;
9+
10+
public final class R {
11+
public static final class attr {
12+
}
13+
public static final class color {
14+
public static final int background=0x7f040000;
15+
public static final int button=0x7f040006;
16+
public static final int decimals=0x7f040007;
17+
public static final int foreground=0x7f040001;
18+
public static final int majorLine=0x7f040004;
19+
public static final int minorLine=0x7f040003;
20+
public static final int selected=0x7f040005;
21+
public static final int text=0x7f040002;
22+
}
23+
public static final class dimen {
24+
/** Default screen margins, per the Android Design guidelines.
25+
26+
Customize dimensions originally defined in res/values/dimens.xml (such as
27+
screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
28+
29+
*/
30+
public static final int activity_horizontal_margin=0x7f050000;
31+
public static final int activity_vertical_margin=0x7f050001;
32+
}
33+
public static final class drawable {
34+
public static final int ic_launcher=0x7f020000;
35+
}
36+
public static final class id {
37+
public static final int about_button=0x7f070001;
38+
public static final int exit_button=0x7f070002;
39+
public static final int hint=0x7f07000d;
40+
public static final int keypad=0x7f070003;
41+
public static final int keypad_1=0x7f070004;
42+
public static final int keypad_2=0x7f070005;
43+
public static final int keypad_3=0x7f070006;
44+
public static final int keypad_4=0x7f070007;
45+
public static final int keypad_5=0x7f070008;
46+
public static final int keypad_6=0x7f070009;
47+
public static final int keypad_7=0x7f07000a;
48+
public static final int keypad_8=0x7f07000b;
49+
public static final int keypad_9=0x7f07000c;
50+
public static final int new_button=0x7f070000;
51+
}
52+
public static final class layout {
53+
public static final int about=0x7f030000;
54+
public static final int activity_sudoku=0x7f030001;
55+
public static final int keypad=0x7f030002;
56+
}
57+
public static final class style {
58+
/**
59+
Base application theme, dependent on API level. This theme is replaced
60+
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
61+
62+
63+
Theme customizations available in newer API levels can go in
64+
res/values-vXX/styles.xml, while customizations related to
65+
backward-compatibility can go here.
66+
67+
68+
Base application theme for API 11+. This theme completely replaces
69+
AppBaseTheme from res/values/styles.xml on API 11+ devices.
70+
71+
API 11 theme customizations can go here.
72+
73+
Base application theme for API 14+. This theme completely replaces
74+
AppBaseTheme from BOTH res/values/styles.xml and
75+
res/values-v11/styles.xml on API 14+ devices.
76+
77+
API 14 theme customizations can go here.
78+
*/
79+
public static final int AppBaseTheme=0x7f060000;
80+
/** Application theme.
81+
All customizations that are NOT specific to a particular API-level can go here.
82+
*/
83+
public static final int AppTheme=0x7f060001;
84+
}
85+
}

new/ic_launcher-web.png

50.2 KB

new/libs/android-support-v4.jar

607 KB
Binary file not shown.

new/out/production/Sudoku/Sudoku.apk

25.7 KB
Binary file not shown.
25.7 KB
Binary file not shown.
Binary file not shown.
531 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
790 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
584 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

new/proguard-project.txt

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# To enable ProGuard in your project, edit project.properties
2+
# to define the proguard.config property as described in that file.
3+
#
4+
# Add project specific ProGuard rules here.
5+
# By default, the flags in this file are appended to flags specified
6+
# in ${sdk.dir}/tools/proguard/proguard-android.txt
7+
# You can edit the include path and order by changing the ProGuard
8+
# include property in project.properties.
9+
#
10+
# For more details, see
11+
# http://developer.android.com/guide/developing/tools/proguard.html
12+
13+
# Add any project specific keep options here:
14+
15+
# If your project uses WebView with JS, uncomment the following
16+
# and specify the fully qualified class name to the JavaScript interface
17+
# class:
18+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
19+
# public *;
20+
#}

new/project.properties

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# This file is automatically generated by Android Tools.
2+
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3+
#
4+
# This file must be checked in Version Control Systems.
5+
#
6+
# To customize properties used by the Ant build system edit
7+
# "ant.properties", and override values to adapt the script to your
8+
# project structure.
9+
#
10+
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11+
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12+
13+
# Project target.
14+
target=android-19

new/res/drawable-hdpi/ic_launcher.png

new/res/drawable-ldpi/ic_launcher.png

575 Bytes

new/res/drawable-mdpi/ic_launcher.png

new/res/drawable-xhdpi/ic_launcher.png

new/res/drawable-xxhdpi/ic_launcher.png

new/res/layout/about.xml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LinearLayout
3+
xmlns:android="http://schemas.android.com/apk/res/android"
4+
android:orientation="horizontal"
5+
android:layout_width="fill_parent"
6+
android:layout_height="fill_parent"
7+
android:padding="30dip"
8+
android:background="@color/background"
9+
>
10+
<ScrollView
11+
android:layout_width="fill_parent"
12+
android:layout_height="fill_parent">
13+
14+
15+
<LinearLayout
16+
android:orientation="vertical"
17+
android:layout_height="wrap_content"
18+
android:layout_width="fill_parent"
19+
android:layout_gravity="center"
20+
android:isScrollContainer="true">
21+
22+
<TextView
23+
android:text="'Sudoku (数独), originally called Number Place, is a logic-based, combinatorial number-placement puzzle. The objective is to fill a 9×9 grid with digits so that each column, each row, and each of the nine 3×3 sub-grids that compose the grid contains all of the digits from 1 to 9. The puzzle setter provides a partially completed grid, which typically has a unique solution.' -Wikipedia"
24+
android:textColor="@color/text"
25+
android:layout_height="wrap_content"
26+
android:layout_width="fill_parent"
27+
android:layout_gravity="center"
28+
android:layout_marginBottom="25dip"
29+
android:textSize="18sp" />
30+
</LinearLayout>
31+
</ScrollView>
32+
</LinearLayout>

new/res/layout/activity_sudoku.xml

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LinearLayout
3+
xmlns:android="http://schemas.android.com/apk/res/android"
4+
android:orientation="horizontal"
5+
android:layout_width="fill_parent"
6+
android:layout_height="fill_parent"
7+
android:padding="30dip"
8+
android:background="@color/background"
9+
>
10+
11+
12+
<LinearLayout
13+
android:orientation="vertical"
14+
android:layout_height="wrap_content"
15+
android:layout_width="fill_parent"
16+
android:layout_gravity="center">
17+
18+
<TextView
19+
android:text="Sudoku327"
20+
android:textColor="@color/text"
21+
android:layout_height="wrap_content"
22+
android:layout_width="wrap_content"
23+
android:layout_gravity="center"
24+
android:layout_marginBottom="25dip"
25+
android:textSize="24.5sp" />
26+
27+
<Button
28+
android:id="@+id/new_button"
29+
android:layout_width="fill_parent"
30+
android:layout_height="wrap_content"
31+
android:text="New Game"
32+
android:textColor="@color/text"
33+
/>
34+
35+
36+
<Button
37+
android:id="@+id/about_button"
38+
android:layout_width="fill_parent"
39+
android:layout_height="wrap_content"
40+
android:text="About Sudoku"
41+
android:textColor="@color/text"
42+
/>
43+
44+
<Button
45+
android:id="@+id/exit_button"
46+
android:layout_width="fill_parent"
47+
android:layout_height="wrap_content"
48+
android:text="Exit"
49+
android:textColor="@color/text"
50+
/>
51+
52+
</LinearLayout>
53+
</LinearLayout>

0 commit comments

Comments
 (0)