flat assembler
Message board for the users of flat assembler.

Index > Tutorials and Examples > Sudoku

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
Ali.Z



Joined: 08 Jan 2018
Posts: 772
Ali.Z 09 May 2020, 20:43
so true if im mathematician, i would definitely explain how by using math.

but idk its something built into my head, my brain so yeah.

this is just as quickly as im typing here: 3x3

4 9 2
3 5 7
8 1 6

sum 15, horizontally and vertically and diagonally.
of course this is for total sum must be the same.
i built a check-sum algro based on this.

anyhow, as for sorting in unique order i can do that as well, for example the word ASM.
and im not limited to 3x3 grid, i can go up to 10.

_________________
Asm For Wise Humans
Post 09 May 2020, 20:43
View user's profile Send private message Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 4162
Location: vpcmpistri
bitRAKE 09 May 2020, 22:31
This is often the way things progress. For example, the general MxN algorithm producing minimal clues: I feel I could construct a program to build these puzzles, but don't know enough mathematics to prove the general case - intuitively it seems as if it must be true. I've searched for a paper of similar and nothing. Maybe it is out there in Chinese or Russian. The tools used in such a proof would be useful elsewhere.

It is like in programming when we talk about algorithms - they are base examples of a technique and can be pieced together like Legos, or used in spirit as our comfort with them increases. There are some great write-ups in programming describing high-level algorithms where the genius and novelty is quite inspiring.

_________________
¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup
Post 09 May 2020, 22:31
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.