Published on InterSystems Developer Community (https://community.intersystems.com)

Home > SUDOKU demo

Article
Robert Cemper · Dec 9, 2019 1m read
Open Exchange

SUDOKU demo

For those experts that can't stop after AoC2019
I have posted some rather old code in traditional style to improve it.

It was written based on a previous trial in .XLS
It is far from being perfect. Rather a challenge for
improvement in all directions (code, interface, ...)
So anyone may feel invited to make it better.

USER>d ^SUDOKU
;; Welcome to this SUDOKU demo !
;; you may solve your SUDOKU easier or create your own
;; under each box entry you find a list
;; of allowed values for this box
;; fill in numbers 1..9 as you need
;; to clear a box enter any character or blank
;; to stop enter . or , for the solver enter ?
;; navigate between boxes by cursor keys <>^v
;;
go:

SUDOKU3.JPG

This is a coding example working on Caché 2018.1.3 and IRIS 2020.2 
It will not be kept in sync with new versions 
It is also NOT serviced by InterSystems Support !

download here

#Beginner #ObjectScript #Terminal #Caché #InterSystems IRIS
Check the related application on InterSystems Open Exchange

Source URL: https://community.intersystems.com/post/sudoku-demo