Jump to content

Archived

This topic is now archived and is closed to further replies.

Guest edwinsweep

sudoku braincracking

Recommended Posts

Guest edwinsweep
hi everybody i know this isnt really on topic here but i dont know any other place to post this:).
yesterday a friend showed me a short script in VB and asked me what whas wrong with it.
i would'nt know i dont read VB.
the intention of the script is to solve sudoku puzzles.
so i whas thinking would php be a good script to do this.
altough it isnt designed for it, php does have a lot of calculation function in it.
if anybody has an idea if its possible at all!
please let me know.
and what do you think would be better. VB or PHP?
thanks in advance!

Share this post


Link to post
Share on other sites
It can be done in both, of course.. because they both support arrays and that's really the only way you could solve it.

PHP could do this but the limitations are the input data and the ui.. VB has the data and ui part sorted out quite easily, but the back end part would be a little iffy...

Sooooooo, to answer your question? Programmers preference.

Share this post


Link to post
Share on other sites
Given PHP's dynamic array abilty and the richness of array functions (array_intersect(), array_diff() etc) I'd rather tackle the Sudoko problem with PHP than with VB.

... or any other problem.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.