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. sudoku quest

    in Windows 10 Customization
    sudoku quest: sudoku quest fails to load both on Edge & Chrome recent issue why? https://answers.microsoft.com/en-us/windows/forum/all/sudoku-quest/b42f00a7-b6d0-45d2-a647-dca107487f93
  3. Speeding up computer

    in Windows 10 Customization
    Speeding up computer: Hi;I kindly wanna ask how I can increase the speed of my laptop which uses windows 10 and was bought around five months ago? https://answers.microsoft.com/en-us/windows/forum/all/speeding-up-computer/7c4dfde2-c2c0-4118-a465-598ff22307dc
  4. Sudoku game

    in Windows 10 Gaming
    Sudoku game: Why? When solitaire ad shows up. [ATTACH] https://answers.microsoft.com/en-us/windows/forum/all/sudoku-game/7ec72e3b-3484-45b8-b4fe-5c8d74a00df7
  5. SUDOKU

    in Windows 10 Gaming
    SUDOKU: It is now october and this issue is still raising its head. I can't log in to sudoku!!!! I had this problem a couple of months ago and followed instructions that sorted it, by checking for updates. It has happened again this month and nothing i do solves the problem which...
  6. sudoku

    in Windows 10 Gaming
    sudoku: It is now october and this issue is still raising its head. I can't log in to sudoku!!!! I had this problem a couple of months ago and followed instructions that sorted it, by checking for updates. It has happened again this month and nothing i do solves the problem which...
  7. Sudoku login

    in Windows 10 Software and Apps
    Sudoku login: For a long time I've had problems getting automatic logon when starting the game. Sometimes a computer restart helps. Today I was referred to Xbox to logon and then restart the game. Didn't work. Today nothing seems to help....
  8. speed up downloading

    in Windows 10 BSOD Crashes and Debugging
    speed up downloading: my pc is typing slowly and downloading is taking a long time nor gives error message https://answers.microsoft.com/en-us/windows/forum/windows_10-performance/speed-up-downloading/818265cd-e55d-43d9-9b39-d3f42106d0a5
  9. 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
  10. 5 ways to speed up Chrome: Tips for power users and newbies

    in Browsers and Email
    5 ways to speed up Chrome: Tips for power users and newbies: By turning a few dials you can make the browsing experience even zippier. 5 ways to speed up Chrome: Tips for power users and newbies | PCWorld 80273