0 0 0 0 0 0 0 0 0
0 3 1 8 0 0 7 0 0
0 0 9 0 0 7 0 6 0
0 4 0 0 0 5 0 0 1
0 7 0 0 6 0 0 2 0
5 0 0 1 0 0 0 4 0
0 5 0 3 0 0 4 0 0
0 0 2 0 0 6 3 8 0
0 0 0 0 0 0 0 0 0
Here is your completed Suduko Puzzle
7 2 5 6 3 1 8 9 4
6 3 1 8 4 9 7 5 2
4 8 9 2 5 7 1 6 3
2 4 6 7 8 5 9 3 1
1 7 3 9 6 4 5 2 8
5 9 8 1 2 3 6 4 7
8 5 7 3 9 2 4 1 6
9 1 2 4 7 6 3 8 5
3 6 4 5 1 8 2 7 9
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
int[][] board = {
{1,2,3,4,5,6,7,8,9},
{1,2,3,4,5,6,7,8,9},
{1,2,3,4,5,6,7,8,9},
{1,2,3,4,5,6,7,8,9},
{1,2,3,4,5,6,7,8,9},
{1,2,3,4,5,6,7,8,9},
{1,2,3,4,5,6,7,8,9},
{1,2,3,4,5,6,7,8,9},
{1,2,3,4,5,6,7,8,9},
};
49 50 51 52 53 54 55 56 57
10 49 50 51 52 53 54 55 56
57 10 49 50 51 52 53 54 55
56 57 10 49 50 51 52 53 54
55 56 57 10 49 50 51 52 53
54 55 56 57 10 49 50 51 52
53 54 55 56 57 10 49 50 51
52 53 54 55 56 57 10 49 50
51 52 53 54 55 56 57 10 49
int[][]board = new int[9][9];
try {
File file = new File("keiron.sud");
FileReader fileReader = new FileReader(file);
BufferedReader bufferedReader = new BufferedReader(fileReader);
StringBuffer stringBuffer = new StringBuffer();
String line;
while ((line = bufferedReader.readLine()) != null) {
stringBuffer.append(line);
stringBuffer.append("\n");
}
fileReader.close();
String data = stringBuffer.toString();
int numberIntegers = data.length();
int counter = 0;
for (int i = 0; i < 9; i++) {
for (int j = 0; j < 9; j++) {
int integer = data.charAt(counter);
counter++;
board[i][j] = integer;
}
}
} catch (FileNotFoundException e) {
System.out.println("FileNotFound");
e.printStackTrace();
System.exit(0);
} catch (IOException e) {
System.out.println("IOException");
e.printStackTrace();
}
public static void main(String[]args) throws IOException {
int[][] board = new int[9][9];
File file = new File ("keiron.sud");
FileReader fileReader = new FileReader(file);
BufferedReader bufferedReader = new BufferedReader(fileReader);
StringBuffer stringBuffer = new StringBuffer();
String newline;
while ((newline = bufferedReader.readLine()) != null) {
stringBuffer.append(newline);
stringBuffer.append("\n");
}
fileReader.close();
String data = stringBuffer.toString();
int counting = data.length();
int counter = 0;
int i,j;
for(i = 0; i<9; i++) {
for (j =0; j < 9; j++) {
int numbers = data.charAt(counter);
counter++;
board[i][j] = numbers;
}
}
Print(board);
}
49 50 51 52 53 54 55 56 57
10 49 50 51 52 53 54 55 56
57 10 49 50 51 52 53 54 55
56 57 10 49 50 51 52 53 54
55 56 57 10 49 50 51 52 53
54 55 56 57 10 49 50 51 52
53 54 55 56 57 10 49 50 51
52 53 54 55 56 57 10 49 50
51 52 53 54 55 56 57 10 49
Now working on this for a local cafe:
~~C&G Cafe Img~~
In browser if you prefer: http://cordialandgrace.jonesmillbank.com
I'm just polishing this off at the moment http://delta.globotek.net.
Has got a tonne of cool coding in the background to handle data and automate the site as much as possible. Ripped WooCommerce apart to make the ecommerce functionality and the countdown timer on the homepage was fun. Deletes the event once the clock hits zero and loads up the next one.
Really liking this mate, nice work!
What you using to achieve the image rotation on the front page?
I then took the easy route of using wordpress themes... However I have recently started thinking about a new personal project and want to start getting to grips with web design again and want to eventually design a nice looking site myself (until i have the skill to do so i will use wordpress)
There's nothing wrong with using wordpress. It has a reputation as a bit of a nooby system but i think that's just because the sites you see which are obviously using wordpress are the ones that use the default theme built by people who dont know how to do much more. There are a lot of wordpress sites with custom built designs which you wouldnt notice were built in wordpress unless you look into the source code.
Wordpress is just a content management system like any other CMS, you can do whatever you want with the design.
The default themes make it easy to build a site quickly but once you know html/css you can build your own design entirely from scratch.
I know there is nothing wrong with wordpress, been using it for years - but I want to learn how to use HTML and CSS to make sites from scratch on my own![]()