Guild icon
DDraceNetwork
DDraceNetwork / wiki
https://wiki.ddnet.org | This channel is dedicated to anything related to the official Wiki, feel free contribute, improve and discuss it! Any contribution is always welcome. Matrix: #ddnet-wiki:matrix.org
Between 2025-02-26 00:00 and 2025-02-27 00:00
Avatar
some hints from what @Hecta s modulo operator MODULO <val1> <val2> <val3> <val4> x: set if x%val1 == val3 y: set if y%val2 == val3 And val4 shifts up with -1 Questions: why is there only a shift for y and why is there no val3 for the y case? Summary: MODULO <x_sequence_length> <y_sequence_length> <sequence_id> <shift>
11:56
I guess Both sequences must be true, meaining x%val1 == val3 && y%val2 == val3 in order to place the tile (edited)
Avatar
Avatar
Assa
some hints from what @Hecta s modulo operator MODULO <val1> <val2> <val3> <val4> x: set if x%val1 == val3 y: set if y%val2 == val3 And val4 shifts up with -1 Questions: why is there only a shift for y and why is there no val3 for the y case? Summary: MODULO <x_sequence_length> <y_sequence_length> <sequence_id> <shift>
shit MODULO <x_sequence_length> <y_sequence_length> <shift_x> <shift_y>
Avatar
ah now it makes more sense
13:14
xD
13:15
no need for a sequence number if you can just shift, true
Exported 6 message(s)
Timezone: UTC+0