Make a Sudoku Solver App! | How to make a Sudoku solver in Android Studio | Part 2

preview_player
Показать описание
In this video, you will learn how to create an app that is capable of solving Sudoku puzzles in Android Studio using Java. This Sudoku puzzle solver will be able to solve any puzzle you put into it quickly. We will be utilizing backtracking as the core of our puzzle-solving logic.

We will be covering some of the core functions and techniques used for app development in Android Studio. This tutorial is designed for beginners trying to get started in app development with Android devices being the primary target.

Android Studio is a great platform for creating apps that can be deployed on the google play store. If you're new to the series I'd go and check out the Android Studio Playlist. There you will be able to see how to create basic apps so you can become a developer.

Join the Discord Server!!!

Check out the Android development playlist for more videos like this!

#androidstudio #appdevelopment #PracticalCoding
Рекомендации по теме
Комментарии
Автор

This method is so much better!! I had initially made 81 edittext to make the board. Such a stupid method. I didn't know we can make our own views. Thank you so much!!

anandAb
Автор

Hi @Practical Coding hope you are doing well. I've implemented all points and looking for notes part(like pencil marks) to enter in a cell. My request, could you please make a video on the notes or give me some suggestion, it helps me a lot as I'm unable to do and have been trying it for last few days to implement notes in a selected cell but no luck. I had posted about it on stackoverflow and you can search it for more information - How to enter Sudoku game notes in a 9x9 cell - Android studio

ashokg
Автор

Heyo!

you dont actually need 2 methods for drawing the line. the following works well:

private void drawLine(boolean thick) {
int thickness=thick?10:4;



}

scyye-gaming
Автор

I've copied your code from top to bottom (obviously the file location isn't the same), everything is working except when I start clicking the cells nothing is being highlighted when I run the app.

simongatuz
Автор

How can I highlight each subgrid without painting the row and column again?

tothpeter
Автор

Hi, thank you for your coding videos.
I'm trying to add some functions to the code but couldn't succeed. Could you please help me in this regard.
I made auto fill some cells to the board to solve remaining empty cells. I'm trying to add some functions to the game as below:
1) How to erase entered cell number in empty box(unlocked) - I tried to write code but when I click erase button the already filled(locked) cells also erasing on cell selection.
2) How to implement Undo and Redo on button clicks - I tried using Arraylist but I couldn't succeed.
3) How to implement Hints for empty cells.

Please help me and try to make a video on this that would be very helpful. I have been trying to get them for last few days and finally I decided to get help from you. Looking forward for help..

Once again your explanation and videos are excellent and thank you for your support.

ashokg
Автор

is there a reason why it works in one device and no in another?

it happened to me that in one device show me the grid fine but when I click doesn't show me the color neither the block selected.

otherwise, in other device doesn´t show me the grid correctly but the click action works fine.

?

hernaldovaleriopineda
Автор

hello, could you explain in short why are we dividing x and y coordinates with the cellSize in Math.ceil() function thanks.

vipulsharma
Автор

Hey whenever I click anywhere on board only 3rd row gets highlighted all in light blue no columns gets highlighted and no cell gets highlighted in dark blue.

HimanshuSingh-ysrg
Автор

My cells are not changing color when I tap.

RedHead_Dev
Автор

hello, i follow all the steps but nothing happens on click

topalaandreea
Автор

give your social media handle / instagram

rahulnavgire