Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
For an example of using parity in Snake levels, imagine you know exactly where one of the ends of the snake is.
How many mines are there in total? An even number?
Then, you know that the other end of the snake cannot be on a tile of the same parity as the first.
Why? Because for the snake to "move" from a tile to another of the same parity, it always needs to "move" an even number of times, and the starting point is also a mine.
1 + [even number] = [odd number]
Odd numbers are obviously not even, so if the total number of mines is even, then the ends of the snake cannot both be on tiles of the same parity, because that would mean an odd number of mines.