Windows 10: Are there ways to speed up Sudoku?

Discus and support Are there ways to speed up Sudoku? in Windows 10 Gaming to solve the problem; Hi. Sudoku is running very slowly. I noticed it works for a little while right after the add changes, but then it stops working for several seconds.... Discussion in 'Windows 10 Gaming' started by alfranco17, Mar 9, 2019.

  1. Are there ways to speed up Sudoku?


    Hi.


    Sudoku is running very slowly. I noticed it works for a little while right after the add changes, but then it stops working for several seconds. It is very annoying and reduces the time to complete an expert puzzle.


    Is there anything I can do to make it go faster, as it used to be?


    Thanks.

    Armando.

    :)
     
    alfranco17, Mar 9, 2019
    #1
  2. GSquadron Win User

    Java sudoku

    A friend of mine gave me a java sudoku ready, i just modified the main part but looks like it
    doesn't show up anything (used the code in neatbeans and in eclipse too):
    Code: package javaapplication2; import java.util.*; public class Main { public static void main(String args[]){} Random generator = new Random(); int[] serie = new int[9]; int[][] sudoku = new int[9][9]; int[][] select = new int[9][9]; int livello; public Main(int livello) { this.livello = livello; for (int i=0; i<9; i++) { for (int j=0; j<9; j++) { select[j] = -1; } } for (int i=0; i<9; i++) { for (int j=0; j<9; j++) { sudoku[j] = -1; } } for (int i=0; i<9; i++) { serie = -1; } } private void genArray() { int numCas = Math.abs(generator.nextInt(9))+1; for (int i=0; i<9;i++) { if (i==0) { serie = numCas; } else { while (serie[0] == numCas || serie[1] == numCas || serie[2] == numCas || serie[3] == numCas || serie[3] == numCas || serie[4] == numCas || serie[5] == numCas || serie[6] == numCas || serie[7] == numCas || serie[8] == numCas) { numCas = Math.abs(generator.nextInt(9))+1; } serie = numCas; } } } private void generateSudoku() { for (int i=0; i<9; i++) { if (i==0) { for (int k=0; k<9; k++) { sudoku[k] = serie[k]; } } else if (i==2) { for (int k=0; k<6; k++) { sudoku[k+3] = serie[k]; } for (int k=0; k<3; k++) { sudoku[k] = serie[k+6]; } } else if (i==1) { for (int k=0; k<3; k++) { sudoku[k+6] = serie[k]; } for (int k=0; k<6; k++) { sudoku[k] = serie[k+3]; } } else if (i==3) { for (int k=0; k<8; k++) { sudoku[k+1] = serie[k]; } for (int k=0; k<1; k++) { sudoku[k] = serie[k+8]; } } else if (i==5) { for (int k=0; k<5; k++) { sudoku[k+4] = serie[k]; } for (int k=0; k<4; k++) { sudoku[k] = serie[k+5]; } } else if (i==4) { for (int k=0; k<2; k++) { sudoku[k+7] = serie[k]; } for (int k=0; k<7; k++) { sudoku[k] = serie[k+2]; } } else if (i==6) { for (int k=0; k<7; k++) { sudoku[k+2] = serie[k]; } for (int k=0; k<2; k++) { sudoku[k] = serie[k+7]; } } else if (i==8) { for (int k=0; k<4; k++) { sudoku[k+5] = serie[k]; } for (int k=0; k<5; k++) { sudoku[k] = serie[k+4]; } } else if (i==7) { for (int k=0; k<1; k++) { sudoku[i][k+8] = serie[k]; } for (int k=0; k<8; k++) { sudoku[i][k] = serie[k+1]; } } } for (int i=0; i<9; i++) { for (int j=0; j<9; j++) { System.out.print(sudoku[i][j] + " "); } System.out.println(""); } arrange(); for (int i=0; i<9; i++) { for (int j=0; j<9; j++) { System.out.print(sudoku[i][j] + " "); } System.out.println(""); } } private void arrange() { int cas = Math.abs(generator.nextInt(3)); for (int i=0; i<9; i++) { if (cas == 0) { if (i == 0) { swap0(i); } else if (i == 3) { swap0(i); } else if (i == 6) { swap0(i); } } else if (cas == 1) { if (i == 0) { swap1(i); } else if (i == 3) { swap1(i); } else if (i == 6) { swap1(i); } } else if (cas == 2) { if (i == 0) { swap2(i); } else if (i == 3) { swap2(i); } else if (i == 6) { swap2(i); } } cas = Math.abs(generator.nextInt(3)); } } private void swap0(int pivot) { int aux; for (int j=0; j<9; j++) { aux = sudoku[pivot][j]; sudoku[pivot][j] = sudoku[pivot+1][j]; sudoku[pivot+1][j] = aux; aux = sudoku[pivot+1][j]; sudoku[pivot+1][j] = sudoku[pivot+2][j]; sudoku[pivot+2][j] = aux; } for (int j=0; j<9; j++) { aux = sudoku[j][pivot]; sudoku[j][pivot] = sudoku[j][pivot+2]; sudoku[j][pivot+2] = aux; } } private void swap1(int pivot) { int aux; for (int j=0; j<9; j++) { aux = sudoku[pivot][j]; sudoku[pivot][j] = sudoku[pivot+2][j]; sudoku[pivot+2][j] = aux; aux = sudoku[pivot+1][j]; sudoku[pivot+1][j] = sudoku[pivot+2][j]; sudoku[pivot+2][j] = aux; } for (int j=0; j<9; j++) { aux = sudoku[j][pivot]; sudoku[j][pivot] = sudoku[j][pivot+1]; sudoku[j][pivot+1] = aux; aux = sudoku[j][pivot+1]; sudoku[j][pivot+1] = sudoku[j][pivot+2]; sudoku[j][pivot+2] = aux; } } private void swap2(int pivot) { int aux; for (int j=0; j<9; j++) { aux = sudoku[pivot][j]; sudoku[pivot][j] = sudoku[pivot+2][j]; sudoku[pivot+2][j] = aux; } for (int j=0; j<9; j++) { aux = sudoku[j][pivot]; sudoku[j][pivot] = sudoku[j][pivot+2]; sudoku[j][pivot+2] = aux; aux = sudoku[j][pivot+1]; sudoku[j][pivot+1] = sudoku[j][pivot+2]; sudoku[j][pivot+2] = aux; } } public void select() { int numX; int numY; genArray(); generateSudoku(); if (livello == 0) { for (int i=0; i<30; i++) { numX = Math.abs(generator.nextInt(9)); numY = Math.abs(generator.nextInt(9)); while (select[numX][numY] != -1) { numX = Math.abs(generator.nextInt(9)); numY = Math.abs(generator.nextInt(9)); } select[numX][numY] = sudoku[numX][numY]; } } else if (livello == 1) { for (int i=0; i<20; i++) { numX = Math.abs(generator.nextInt(9)); numY = Math.abs(generator.nextInt(9)); while (select[numX][numY] != -1) { numX = Math.abs(generator.nextInt(9)); numY = Math.abs(generator.nextInt(9)); } select[numX][numY] = sudoku[numX][numY]; } } else if (livello == 2) { for (int i=0; i<10; i++) { numX = Math.abs(generator.nextInt(9)); numY = Math.abs(generator.nextInt(9)); while (select[numX][numY] != -1) { numX = Math.abs(generator.nextInt(9)); numY = Math.abs(generator.nextInt(9)); } select[numX][numY] = sudoku[numX][numY]; } } try { notifyAll(); } catch (Exception e) { } for (int i=0; i<9; i++) { for (int j=0; j<9; j++) { System.out.print(sudoku[i][j] + " "); } System.out.println(""); } } }[/quote] Where the problem is here? It compiles perfectly! Nothing shows on the screen *Confused Are there ways to speed up Sudoku? :confused:[/i][/i][/i][/i][/i]
     
    GSquadron, Mar 9, 2019
    #2
  3. Sasqui Win User
    Overclocking / Undervolting guide for Vega 56 or 64?

    Here's a quick laundry list:

    List of software to use for overclocking and testing
    Examples:
    Wattman (and how to find and use it, like an overview, including profiles)
    Unigine Valley or Heaven (use this for quick testing while changing settings in Wattman and checking for stability / artifacts) ...just suggesting this
    How to monitor cores / mem speeds and temps during testing (I've seen screen overlays, and others using GPUz)

    Step-by step overclocking in Wattman
    Fan speeds
    Power limit
    Temp limit
    Voltages
    Core speeds
    Memory speeds
     
    Sasqui, Mar 9, 2019
    #3
  4. rjacdb Win User

    Are there ways to speed up Sudoku?

    Is there a way to speed dial WITHOUT having to confirm the call? SPEED DIAL

    Is there any way to make a call, speed dial, to any person in your contact list, favorites list, etc. WITHOUT receiving the message "Dial Jane Doe 555-123-4567? CALL-----DON'T CALL"?

    I have people that I would like to call just by touching the contact but the phone has me (1) search the contact whether in phone tile or people tile, (2) then I must tap the contact, (3) then I must dial the contact, and (4) I must confirm that this is
    the number I want to call. RIDCULOUS!!

    I've downloaded (many) apps that have been suggested by other users but none have the feature. The Nokia Lumia 1020 and Windows phones are great devices but the Simplicity to use is gone in some cases. It's already been suggested to me that I should use
    the "voice dial"; that's not the answer I'm looking for. I'm looking for a Simple, one touch, manual speed dial.

    Is there any way to make a call, speed dial, to any person in your contact list, favorites list, etc. WITHOUT receiving the message "Dial Jane Doe 555-123-4567? CALL-----DON'T CALL"?

    Thanks for any help
     
    rjacdb, Mar 9, 2019
    #4
Thema:

Are there ways to speed up Sudoku?

Loading...
  1. Are there ways to speed up Sudoku? - Similar Threads - Are ways speed

  2. Is there a way to speed up account recovery?

    in Windows Hello & Lockscreen
    Is there a way to speed up account recovery?: So, I've been trying to sign into my Microsoft account on my new used windows 10 laptop. But apparently this caused some sort of issue with my account despite logging in at the same IP address. I've got work to do and can't really afford to wait the 30 days microsoft says it...
  3. Is there a way to speed up account recovery?

    in Windows 10 Gaming
    Is there a way to speed up account recovery?: So, I've been trying to sign into my Microsoft account on my new used windows 10 laptop. But apparently this caused some sort of issue with my account despite logging in at the same IP address. I've got work to do and can't really afford to wait the 30 days microsoft says it...
  4. Is there a way to speed up account recovery?

    in Windows 10 Software and Apps
    Is there a way to speed up account recovery?: So, I've been trying to sign into my Microsoft account on my new used windows 10 laptop. But apparently this caused some sort of issue with my account despite logging in at the same IP address. I've got work to do and can't really afford to wait the 30 days microsoft says it...
  5. Ways to Speed up the security info update!

    in Windows 10 Gaming
    Ways to Speed up the security info update!: Hello there,Recently, I changed my contact number on my Microsoft Account. Now, I would like to access the recovery keys aka.ms/myrecoverykey site for the Bitlocker keys as my drives are locked somehow. When I try to access this site, I'm getting the below window.I don't have...
  6. Ways to Speed up the security info update!

    in Windows 10 Software and Apps
    Ways to Speed up the security info update!: Hello there,Recently, I changed my contact number on my Microsoft Account. Now, I would like to access the recovery keys aka.ms/myrecoverykey site for the Bitlocker keys as my drives are locked somehow. When I try to access this site, I'm getting the below window.I don't have...
  7. Any way to speed up log in time?

    in Windows 10 Ask Insider
    Any way to speed up log in time?: I’ve had my windows 10 system for a year and over that time the log in time has increased to just about 10 minutes. Is there a way to speed this up to how it was this time last year? submitted by /u/Treasurejam86 [link] [comments]...
  8. Best way to speed up computer.

    in Windows 10 Ask Insider
    Best way to speed up computer.: I've been reading a lot about how windows 10 will get slower over time. What's the best way to speed the computer up again? I've seen a lot about how you should reinstall windows, but I would prefer another option. submitted by /u/FeenixFobia [link] [comments]...
  9. is there a way to speed up updates while it is updating?

    in Windows 10 Installation and Upgrade
    is there a way to speed up updates while it is updating?: I'm not sure if this is in the right category but I have a windows 10 laptop. is there any way to speed updateswhile it is updating? https://answers.microsoft.com/en-us/windows/forum/all/is-there-a-way-to-speed-up-updates-while-it-is/e98d7a9a-e9d4-4a66-9062-851ba8c89168
  10. Best way to speed up PC?

    in Windows 10 Performance & Maintenance
    Best way to speed up PC?: What’s the best way to speed up a slow PC without using any of the conventional methods, i.e. downloading optimizers, disk cleanup, restore/factory reset, etc.? Any help is appreciated. Thanks! Steve 114916