Sudoku Newspaper codes
Where do you find these codes at.
Can't help you with the newspaper question, though I was thinking one had to manually imput the numbers so that one did not have to use pen and paper. Not much gain in my opinion, that is unless it gives you warning for mistakes as it does in the imbedded games. Personally I don't use that mode.
To remove a number that you inputed just input the same number back into that box. I came across this on my own, not sure if there is another way to do it or not.
Similar Messages
-
Hi plzz can anybody plzz send me the ABAP SUDOKU code (executable) plzz its very urgent plzzzz..
points will be rewarded ...Hello,
Go to these: [https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/abap%2bsolution%2bto%2bmedium%2band%2blow%2bcomplex%2bsudoku%2bpuzzles] and [https://wiki.sdn.sap.com/wiki/display/Community/ABAP+Games] to get more games!
Regards, -
hi,
any one can send sudoku code in ABAP as it is very urgent plz send the screen file also
my mail id is [email protected]
please do me this favour as it is very essential for me
SUDOKU CODECheck this link to get all details -
http://forum.codecall.net/database-database-programming/121-sudoku-can-solved-using-sql-take-look.html
Re: Just a wild idea
http://www.di-mgt.com.au/src/sudoku.bas.html
http://www.di-mgt.com.au/sudoku.html#source
Hope this helps. -
Hi,
every one
plz send sudoku code in ABAP as it is very urgent
my mail id is [email protected]
send screen downloded files alsoCheck this link to get all details -
http://forum.codecall.net/database-database-programming/121-sudoku-can-solved-using-sql-take-look.html
Re: Just a wild idea
http://www.di-mgt.com.au/src/sudoku.bas.html
http://www.di-mgt.com.au/sudoku.html#source -
Solving the regions in sudoku code
was able to solve the repetition of the rows and columns... but i am now having trouble solving for the regions... My professor prefers we do it in a single class with multiple methods... here is what I have..
This is my main method:
public class Test extends JApplet{
int [][] entries = new int [9][9];
boolean filled [][] = new boolean [9][9];
public void paint(Graphics canvas) {
// draws the puzzle board
SudokuPuzzel(canvas);
// sets the initial values
initialValues(canvas);
// this adds the guess
addGuess(canvas);
private void initialValues(Graphics canvas) {
int puzzleLength;
// creates the list of numbers to be used in the array
List numberList = new ArrayList(8);
for (int i = 1; i<10; i++)
numberList.add(new Integer(i));
// this will set the initial values into the entries array
for (int x = 0; x<9;x++)
puzzleLength = x;
Collections.shuffle(numberList);
for (int y = 0; y<9; y++){
entries[x][y] = (Integer) numberList.get(y);
// this will check for repeats in the columns
boolean validityColumn, validityRegion;
do{
validityColumn = true;
validityRegion = true;
validityColumn = checkColumn(puzzleLength, x);
validityRegion = checkRegion(puzzleLength);
if (!validityColumn || !validityRegion){
for (x = 1; x<3; x++)
Collections.shuffle(numberList);
for (int i =0; i<9;i++)
entries[x] = (Integer) numberList.get(i);
System.out.println("re-determine");
}while(!validityColumn || !validityRegion);
for (int z = 0; z<9; z++)
String value;
for(int w = 0; w<9; w++){
value = Integer.toString(entries[z][w]);
printValue(canvas, value, z, w);
This is the method that checks if the numbers in the columns are duplicatedprivate boolean checkColumn(int puzzleLength, int x) {
// this method receives the puzzle length and row
// it then checks to see if any number repeats
// in the previous rows. if so, the row is
// shuffled and realigned
for (int j = 0; j<= puzzleLength; j++){
for (int i =0; i< 9; i++)
and this checks the regions..private boolean checkRegion(int puzzleLength) {
if (puzzleLength == 2)
for (int i = 0; i<3; i++)
for (int j = 0; j<3; j++)
for (int k = 0; k <3; k++)
for (int l = 0; l<3; l++)
if ((i != k && k != l) && entries[i][j] == entries[k][l])
return false;
return true;
I am getting an infinate loop and I don't understand where or why...onorinbejasus wrote:
I am getting an infinate loop and I don't understand where or why... Debug your application by placing some System.out.println's in your code and printing out the variables. That way, you see how they change and you can then deduce why an infinite loop is occurring.
Start by debugging in your do-while statement: that is the only place (from the code you posted) where it can go in an infinite loop.
I also recommend you create some "helper methods" to make the checking of rows, columns and regions easier:
boolean[] getRow(int rowNumber) {
// For example, if the 'rowNumber' has the numbers 1, 2, 3 and 8 filled in, return the
// following array: [true, true, true, false, false, false, false, true, false]
// You can also choose to return the numbers [1, 2, 3, 8] of course, that;'s for you to
// decide (the return type should be changed to int[] of course)
boolean[] getColumn(int columnNumber) {
// the same as in getRow(...) but then the column values are returned
boolean[] getRegion(int regionNumber) {
}Good luck. -
Error message when trying to access the free Sudoku game I downloaded from Blackberry Owners' Forum
I downloaded the free Sudoku game from the Blackberry Owners' Lounge (at http://na.blackberry.com/eng/ownerslounge/downloads/games.jsp) to my PC and then used the Blackberry Desktop Manager to transfer it to my Blackberry Curve 8300.
But, when I try to open it from my Curve, I get the following error message: Application terminated: Sudoku has been denied the "Interprocess Communication" permission".
Any idea what I've done wrong and/or how to correct the problem?Hi and Welcome to the Community!
With the hundreds of possibilities, it's a pity you didn't provide the actual error message that you are seeing. Please provide the complete and exact error message, including all punctuation.
Thanks!
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Hello All,
I've been running into an issue periodically when I run the program "slicy" the program crashes and I get an error log. See error log below. I'm looking to find out if it is the program or my computer. It seems to be my computer becasue my coworkers run the same software and have no run into this problem.
Thanks in advance.
Process: Slicy [3776]
Path: /Applications/Slicy.app/Contents/MacOS/Slicy
Identifier: com.macrabbit.LayerCake
Version: 1.1.6 (1.1.6)
Code Type: X86-64 (Native)
Parent Process: launchd [183]
Responsible: Slicy [3776]
User ID: 501
Date/Time: 2014-05-21 10:54:02.917 -0400
OS Version: Mac OS X 10.9.3 (13D65)
Report Version: 11
Anonymous UUID: 8E54E7F7-3A28-6B16-C13C-75817C618B44
Sleep/Wake UUID: CEFCE6C8-B49A-462D-B332-881860CC29CF
Crashed Thread: 3 Dispatch queue: com.apple.root.default-priority
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x000000010c8b2ff0
VM Regions Near 0x10c8b2ff0:
Stack 000000010c830000-000000010c8b2000 [ 520K] rw-/rwx SM=COW thread 2
--> STACK GUARD 000000010c8b2000-000000010c8b3000 [ 4K] ---/rwx SM=NUL stack guard for thread 3
Stack 000000010c8b3000-000000010c935000 [ 520K] rw-/rwx SM=COW thread 3
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff96be6a1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff96be5d18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff919f4fc5 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff919f45e9 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff919f3f25 CFRunLoopRunSpecific + 309
5 com.apple.HIToolbox 0x00007fff91f91a0d RunCurrentEventLoopInMode + 226
6 com.apple.HIToolbox 0x00007fff91f917b7 ReceiveNextEventCommon + 479
7 com.apple.HIToolbox 0x00007fff91f915bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
8 com.apple.AppKit 0x00007fff8b87026e _DPSNextEvent + 1434
9 com.apple.AppKit 0x00007fff8b86f8bb -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
10 com.apple.AppKit 0x00007fff8b8639bc -[NSApplication run] + 553
11 com.apple.AppKit 0x00007fff8b84e7a3 NSApplicationMain + 940
12 com.macrabbit.LayerCake 0x000000010c5abd14 0x10c5aa000 + 7444
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff96beb662 kevent64 + 10
1 libdispatch.dylib 0x00007fff91d37421 _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff91d37136 _dispatch_mgr_thread + 52
Thread 2:
0 libsystem_kernel.dylib 0x00007fff96beae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9702af08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff9702dfb9 start_wqthread + 13
Thread 3 Crashed:: Dispatch queue: com.apple.root.default-priority
0 com.macrabbit.LayerCake 0x000000010c699736 0x10c5aa000 + 980790
1 com.macrabbit.LayerCake 0x000000010c69a1fa 0x10c5aa000 + 983546
2 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
3 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
4 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
5 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
6 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
7 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
8 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
9 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
10 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
11 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
12 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
13 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
14 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
15 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
16 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
17 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
18 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
19 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
20 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
21 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
22 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
23 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
24 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
25 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
26 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
27 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
28 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
29 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
30 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
31 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
32 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
33 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
34 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
35 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
36 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
37 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
38 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
39 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
40 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
41 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
42 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
43 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
44 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
45 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
46 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
47 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
48 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
49 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
50 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
51 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
52 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
53 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
54 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
55 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
56 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
57 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
58 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
59 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
60 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
61 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
62 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
63 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
64 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
65 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
66 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
67 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
68 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
69 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
70 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
71 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
72 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
73 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
74 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
75 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
76 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
77 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
78 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
79 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
80 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
81 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
82 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
83 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
84 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
85 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
86 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
87 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
88 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
89 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
90 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
91 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
92 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
93 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
94 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
95 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
96 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
97 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
98 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
99 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
100 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
101 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
102 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
103 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
104 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
105 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
106 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
107 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
108 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
109 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
110 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
111 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
112 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
113 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
114 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
115 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
116 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
117 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
118 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
119 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
120 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
121 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
122 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
123 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
124 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
125 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
126 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
127 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
128 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
129 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
130 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
131 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
132 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
133 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
134 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
135 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
136 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
137 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
138 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
139 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
140 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
141 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
142 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
143 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
144 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
145 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
146 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
147 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
148 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
149 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
150 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
151 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
152 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
153 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
154 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
155 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
156 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
157 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
158 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
159 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
160 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
161 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
162 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
163 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
164 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
165 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
166 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
167 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
168 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
169 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
170 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
171 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
172 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
173 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
174 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
175 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
176 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
177 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
178 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
179 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
180 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
181 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
182 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
183 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
184 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
185 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
186 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
187 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
188 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
189 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
190 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
191 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
192 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
193 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
194 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
195 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
196 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
197 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
198 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
199 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
200 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
201 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
202 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
203 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
204 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
205 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
206 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
207 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
208 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
209 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
210 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
211 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
212 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
213 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
214 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
215 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
216 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
217 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
218 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
219 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
220 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
221 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
222 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
223 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
224 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
225 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
226 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
227 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
228 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
229 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
230 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
231 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
232 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
233 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
234 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
235 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
236 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
237 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
238 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
239 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
240 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
241 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
242 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
243 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
244 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
245 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
246 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
247 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
248 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
249 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
250 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
251 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
252 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
253 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
254 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
255 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
256 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
257 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
258 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
259 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
260 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
261 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
262 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
263 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
264 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
265 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
266 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
267 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
268 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
269 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
270 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
271 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
272 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
273 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
274 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
275 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
276 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
277 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
278 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
279 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
280 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
281 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
282 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
283 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
284 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
285 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
286 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
287 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
288 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
289 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
290 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
291 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
292 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
293 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
294 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
295 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
296 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
297 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
298 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
299 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
300 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
301 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
302 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
303 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
304 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
305 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
306 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
307 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
308 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
309 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
310 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
311 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
312 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
313 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
314 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
315 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
316 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
317 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
318 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
319 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
320 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
321 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
322 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
323 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
324 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
325 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
326 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
327 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
328 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
329 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
330 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
331 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
332 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
333 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
334 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
335 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
336 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
337 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
338 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
339 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
340 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
341 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
342 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
343 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
344 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
345 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
346 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
347 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
348 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
349 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
350 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
351 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
352 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
353 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
354 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
355 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
356 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
357 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
358 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
359 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
360 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
361 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
362 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
363 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
364 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
365 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
366 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
367 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
368 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
369 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
370 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
371 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
372 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
373 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
374 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
375 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
376 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
377 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
378 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
379 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
380 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
381 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
382 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
383 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
384 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
385 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
386 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
387 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
388 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
389 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
390 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
391 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
392 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
393 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
394 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
395 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
396 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
397 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
398 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
399 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
400 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
401 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
402 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
403 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
404 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
405 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
406 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
407 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
408 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
409 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
410 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
411 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
412 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
413 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
414 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
415 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
416 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
417 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
418 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
419 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
420 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
421 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
422 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
423 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
424 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
425 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
426 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
427 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
428 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
429 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
430 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
431 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
432 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
433 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
434 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
435 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
436 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
437 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
438 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
439 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
440 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
441 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
442 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
443 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
444 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
445 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
446 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
447 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
448 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
449 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
450 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
451 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
452 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
453 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
454 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
455 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
456 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
457 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
458 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
459 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
460 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
461 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
462 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
463 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
464 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
465 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
466 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
467 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
468 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
469 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
470 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
471 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
472 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
473 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
474 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
475 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
476 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
477 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
478 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
479 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
480 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
481 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
482 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
483 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
484 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
485 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
486 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
487 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
488 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
489 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
490 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
491 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
492 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
493 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
494 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
495 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
496 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
497 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
498 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
499 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
500 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
501 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
502 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
503 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
504 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
505 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
506 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
507 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
508 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
509 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
510 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
511 com.macrabbit.LayerCake 0x000000010c69a251 0x10c5aa000 + 983633
Thread 4:
0 libsystem_kernel.dylib 0x00007fff96beae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9702af08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff9702dfb9 start_wqthread + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff96beae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9702af08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff9702dfb9 start_wqthread + 13
Thread 6:
0 libsystem_kernel.dylib 0x00007fff96beae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9702af08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff9702dfb9 start_wqthread + 13
Thread 7:
0 libsystem_kernel.dylib 0x00007fff96beae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9702af08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff9702dfb9 start_wqthread + 13
Thread 8:
0 libsystem_kernel.dylib 0x00007fff96beae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9702af08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff9702dfb9 start_wqthread + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff96beae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9702af08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff9702dfb9 start_wqthread + 13
Thread 10:
0 libsystem_kernel.dylib 0x00007fff96beae6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff9702af08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff9702dfb9 start_wqthread + 13
Thread 11:
0 libsystem_kernel.dylib 0x00007fff96be6a1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff96be5d18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff919f4fc5 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff919f45e9 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff919f3f25 CFRunLoopRunSpecific + 309
5 com.apple.AppKit 0x00007fff8ba1005e _NSEventThread + 144
6 libsystem_pthread.dylib 0x00007fff97029899 _pthread_body + 138
7 libsystem_pthread.dylib 0x00007fff9702972a _pthread_start + 137
8 libsystem_pthread.dylib 0x00007fff9702dfc9 thread_start + 13
Thread 12:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff96be6a1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff96be5d18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff919f4fc5 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff919f45e9 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff919f3f25 CFRunYou installed the "Genieo/InstallMac" rootkit. The product is a fraud, and the developer knowingly distributes an uninstaller that doesn't work. I suggest the tedious procedure below to disable Genieo. This procedure may leave a few small files behind, but it will permanently deactivate the rootkit (as long as you never reinstall it.)
Malware is constantly changing to get around the defenses against it. The instructions in this comment are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
Back up all data. You must know how to restore from a backup even if the system becomes unbootable. If you don't know how to do that, or if you don't have any backups, stop here and ask for guidance.
Step 1
In the Applications folder, there should be an item named "Genieo". Select it and open the Finder Info window. If it shows that the Version is less than 2.0, download and install the current version from the genieo.com website. This may seem paradoxical, since the goal is to remove it, but you'll be saving yourself some trouble as well as the risk of putting the system in an unusable state.
There should be another application in the same folder named "Uninstall Genieo". After updating Genieo, if necessary, launch "Uninstall Genieo" and follow the prompts to remove the "newspaper-style home page." Restart the computer.
This step does not completely inactivate Genieo.
Step 2
Don't take this step unless you completed Step 1, including the restart, without any error messages. If you couldn't complete Step 1, stop here and ask for instructions.
Triple-click anywhere in the line below on this page to select it:
/Library/Frameworks/GenieoExtra.framework
Right-click or control-click the line and select
Services ▹ Reveal in Finder (or just Reveal)
from the contextual menu.
If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
Go ▹ Go to Folder...
from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
A folder should open with an item named "GenieoExtra.framework" selected. Move that item to the Trash. You'll be prompted for your administrator password.
Move each of these items to the Trash in the same way:
/Library/LaunchAgents/com.genieo.completer.update.plist
/Library/LaunchAgents/com.genieo.engine.plist
/Library/LaunchAgents/com.genieoinnovation.macextension.plist
/Library/LaunchDaemons/com.genieoinnovation.macextension.client.plist
/Library/PrivilegedHelperTools/com.genieoinnovation.macextension.client
/usr/lib/libgenkit.dylib/usr/lib/libgenkitsa.dylib
/usr/lib/libimckit.dylib
/usr/lib/libimckitsa.dylib~/Library/Application Support/com.genieoinnovation.Installer~/Library/LaunchAgents/com.genieo.completer.download.plist
~/Library/LaunchAgents/com.genieo.completer.update.plist
If there are other items with a name that includes "Genieo" or "genieo" alongside any of those listed above, move them as well. There's no need to restart after each one. Some of these items will be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
Restart and empty the Trash. Don't try to empty the Trash until you have restarted.
Step 3
From the Safari menu bar, select
Safari ▹ Preferences... ▹ Extensions
Uninstall any extensions you don't know you need, including ones called "Genieo" or "Omnibar," and any that have the word "Spigot" or "InstallMac" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
Your web browser(s) should now be working, and you should be able to reset the home page and search engine. If not, stop here and post your results.
Make sure you don't repeat the mistake that led you to install this software. Chances are you got it from an Internet cesspit such as "Softonic" or "CNET Download." Never visit either of those sites again. You might also have downloaded it from an ad in a page on some other site. The ad has a large green button labeled "Download" or "Download Now" in white letters. The button is designed to confuse people who intend to download something else on the same page. If youever download a file that isn't obviously what you expected, delete it immediately.
You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the Genieo developer has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing, has not done so, even though it's aware of the problem. It must be said that this failure of oversight is inexcusable and has seriously compromised the value of Gatekeeper and the Developer ID program. You cannot rely on Gatekeeper alone to protect you from harmful software.
Finally, be forewarned that when Genieo is mentioned on this site, the developer sometimes shows up under the name "Genieo support." If that happens, don't believe anything he says, but feel free to tell him what you think of his scam. -
Hello everyone. I am having an issue with my Mail to Form code. It's not so much a technical one (I don't think it is anyway) It's mostly I don't understand what information to plug into a couple parts. I will post the code here (leaving out everything before the "body") and hopfully some one can help me out.
<body>
<div class="style1" id="apDiv1">Call Request Form</div>
<div id="apDiv2">
<div align="center">Please fill out this form and a Beta Test Studios represenetive will contact you as soon as possible. Thank you.</div>
</div>
<div id="apDiv3">
<div align="center"><strong>Please tell us wher you heard about Beta Test Studios</strong></div>
</div>
<FORM METHOD=POST ACTION="[email protected]" ENCTYPE="text/plain">
<table width="311" height="480" border=0 cellpadding=20 cellspacing=0>
<tr>
<td height="327"><font size=2 face="arial" color="#000000">
<input type="text" name=Name size=27 />
:Name<BR>
<INPUT type="text" name=Phone size=27 id="Phone">
:Phone<BR>
<INPUT type="text" name=Call time size=27 id="Call time">
:Time to Call<BR>
<INPUT type="text" name=email size=27> :E-mail
</font></td>
</tr>
<tr>
<td width="230" height="62">
<SELECT name="choices" size=1>
<OPTION selected> Please Choose
<OPTION> Google
<OPTION> Yahoo!
<OPTION> Newspaper/Magazine
<OPTION> Word of mouth
<OPTION> Other
</SELECT></td>
</tr>
<tr>
<td height="91">
<font size=1 face="arial" color="#000000">
<center>
<INPUT NAME="redirect" TYPE="hidden" VALUE="index.html">
<INPUT NAME="NEXT_URL" TYPE="hidden" VALUE="index.html">
<INPUT type=submit value="Send">
<INPUT type=reset value="Clear">
</center></td></tr></table>
</FORM>
<!-- ** END OF FORM ** -->
</body>
</html>
I am having a problem understanding exactly what I am supposed to put here near the very bottom after <INPUT NAME="redirect" TYPE="hidden" VALUE= and after <INPUT NAME="NEXT_URL" TYPE="hidden" VALUE= I know that I am supposed to replace the "index.html" part in both lines I am not sure what I am supposed to replace it with. Any help would be appreciated. Thanks so much.Hi,
What are you trying to do exactly? If you would like to make a piece of text link to a mailto code where, if clicked, it will automatically open up that person's email with a blank email page with u as the receiver, then all you have to do in Dreamweaver is..
1. Highlight all the text you want the link to the email to be.
2. Go to the "link" window in the properties panel under the main viewing window
3. Type in "mailto:youremailhere" without the quotes of course and that will create the link I believe you might be looking for.
If this is not the nature of your problem please be more descriptive. -
Complete newcomer to java!!
I want to create a sudoku java game using a gui. How do i go about this?? Whats the best way to start??Check this site for core java code to solve sudoku:
http://kulandai.blogspot.com/2006/10/sudoku-puzzle-java-source.html -
Hey am trying to create a GUI for my Sudoku board.
Here is how it currently looks: (See code below)
There are two things I wanna change
1. How do I center align the number so they are not stuck to the right edge as they are now?
2. How do I add a bolder line around blocks/boxes(e.g. the 3*3 sections). Im sure these are pretty easy but havent been able to figure it out as of yet!
Any help would be greatly appreciated.
Code:
package proj.sudoku.gui;
import java.awt.Color;
import java.awt.Component;
import java.awt.Cursor;
import java.awt.Font;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.InputMethodEvent;
import java.awt.event.InputMethodListener;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTable;
import javax.swing.JTextArea;
import javax.swing.JTextField;
import javax.swing.SwingConstants;
import javax.swing.table.AbstractTableModel;
import javax.swing.table.DefaultTableCellRenderer;
import proj.sudoku.representation.Board;
import proj.sudoku.representation.Square;
import proj.sudoku.ui.Sudoku;
public class SudokuGUI extends JFrame implements ActionListener{
private JTextField unfilledSquaresTextField;
private JTextArea messagesTextArea;
private JTable boardTable;
private Board board;
private Sudoku sudoku = new Sudoku();
private int noOfUnfilledSquares = 20;
private static final long serialVersionUID = 1L;
class BoardTableTableModel extends AbstractTableModel {
public final String[] COLUMN_NAMES = { "Row 0", "Row 1", "Row 2", "Row 3", "Row 4", "Row 5", "Row 6", "Row 7", "Row 8"};
public int getRowCount() {
return 9;
public int getColumnCount() {
return COLUMN_NAMES.length;
public String getColumnName(int columnIndex) {
return COLUMN_NAMES[columnIndex];
public Object getValueAt(int rowIndex, int columnIndex) {
int squareValue = board.getSquare(rowIndex, columnIndex).getSquareValue();
if(squareValue == 0){
return null;
}else{
return new Integer(squareValue);
public boolean isCellEditable(int row, int col){
return true;
public void setValueAt(Object value, int row, int col) {
int intValue = ((Integer)value).intValue();
if((intValue >= 0) && (intValue < 10)){
Square square = board.getSquare(row, col);
square.setSquareValue(((Integer)value).intValue());
board.setSquare(square, row, col);
fireTableCellUpdated(row, col);
public Class getColumnClass(int c) {
return Integer.class;
* Create the frame
public SudokuGUI(Board newBoard) {
super();
getContentPane().setBackground(new Color(128, 128, 255));
board = newBoard;
getContentPane().setLayout(new GridBagLayout());
setTitle("Sudoku Sudokme");
setBounds(100, 100, 607, 456);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
final JPanel tablePanel = new JPanel();
tablePanel.setLayout(new GridBagLayout());
final GridBagConstraints gridBagConstraints = new GridBagConstraints();
gridBagConstraints.weighty = 0.5;
gridBagConstraints.weightx = 1;
getContentPane().add(tablePanel, gridBagConstraints);
boardTable = new JTable();
boardTable.setRowHeight(40); // TODO This line has been changed
boardTable.setFont(new Font("", Font.PLAIN, 20));// TODO This line has been changed
boardTable.setCursor(Cursor.getPredefinedCursor(Cursor.TEXT_CURSOR));
boardTable.setRowSelectionAllowed(false);
boardTable.setShowGrid(true);
boardTable.setModel(new BoardTableTableModel());
final GridBagConstraints gridBagConstraints_2 = new GridBagConstraints();
gridBagConstraints_2.gridx = 0;
gridBagConstraints_2.gridy = 0;
gridBagConstraints_2.insets = new Insets(0, -265, 0, 0);// TODO This line has been changed
//gridBagConstraints_2.insets = new Insets(5, -265, 5, 0);
tablePanel.add(boardTable, gridBagConstraints_2);
final JPanel messagesPanel = new JPanel();
messagesPanel.setLayout(new GridBagLayout());
final GridBagConstraints gridBagConstraints_6 = new GridBagConstraints();
gridBagConstraints_6.weighty = 0.3;
gridBagConstraints_6.weightx = 1.0;
gridBagConstraints_6.gridy = 1;
gridBagConstraints_6.gridx = 0;
getContentPane().add(messagesPanel, gridBagConstraints_6);
messagesTextArea = new JTextArea();
messagesTextArea.setAlignmentY(Component.BOTTOM_ALIGNMENT);
messagesPanel.add(messagesTextArea, new GridBagConstraints());
messagesTextArea.setText(board.getMessage());
messagesTextArea.setEditable(false);
final JPanel generateButtonPanel = new JPanel();
generateButtonPanel.setLayout(new GridBagLayout());
final GridBagConstraints gridBagConstraints_3 = new GridBagConstraints();
gridBagConstraints_3.gridy = 2;
gridBagConstraints_3.gridx = 0;
getContentPane().add(generateButtonPanel, gridBagConstraints_3);
final JButton generateEmptyBoardButton = new JButton();
generateEmptyBoardButton.addActionListener(this);
generateEmptyBoardButton.setText("Generate Empty Board");
final GridBagConstraints gridBagConstraints_9 = new GridBagConstraints();
gridBagConstraints_9.gridy = 0;
gridBagConstraints_9.gridx = 0;
generateButtonPanel.add(generateEmptyBoardButton, gridBagConstraints_9);
final JButton generateBoardButton = new JButton();
generateBoardButton.addActionListener(this);
generateBoardButton.setText("Generate Board");
final GridBagConstraints gridBagConstraints_10 = new GridBagConstraints();
gridBagConstraints_10.gridx = 2;
generateButtonPanel.add(generateBoardButton, gridBagConstraints_10);
final JLabel unfilledSquaresLabel = new JLabel();
unfilledSquaresLabel.setText("Unfilled Squares");
final GridBagConstraints gridBagConstraints_11 = new GridBagConstraints();
gridBagConstraints_11.gridy = 0;
gridBagConstraints_11.gridx = 3;
generateButtonPanel.add(unfilledSquaresLabel, gridBagConstraints_11);
unfilledSquaresTextField = new JTextField();
unfilledSquaresTextField.setFont(new Font("", Font.BOLD, 14));
unfilledSquaresTextField.addActionListener(this);
unfilledSquaresTextField.setText(new Integer(noOfUnfilledSquares).toString());
unfilledSquaresTextField.setBackground(Color.WHITE);
final GridBagConstraints gridBagConstraints_12 = new GridBagConstraints();
gridBagConstraints_12.gridy = 0;
gridBagConstraints_12.gridx = 4;
unfilledSquaresLabel.setLabelFor(unfilledSquaresTextField);
generateButtonPanel.add(unfilledSquaresTextField, gridBagConstraints_12);
final JPanel solveButtonsPanel = new JPanel();
solveButtonsPanel.setRequestFocusEnabled(false);
solveButtonsPanel.setLayout(new GridBagLayout());
final GridBagConstraints gridBagConstraints_1 = new GridBagConstraints();
gridBagConstraints_1.weighty = 0.1;
gridBagConstraints_1.weightx = 1;
gridBagConstraints_1.gridy = 3;
gridBagConstraints_1.gridx = 0;
getContentPane().add(solveButtonsPanel, gridBagConstraints_1);
final JButton heuristicsSolveButton = new JButton();
heuristicsSolveButton.addActionListener(this);
heuristicsSolveButton.setText("Heuristics Solve");
final GridBagConstraints gridBagConstraints_4 = new GridBagConstraints();
gridBagConstraints_4.gridx = 0;
solveButtonsPanel.add(heuristicsSolveButton, gridBagConstraints_4);
final JButton bruteForceSolveButton = new JButton();
bruteForceSolveButton.addActionListener(this);
bruteForceSolveButton.setText("Brute Force Solve");
final GridBagConstraints gridBagConstraints_7 = new GridBagConstraints();
gridBagConstraints_7.gridx = 1;
solveButtonsPanel.add(bruteForceSolveButton, gridBagConstraints_7);
final JButton hybridSolveButton = new JButton();
hybridSolveButton.addActionListener(this);
hybridSolveButton.setText("Hybrid Solve");
final GridBagConstraints gridBagConstraints_8 = new GridBagConstraints();
gridBagConstraints_8.gridx = 2;
solveButtonsPanel.add(hybridSolveButton, gridBagConstraints_8);
final JPanel testButtonsPanel = new JPanel();
testButtonsPanel.setLayout(new GridBagLayout());
final GridBagConstraints gridBagConstraints_5 = new GridBagConstraints();
gridBagConstraints_5.weighty = 0.1;
gridBagConstraints_5.weightx = 1.0;
gridBagConstraints_5.gridy = 4;
gridBagConstraints_5.gridx = 0;
getContentPane().add(testButtonsPanel, gridBagConstraints_5);
final JButton checkIfValidButton = new JButton();
checkIfValidButton.addActionListener(this);
checkIfValidButton.setText("Check If Valid");
testButtonsPanel.add(checkIfValidButton, new GridBagConstraints());
final JButton checkIfLegalButton = new JButton();
checkIfLegalButton.addActionListener(this);
checkIfLegalButton.setText("Check If Legal");
testButtonsPanel.add(checkIfLegalButton, new GridBagConstraints());
public static void main(String args[]) {
try {
SudokuGUI frame = new SudokuGUI(new Board());
frame.setVisible(true);
//frame.pack();
} catch (Exception e) {
e.printStackTrace();
public void actionPerformed(ActionEvent arg0) {
if(arg0.getSource().getClass().getName().equals("javax.swing.JTextField")){
noOfUnfilledSquares = new Integer(((JTextField)arg0.getSource()).getText()).intValue();
this.repaint();
}else{
try{
board = sudoku.processGUICommands(board, arg0.getActionCommand(), noOfUnfilledSquares);
messagesTextArea.setText(board.getMessage());
this.repaint();
}catch(Exception e){
e.printStackTrace();
}1) Use the [url http://forum.java.sun.com/help.jspa?sec=formatting]Code Formatting Tags when posting code so the code is readable
2) The code you posted isn't compileable or executable so we see exactly what you layout looks like
3) If you have a Grid type layout, then I would think a GridLayout would be more appropriate to use then the GridBagLayout. Read the Swing tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html]How to Use Layout Managers for more information.
How do I add a bolder line around blocks/boxes[url http://java.sun.com/docs/books/tutorial/uiswing/misc/border.htmlHow to Use Borders[/url]
If you need further help then you need to create a [url http://homepage1.nifty.com/algafield/sscce.html]Short, Self Contained, Compilable and Executable, Example Program that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided. -
Does anybody know PL/SQL-code for generating Sudoku-puzzles?
Cheers,
NuerniThanks for above links. But all seem to be solvers not generators - it's obvious that making sudoku puzzles is more complex than solving.
Another starting point would be migration from other code to PL/SQL...?! Any further ideas? -
How come the medium and hard levels only have 1 puzzle each?
There should be 100's of puzzles built in.On my Ipod (160 GB) I have found that there are more than 1 game on each level. However getting to them is a royal pain it the butt. When you finish a game, it will always return to game #1 on that level. Open #1, then abandon it, and open the next game (#2). After you have played #2, you must repeat this, abandoning #1 and #2 to open #3.
As you can see this will get real old after a while. I mostly use Sudoku in the newspaper mode, entering games from the newspaper, unfortunately, it will only hold one game at a time. -
Came up with this sudoku game, thought I would share :-) Enjoy
Form1's code:
Option Strict On
Option Explicit On
Option Infer Off
Public Class Form1
Private gameNumbers As New List(Of Integer) From {5, 3, 0, 0, 7, 0, 0, 0, 0, 6, 0, 0, 1, 9, 5, 0, 0, 0, 0, 9, _
8, 0, 0, 0, 0, 6, 0, 8, 0, 0, 0, 6, 0, 0, 0, 3, 4, 0, 0, 8, _
0, 3, 0, 0, 1, 7, 0, 0, 0, 2, 0, 0, 0, 6, 0, 6, 0, 0, 0, 0, _
2, 8, 0, 0, 0, 0, 4, 1, 9, 0, 0, 5, 0, 0, 0, 0, 8, 0, 0, 7, 9}
Private sGame As New SudokuGame(Me, gameNumbers)
Private Sub Form1_SizeChanged(sender As Object, e As EventArgs) Handles Me.SizeChanged
Me.Invalidate()
End Sub
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Me.DoubleBuffered = True
End Sub
End Class
Sudoku game class
Public Class SudokuGame
Public Property cellHeight As Integer = 20
Public Property cellWidth As Integer = 20
Public Property canvas As Control
Private center As New Point(200, 200)
Private mouseisDown As Boolean = False
Private numbers As New List(Of SudokuGame.NumberCell)
Private numberCells As New List(Of SudokuGame.NumberCell)
Private currentPT As Point = New Point(0, 0)
Private dFont As New Font("segoe script", 12)
Private mousex As Integer
Private mousey As Integer
Friend WithEvents EditTB As New RichTextBox With {.Parent = canvas, .BorderStyle = BorderStyle.None, .Visible = False, .Font = New Font("Consolas", 16), .MaxLength = 1, .Multiline = False, .ForeColor = Color.Red, .BackColor = Color.DarkGoldenrod}
Private editingIndex As Integer = 0
Public Function CanCommitChange(ByRef numbercells As List(Of NumberCell), ByRef numberCell As NumberCell) As Boolean
Dim cellRegionEnum As SudokuRegion = GetCellRegionEnum(numberCell)
Dim cellRegion As List(Of NumberCell) = Me.GetRegion(numbercells, cellRegionEnum)
Dim cellColumn As List(Of NumberCell) = Me.GetColumn(numbercells, numberCell.X)
Dim cellRow As List(Of NumberCell) = Me.GetRow(numbercells, numberCell.Y)
For Each nC As NumberCell In cellRegion
If nC.Value = numberCell.Value Then
If numberCell.Value = 0 Then Continue For
Return False
End If
Next
For Each nC As NumberCell In cellColumn
If nC.Value = numberCell.Value Then
If numberCell.Value = 0 Then Continue For
Return False
End If
Next
For Each nC As NumberCell In cellRow
If nC.Value = numberCell.Value Then
If numberCell.Value = 0 Then Continue For
Return False
End If
Next
Return True
End Function
Function colString(col As List(Of NumberCell)) As String
Dim s As String = String.Empty
For Each n As NumberCell In col
s = s & n.Value
Next
Return s
End Function
Public Function GetCellRegionEnum(numberCell As NumberCell) As SudokuRegion
Dim result As String = String.Empty
Dim tLregion As New List(Of Integer) From {0, 1, 2, 9, 10, 11, 18, 19, 20}
Dim tCregion As New List(Of Integer) From {3, 4, 5, 12, 13, 14, 21, 22, 23}
Dim tRregion As New List(Of Integer) From {6, 7, 8, 15, 16, 17, 24, 25, 26}
Dim cLregion As New List(Of Integer) From {27, 28, 29, 36, 37, 38, 45, 46, 47}
Dim cCregion As New List(Of Integer) From {30, 31, 32, 39, 40, 41, 48, 49, 50}
Dim cRregion As New List(Of Integer) From {33, 34, 35, 42, 43, 44, 51, 52, 53}
Dim bLregion As New List(Of Integer) From {54, 55, 56, 63, 64, 65, 72, 73, 74}
Dim bCregion As New List(Of Integer) From {57, 58, 59, 66, 67, 68, 75, 76, 77}
Dim bRregion As New List(Of Integer) From {60, 61, 62, 69, 70, 71, 78, 79, 80}
Select Case True
Case tLregion.IndexOf(numberCell.ArrayIndex) > -1 : Return SudokuRegion.TopLeft
Case tCregion.IndexOf(numberCell.ArrayIndex) > -1 : Return SudokuRegion.TopCenter
Case tRregion.IndexOf(numberCell.ArrayIndex) > -1 : Return SudokuRegion.TopRight
Case cLregion.IndexOf(numberCell.ArrayIndex) > -1 : Return SudokuRegion.CenterLeft
Case cCregion.IndexOf(numberCell.ArrayIndex) > -1 : Return SudokuRegion.CenterCenter
Case cRregion.IndexOf(numberCell.ArrayIndex) > -1 : Return SudokuRegion.CenterRight
Case bLregion.IndexOf(numberCell.ArrayIndex) > -1 : Return SudokuRegion.BottomLeft
Case bCregion.IndexOf(numberCell.ArrayIndex) > -1 : Return SudokuRegion.BottomCenter
Case bRregion.IndexOf(numberCell.ArrayIndex) > -1 : Return SudokuRegion.BottomRight
End Select
Return Nothing
End Function
Public Function GetColumn(numbercells As List(Of NumberCell), colNumber As Integer) As List(Of NumberCell)
Dim results As New List(Of NumberCell)
For i As Integer = colNumber To 80 Step 9
results.Add(numbercells(i))
Next
Return results
End Function
Public Function GetRow(numbercells As List(Of NumberCell), rowNumber As Integer) As List(Of NumberCell)
Dim start As Integer = rowNumber * 9
Dim results As New List(Of NumberCell)
For I As Integer = start To start + 8
results.Add(numbercells(I))
Next
Return results
End Function
Public Function RegionToString(numbercells As List(Of NumberCell), sRegion As SudokuRegion) As String
Dim region As List(Of NumberCell) = Me.GetRegion(numbercells, sRegion)
Dim sb As New System.Text.StringBuilder
For i As Integer = 1 To region.Count
sb.Append(region(i - 1).Value.ToString)
If i Mod 3 = 0 Then sb.Append(vbCrLf)
Next
Return sb.ToString
End Function
Private Function ZeroCount(s As String) As Integer
Dim result As Integer
For Each c As Char In s
If c = "0"c Then result += 1
Next
Return result
End Function
Public Function GetRegion(numbercells As List(Of NumberCell), region As SudokuRegion) As List(Of NumberCell)
Dim c As List(Of NumberCell) = numbercells
Select Case region
Case SudokuRegion.Top
Case SudokuRegion.TopCenter : Return {c(3), c(4), c(5), c(12), c(13), c(14), c(21), c(22), c(23)}.ToList
Case SudokuRegion.TopRight : Return {c(6), c(7), c(8), c(15), c(16), c(17), c(24), c(25), c(26)}.ToList
Case SudokuRegion.Center
Case SudokuRegion.CenterCenter : Return {c(30), c(31), c(32), c(39), c(40), c(41), c(48), c(49), c(50)}.ToList
Case SudokuRegion.CenterRight : Return {c(33), c(34), c(35), c(42), c(43), c(44), c(51), c(52), c(53)}.ToList
Case SudokuRegion.Bottom
Case SudokuRegion.BottomCenter : Return {c(57), c(58), c(59), c(66), c(67), c(68), c(75), c(76), c(77)}.ToList
Case SudokuRegion.BottomRight : Return {c(60), c(61), c(62), c(69), c(70), c(71), c(78), c(79), c(80)}.ToList
End Select
Return New List(Of NumberCell)
End Function
Public Enum SudokuRegion
TopLeft
TopCenter
TopRight
CenterLeft
CenterCenter
CenterRight
BottomLeft
BottomCenter
BottomRight
End Enum
Public Function renderSudakoCard(g As Graphics, center As Point, frameSize As Size, backColor As Color, numbers As List(Of NumberCell), font As Font) As List(Of NumberCell)
Dim results As New List(Of NumberCell)
Dim boldEveryNLines As Integer = 3
Dim BoldLines As Boolean = True
Dim rowCount As Integer = 9
Dim columnCount As Integer = 9
g.Clear(backColor)
Dim combo As String = "000000"
If rowCount Mod 2 = 1 Then combo = combo & "1" Else combo = combo & "0"
If columnCount Mod 2 = 1 Then combo = combo & "1" Else combo = combo & "0"
If cellHeight Mod 2 = 1 Then cellHeight += 1
If cellWidth Mod 2 = 1 Then cellWidth += 1
Select Case Convert.ToInt32(combo, 2)
Case 0
Dim centerX As Integer = center.X
Dim centerY As Integer = center.Y
Dim topY As Integer = centerY - ((rowCount \ 2) * cellHeight)
Dim bottomY As Integer = centerY + ((rowCount \ 2) * cellHeight)
Dim leftX As Integer = centerX - ((columnCount \ 2) * cellWidth)
Dim rightX As Integer = centerX + ((columnCount \ 2) * cellWidth)
RenderBackGround(g, topY, bottomY, leftX, rightX)
DrawLines(g, leftX, rightX, topY, bottomY, boldEveryNLines, BoldLines)
results.AddRange(DrawNumbers(g, numbers, topY, leftX, font))
Case 1
Dim centerX As Integer = center.X
Dim centerY As Integer = center.Y
Dim topY As Integer = centerY - ((rowCount \ 2) * cellHeight)
Dim bottomY As Integer = centerY + ((rowCount \ 2) * cellHeight)
Dim remainderColumns As Integer = (columnCount - 1) \ 2
Dim leftX As Integer = (centerX - (cellWidth \ 2)) - (remainderColumns * cellWidth)
Dim rightX As Integer = (centerX + (cellWidth \ 2)) + (remainderColumns * cellWidth)
RenderBackGround(g, topY, bottomY, leftX, rightX)
DrawLines(g, leftX, rightX, topY, bottomY, boldEveryNLines, BoldLines)
results.AddRange(DrawNumbers(g, numbers, topY, leftX, font))
Case 2
Dim centerX As Integer = center.X
Dim centerY As Integer = center.Y
Dim remainderRows As Integer = (rowCount - 1) \ 2
Dim topY As Integer = (centerY - (cellHeight \ 2)) - (remainderRows * cellHeight)
Dim bottomY As Integer = (centerY + (cellHeight \ 2)) + (remainderRows * cellHeight)
Dim leftX As Integer = centerX - ((columnCount \ 2) * cellWidth)
Dim rightX As Integer = centerX + ((columnCount \ 2) * cellWidth)
RenderBackGround(g, topY, bottomY, leftX, rightX)
DrawLines(g, leftX, rightX, topY, bottomY, boldEveryNLines, BoldLines)
results.AddRange(DrawNumbers(g, numbers, topY, leftX, font))
Case 3
Dim centerX As Integer = center.X
Dim centerY As Integer = center.Y
Dim remainderRows As Integer = (rowCount - 1) \ 2
Dim topY As Integer = (centerY - (cellHeight \ 2)) - (remainderRows * cellHeight)
Dim bottomY As Integer = (centerY + (cellHeight \ 2)) + (remainderRows * cellHeight)
Dim remainderColumns As Integer = (columnCount - 1) \ 2
Dim leftX As Integer = (centerX - (cellWidth \ 2)) - (remainderColumns * cellWidth)
Dim rightX As Integer = (centerX + (cellWidth \ 2)) + (remainderColumns * cellWidth)
RenderBackGround(g, topY, bottomY, leftX, rightX)
DrawLines(g, leftX, rightX, topY, bottomY, boldEveryNLines, BoldLines)
results.AddRange(DrawNumbers(g, numbers, topY, leftX, font))
End Select
Return results
End Function
Private Sub RenderBackGround(g As Graphics, topY As Integer, bottomY As Integer, LeftX As Integer, RightX As Integer)
Dim left As Integer = LeftX - 5
Dim top As Integer = topY - 5
Dim width As Integer = (RightX - left) + 5
Dim height As Integer = (bottomY - top) + 5
Dim backGround As New Rectangle(left, top, width, height)
g.FillRectangle(Brushes.White, backGround)
End Sub
Public Function GetCellAt(arr As List(Of NumberCell), location As Point) As NumberCell
Dim index As Integer = (location.Y * 9) + location.X
Return arr(index)
End Function
Private Sub DrawLines(g As Graphics, leftX As Integer, rightX As Integer, topY As Integer, bottomY As Integer, boldEveryNLines As Integer, boldLines As Boolean)
Dim cnt As Integer = 0
Dim sudPen As New Pen(Brushes.OliveDrab, 2)
For x As Integer = leftX To rightX Step cellWidth
Dim p1 As New Point(x, topY)
Dim p2 As New Point(x, bottomY)
If cnt Mod boldEveryNLines = 0 AndAlso boldLines = True Then
g.DrawLine(sudPen, p1, p2)
Else
g.DrawLine(Pens.Black, p1, p2)
End If
cnt += 1
Next
cnt = 0
For y As Integer = topY To bottomY Step cellHeight
Dim p1 As New Point(leftX, y)
Dim p2 As New Point(rightX, y)
If cnt Mod boldEveryNLines = 0 AndAlso boldLines = True Then
g.DrawLine(sudPen, p1, p2)
Else
g.DrawLine(Pens.Black, p1, p2)
End If
cnt += 1
Next
End Sub
Private Function DrawNumbers(g As Graphics, numbers As List(Of NumberCell), topY As Integer, leftX As Integer, font As Font) As List(Of NumberCell)
Dim results As New List(Of NumberCell)
Dim counter As Integer = 1
Dim txtY As Integer = topY + (cellHeight \ 2)
Dim locX As Integer = 0
Dim locY As Integer = 0
For I As Integer = 0 To numbers.Count - 1
Dim n As Integer = numbers(I).Value
Dim x As Integer = (leftX - (cellWidth \ 2)) + (cellWidth * counter)
Dim nString As String = n.ToString
Dim textSizeF As SizeF = g.MeasureString(nString, font)
Dim textSize As Size = New Size(CInt(textSizeF.Width), CInt(textSizeF.Height))
Dim nX As Integer = x - (textSize.Width \ 2)
Dim nY As Integer = txtY - (textSize.Height \ 2)
Dim cX As Integer = leftX + (cellWidth * counter) - cellWidth
Dim cy As Integer = txtY - (cellHeight \ 2)
Dim cR As New Rectangle(cX, cy, cellWidth, cellHeight)
Dim nCell As New NumberCell(n, I)
nCell.Locked = numbers(I).Locked
nCell.Bounds = cR
nCell.X = locX
nCell.Y = locY
results.Add(nCell)
locX += 1
counter += 1
If counter Mod 10 = 0 Then
txtY += cellHeight
locY += 1
locX = 0
counter = 1
End If
If n = Nothing OrElse n = 0 Then Continue For
If nCell.Locked = True Then
g.DrawString(nString, font, Brushes.Black, New Point(nX, nY))
Else
g.DrawString(nString, New Font(font.FontFamily, font.Size, FontStyle.Bold), Brushes.Green, New Point(nX, nY))
End If
Next
Return results
End Function
Public Class NumberCell
Public Property Bounds As New Rectangle
Public Property ArrayIndex As Integer
Public Property Value As Integer
Public Property Locked As Boolean = False
Public Property X As Integer
Public Property Y As Integer
Sub New(value As Integer, ArrayIndex As Integer)
Me.Value = value
Me.ArrayIndex = ArrayIndex
If value = 0 Then
Me.Locked = False
Else
Me.Locked = True
End If
End Sub
Public Function IntersectsWith(pt As Point) As Boolean
Return Bounds.IntersectsWith(New Rectangle(pt, New Size(1, 1)))
End Function
Public Shadows Function ToString() As String
Return String.Format("Value={0} ArrayIndex={1} {2} X={3} Y={4}", Me.Value, Me.ArrayIndex, Me.Bounds.ToString, Me.X, Me.Y)
End Function
End Class
Sub AddHandlers()
AddHandler canvas.MouseClick, AddressOf canvas_MouseClick
AddHandler canvas.Paint, AddressOf canvas_Paint
AddHandler canvas.MouseMove, AddressOf canvas_MouseMove
AddHandler canvas.MouseUp, AddressOf canvas_MouseUp
AddHandler canvas.MouseDown, AddressOf canvas_MouseDown
End Sub
Private Sub canvas_MouseClick(sender As Object, e As MouseEventArgs)
If e.Button = Windows.Forms.MouseButtons.Right Then Exit Sub
For Each n As SudokuGame.NumberCell In numberCells
If n.IntersectsWith(currentPT) Then
If Not n.Locked Then
If n.Value > 0 Then
EditTB.Text = n.Value.ToString
Else
EditTB.Text = ""
End If
EditTB.Visible = True
EditTB.Width = n.Bounds.Width - 1
EditTB.Height = n.Bounds.Height - 1
EditTB.Left = n.Bounds.X + 1
EditTB.Top = n.Bounds.Y + 1
EditTB.Focus()
EditTB.SelectionStart = 0
EditTB.SelectionLength = EditTB.Text.Length
editingIndex = n.ArrayIndex
Else
EditTB.Visible = False
End If
canvas.Invalidate()
Exit For
Else
End If
Next
End Sub
Private Sub canvas_Paint(sender As Object, e As PaintEventArgs)
canvas.Text = "Sudoku v0.1 by Paul Ishak"
numberCells = Me.renderSudakoCard(e.Graphics, center, canvas.ClientRectangle.Size, canvas.BackColor, numbers, dFont)
e.Graphics.DrawString("Use the RIGHT mouse button to drag the sudoku grid.", New Font("segoe script", 12), Brushes.Black, New Point(5, 5))
End Sub
Sub CommitChange()
If Not EditTB.Text = "" Then
Try
Dim tmp As SudokuGame.NumberCell = numberCells(editingIndex)
Dim intValue As Integer = 0
Integer.TryParse(EditTB.Text, intValue)
If intValue > 9 Then intValue = 9
Dim newCell As New SudokuGame.NumberCell(intValue, tmp.ArrayIndex)
newCell.Bounds = tmp.Bounds
newCell.Locked = tmp.Locked
newCell.X = tmp.X
newCell.Y = tmp.Y
If Me.CanCommitChange(numberCells, newCell) Then
numbers(editingIndex) = newCell
numberCells(editingIndex) = newCell
EditTB.Text = ""
EditTB.Visible = False
canvas.Invalidate()
Else
EditTB.Text = ""
EditTB.Visible = False
Beep()
canvas.Invalidate()
End If
Catch ex As Exception
MsgBox(ex.Message)
End Try
End If
End Sub
Public Function configureGame(gameNumbers As List(Of Integer)) As List(Of SudokuGame.NumberCell)
Dim result As New List(Of SudokuGame.NumberCell)
For I As Integer = 1 To 81
result.Add(New SudokuGame.NumberCell(gameNumbers(I - 1), I - 1))
Next
Return result
End Function
Private Sub canvas_MouseMove(sender As Object, e As MouseEventArgs)
Dim pt As Point = canvas.PointToClient(Control.MousePosition)
currentPT = pt
If mouseisDown Then
center = pt
canvas.Invalidate()
Else
End If
End Sub
Private Sub canvas_MouseUp(sender As Object, e As MouseEventArgs)
mouseisDown = False
End Sub
Private Sub canvas_MouseDown(sender As Object, e As MouseEventArgs)
If e.Button = Windows.Forms.MouseButtons.Right Then
EditTB.Visible = False
mouseisDown = True
ElseIf e.Button = Windows.Forms.MouseButtons.Left Then
End If
End Sub
Private Sub EditTB_KeyDown(sender As Object, e As KeyEventArgs) Handles EditTB.KeyDown
Select Case True
Case e.KeyCode = Keys.Enter
End Select
End Sub
Private Sub EditTB_KeyUp(sender As Object, e As KeyEventArgs) Handles EditTB.KeyUp
CommitChange()
End Sub
Sub New(canvas As Control, gameNumbers As List(Of Integer))
Me.canvas = canvas
EditTB.Parent = canvas
AddHandlers()
numbers = configureGame(gameNumbers)
End Sub
End Class
“If you want something you've never had, you need to do something you've never done.”
Don't forget to mark
helpful posts and answers
! Answer an interesting question? Write a
new article
about it! My Articles
*This post does not reflect the opinion of Microsoft, or its employees.Have you tried searching for the error message? A few min on google gives some useful advice.
http://stackoverflow.com/questions/14527201/vhdl-assigning-default-values
"All entity inputs must have either a signal driving them, or a default value specified in the entity declaration." -
SUDOKU (résolutio​n avec LV)
Résolution des Sudoku avec LV.
Ce VI utilise un algorithme de réflexion associé à un algorithme de backtraking. (100% home made)
Il agit comme nous le ferions nous mêmes, par déductions, éliminations, recoupements
et ... retour arrière en cas de "cul de sac".
Les Sudoku "faciles" utilisent peu le backtraking. (pas du tout pour certains)
Plus un Sudoku est difficile, plus il possède de solutions différentes.
Celui que j'ai placé en "valeur par défaut d'entrée" est un exemple de Sudoku très difficile.
Une horreur à résoudre, pour reprendre les termes de certains (je l'ai trouvé sur le Net)
Ce Sudoku possèdent 2756 solutions différentes.
Ce VI trouve la 1ere solution en 23 ms ... et les 2756 en un peu plus de 9 sec (Q6600 - 2.6Ghz)
Possibilités:
input - votre sudoku à résoudre.
trouver une solution (la 1ere)
trouver toutes les solutions.
Faire pause (une fois que vous avez appuyé sur Pause, le petit bouton blanc permet de visualiser les solutions une par une)
Le VI principal est : SUDOKU.vi
Pour le tester rapidement ... lancer le vi et run
1) start : il vous trouve la 1ere solution
2) basculer l'interrupteur sur "all solutions" ... start ... il trouvera les 2756 solutions.
voilou.
Sur ce coup là ... me suis encore bien amusé
Résolu !
Accéder à la solution.
Pièces jointes :
main = SUDOKU.vi.zip 194 KBIl y a une règle pour interdire les groupes non anglophone?
1) mon dieu ... que cela est bien difficle d'exprimer quelque chose ... de simple et de simplement dit.
Je comprends que ceux qui travaillent sous LabVIEW tout ou partie de la journée aient envie de faire autre chose une fois chez eux.
2) Je comprends parfaitement également, Il s'agissait d'un simple constat. (voir point 1)
https://decibel.ni.com/content/docs/DOC-6108
J'ai trouvé ceci sur le Net ... joli morceau de code ! très jolie cette solution récursive ...
Mais ... mon algo va 5 fois plus vite. Résolution de la 1ere solution : 138ms contre 27ms.
Cet algo récursif utilise également le backtraking, mais devant une impasse, il essaye "simplement" le nombre suivant.
De mon côté, je calcule les possibilités pour chaque cases et à chaque instant,
et quand je reviens en arrière, je ne passe pas "simplement" au nombre suivant ... mais au nombre suivant "possible" ! -
Is it possible to create a java program which can find the answer to any sudoku
This is may sound as a beginner question but thats because i am a beginner. i have just learned the java language and now i am reading essential classes on oracle tutorials.
anyway is this possible ? i think it is and i have been trying to do it but havent been sucessful. and if it is possible is it supposed to be easy ?
i have been trying to do it by making a 2d array of 8 arrays having 8 ints each which is basically a sudoku. and creating a 1d array called possiblity having nos from 1 to 9. then using decision making statements and loops to eliminate the possiblities of each box and repeating until the sudoku is complete
also if you could provide some project ideas that would be really appreciated.
(PS i am still an intermediate at best so please dont provide very difficult project ideas)f1b8d129-b881-44f7-a736-5eef31471720 wrote:
This is may sound as a beginner question but thats because i am a beginner. i have just learned the java language and now i am reading essential classes on oracle tutorials.
anyway is this possible ?
Yes.
i think it is and i have been trying to do it but havent been sucessful. and if it is possible is it supposed to be easy ?
Maybe.
It should be easy to do a "brute force attack" to find the solution meaning that you simply try each and every possibility.
i have been trying to do it by making a 2d array of 8 arrays having 8 ints each which is basically a sudoku. and creating a 1d array called possiblity having nos from 1 to 9. then using decision making statements and loops to eliminate the possiblities of each box and repeating until the sudoku is complete
shouldn't there be 9 sqares with 9 fields each?
also if you could provide some project ideas that would be really appreciated.
But an array of primitives (int?) will not do the trick. Somehow you have to remember wich positions are fixed. and which numbers are still availabe for the current sqare.
At your level the most obvisual approach may be a second array holding this information.
I'd prefer to build a cusom object representing a square and another custom object to represent a field within this square with two attributes: currentNumber and isFix.
Based on this the Sqare object could have a method to create a new combination by shifting the numbers that are not fix.
If you need further assistance please show the code you have and what problem(s) you have with it.
bye
TPD
Maybe you are looking for
-
Lossless quality in the future? (and how do you burn a pink floyd album?)
$9.99 for an album is very impressive, yet there are some problems that keep me from buying albums from the music store which I would like answered. -Will Apple ever give customers the option to download music in lossless formats? Until they do, I wi
-
How can i make factory reset to may macbook pro
hey, how can i make factory reset to my macbook pro
-
Retry failed task through OIM API
Hi everyone, I am trying to retry a failed task of particular resource. Can some one throw some light on how to do this? Thanks, Ani
-
Android open pdf at particular page
Hi I am developing an Android app in which I want to open PDF at a specific page. Is it possible by mentioning the same in Intent parameters or specific Adobe Pramaters. Thanks !
-
Post Installation steps of SAP Data services
Hi, Could someone provide screenshots/steps of the post installation of SAP Data services on Unix. Thanks, Rajiv