Comments (6)
I did my PR's with help of my own sudoku solver that I wrote, I will post it at the end.
from commit-sudoku.
@rain-1 Interesting, how does it deal with multiple solutions?
from commit-sudoku.
it just fills in everything it can be sure of and stops there.
from commit-sudoku.
Let's do another one. Maybe a different size? A different game entirely?
from commit-sudoku.
Perhaps a variant of Sudoku? See: https://en.wikipedia.org/wiki/Glossary_of_Sudoku#Sudoku_variants
Btw the first one is done! 🎉
1 | 5 | 7 | 2 | 9 | 6 | 8 | 3 | 4 |
8 | 9 | 2 | 3 | 4 | 5 | 6 | 1 | 7 |
4 | 3 | 6 | 1 | 8 | 7 | 2 | 5 | 9 |
7 | 4 | 1 | 6 | 5 | 2 | 3 | 9 | 8 |
9 | 2 | 8 | 7 | 3 | 4 | 5 | 6 | 1 |
3 | 6 | 5 | 8 | 1 | 9 | 4 | 7 | 2 |
6 | 8 | 4 | 9 | 7 | 3 | 1 | 2 | 5 |
2 | 1 | 9 | 5 | 6 | 8 | 7 | 4 | 3 |
5 | 7 | 3 | 4 | 2 | 1 | 9 | 8 | 6 |
from commit-sudoku.
Good job everyone. It's gone better than I had hoped, except we didn't get into a dead-end, what would have been interesting to resolve.
I want to try something a little different next, starting in a new repo. I don't know what that should be yet.
There were some properties of the game that I liked :
- Easy to get into: everyone already knows the rules of Sudoku.
- Easy to contribute: no additional tooling needed to send a pull request. (This probably generates the most complaints, since we don't have any tools to make the table look better or easier to fill.)
- Cooperative, git merge friendly: concurrent contributions can be merged and stay valid most of the time. (This places a limit on the layout of the textual representation of the game states. I also don't see how pvp, imperfect information, or chance-based games could be fairly played.)
I see two directions to take with different trade-offs. Make the game more fun, treat git as a database where both game programming and player state lives, or keep the game simple as an aid to learn and experiment with git.
If anyone wants to create a commit-sudoku inspired repository, I will be happy to add links to it from the readme.
from commit-sudoku.
Related Issues (8)
- Generating table as an image to add to markdown HOT 4
- The sudoku has more than one solution HOT 3
- Animated GIF showing evolution of the board HOT 3
- Blockchain implementation HOT 4
- Add CI to check if pull request breaks rules of Sudoku HOT 1
- Animation does not start from beginning state of board
- The animation ends early HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from commit-sudoku.