Zero Based Index?

8 views
Skip to first unread message

Marti Marcel

unread,
Nov 29, 2012, 12:46:55 PM11/29/12
to vs_s...@googlegroups.com
Hi Guys,

yesterday we had a discussion about the base of the indices in our sudoku fields.
For the 'SetFieldMessage', we want to provide an index value (over the 81 fields) aswell as a row and column. As long as we don't know if our sudoku field is one - or zero based, we can not provide this functionality. For the conversions

index -> (row, column)
(row, column) -> index

we need to know this.

Can anyone help me out?

-----------------------------------------------------------------------------------------------------------------------
TL;DR: Isch s sudoku feld ez 1 oder 0 basiert? °_°

Sebastian Wicki

unread,
Nov 29, 2012, 1:28:58 PM11/29/12
to vs_s...@googlegroups.com
Uf em Server hemmer bis jez mit zwei Index: row und column, mit
jewiils emene Wärtebereich vo 1-9 gschaffet.

2012/11/29 Marti Marcel <marm...@student.ethz.ch>:
> --
> You received this message because you are subscribed to the Google Groups "VS_Sudoku" group.
> To post to this group, send email to vs_s...@googlegroups.com.
> Visit this group at http://groups.google.com/group/vs_sudoku?hl=en.
>
>
Reply all
Reply to author
Forward
0 new messages