I was reading the school newspaper on Friday and saw the sudoku section, and it came to me that I've never coded sudoku before, so I decided to give it a shot in my first hackathon.

It plays sudoku with 4 difficulties, each difficulty has less numbers than the last.

I first have to come up with a solver that can crack any sudoku puzzle (with some given restraints). I then randomly took out numbers from a solved sudoku square and presented it to the player in the terminal. Then, I added some actions that can allow the player to control the board, like erasing numbers, writing numbers, giving a hint, checking the board or quitting.

The sudoku solver part was the hardest because I have to look inside a recursion mechanic.

This is the first time I've competed in a hackathon, so yay me for completing this on time I guess :D I also tried to make wordle but I was exhausted so this is the only minigame I made. The original plan was to have multiple games on the terminal.

There's colors that I can put in the terminal that ended up helping with the display! Also, it takes a lot of energy to participate in one of these.

More terminal games like chess, wordle, mahjong or something like that.

Built With

Share this project:

Updates