# \[SOLUTION\] Sodoku Solver (#43)

**URL:** <https://rubytalk.org/t/solution-sodoku-solver-43/20418>\
**Category:** ruby-talk\
**Created:** [26 August 2005 13:03 UTC](https://rubytalk.org/t/solution-sodoku-solver-43/20418 "2005-08-26T13:03:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Edward\_Gray\_II](https://avatars.discourse-cdn.com/v4/letter/j/ea5d25/32.png) [@James\_Edward\_Gray\_II](https://rubytalk.org/u/James_Edward_Gray_II)\
**Post date:** [26 August 2005 13:03 UTC](https://rubytalk.org/t/solution-sodoku-solver-43/20418/1 "2005-08-26T13:03:30Z")

</div>

> From: gdefty@attglobal.net  
> Date: August 25, 2005 10:13:34 PM CDT  
> To: james@grayproductions.net,
> 
> James,
> 
> My stab at a sudoku solver. A bit rough roung the  
> edges (I have a job to do!) but it works.
> 
> It seemed to me that basic algorithm and by  
> association, data representation were the key  
> factors here, and I was reasonably pleased with my  
> choices (until I see some of the other solutions  
> and realise what a dummy I was somewhere 🙂
> 
> Where I know I will be disappointed is in the  
> ruby-ness of my code (or rather, lack of it ☹  
> Mine always seems a bit pedestrian compared to  
> some of the elegant stuff you show. Sigh. I guess  
> I have been doing this too long. I'm probably  
> writing a COBOL solution in Ruby! Still, learning  
> is the whole point, no?
> 
> Anyway, I hope you find something of interest in  
> it, and thanks again for a great site.
> 
> Regards,
> 
> graeme

[Sod.rb](https://rubytalk.org/uploads/short-url/dsDJTpzozo4pZ1sIRstsEXB5m7D.rb) (5.86 KB)

[Sod\_test.rb](https://rubytalk.org/uploads/short-url/pTiKpAoEamaqxRzydq2qlahjIDi.rb) (3.09 KB)

[Sodoku.rb](https://rubytalk.org/uploads/short-url/6OTfnNfgLRJ4MlxUiRzJMcMwYXq.rb) (2.89 KB)

> **···**
>
> Begin forwarded message:
