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

preview_player
Показать описание
In this video, we will finish up the sudoku soler app by writing the method that solves the game board along with a method that can reset the board so another one can be placed in.

In this series, 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
Рекомендации по теме
Комментарии
Автор

I made it. Thank ypu. Your tutorial was very structured, clear and fit my own tempo pretty well.

As an improvement I suggest a little sound, when you show text to correct an error, that you will find later. I sometimes listen to the idea, type along and miss the correction, but discover the error earlier and question AS, the world and my sanity.
Also you could pin comments, which mention errors/mistake people encountered and their solution.

jito
Автор

HVALA MAJSTORE!
ŽIV I ZDRAV BIO! I JEBEM TE JA ZA OVO ŠTO MJENJAŠ KOD DOK NE SNIMAŠ!!! POZDRAV IZ OSIJEKA ZA SVE KOJI ME ZNAJU

stjepandzojic
Автор

Hi, I'm 78 years old and live in Hull England. Rather than doing jig saw puzzels and reading during lock down I am learning Java. I have finished your tutorials and Sudoku works fine. Thank you. I enjoyed your teaching style. Also for me, although others might not agree was that you never made the source code available. All that does is make me profient in Copy and Past. By having to type in all the code and making mistakes and going over the code again and again teaches me the syntax of the language. I am going to try and add some features to you code. One to generate puzzels, but to date I cannot find the algorithym, another thought is to load in some puzzels. I expect this sounds easier than it is going to be.

tlfmkdc
Автор

best playlist sir...Thank you for your great work!

harshchhikara
Автор

Very detailed on explaining your code. I am very appriciated. Keep up the good work

gamigforgamers
Автор

Thanks man😄, you have amazing teaching skills, you should make more such small projects in future.

technicaljethya
Автор

This is best tutorial =)))) If I want to generate a random sudoku board, what should I do in Solver class and SudokuBoard class? please tell me your idea. Thank you so much.

tungdinhhoang
Автор

Hello: Very good code, running smoothly, thank you,
I want to know what should be changed if the input is a picture instead of a number? Thanks!

Audrey-ovkg
Автор

This is best tutorial so far I hv seen.. you are amazing...!!!
Ques : instead of entering the puzzle by user, can somehow we use camera to scan the puzzle and solve it ? is it possible ?

shanngams
Автор

So I added some features to this, adding a file reader that reads a sudoku board in for me. How could I keep the color black for the board from the text file and change the color for the numbers the user puts it to solve the board?

stevenmanno
Автор

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
Автор

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
Автор

The video is awesome but i'm just starting to learn and am having a bit of trouble, is there somewhere we can get the source code for this exercise? Thank you

hiddlestontom
Автор

How do we show a some amount number when the user open this app according to the difficulty level?

ahmetyildiz
Автор

Hey, can i get some help, i followed everything but there seems to be something wrong. I have sent more info on discord can you please check it and help me.

psycovenom
Автор

I follow all the code. After completing this whole project, when i try to solve your hard sudoku or any hard sudoku, everytime it crashes. In logcat it shows



How to solve this?

fahimakhatun