From 49e0da44f1df264f6e27c6b454fd3dc9d91742aa Mon Sep 17 00:00:00 2001 From: Aki Date: Fri, 8 Nov 2024 22:56:21 +0100 Subject: Renamed to "all" due to surprising translation problem MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It seems that me quickly looking for translation made me mistakenly name this "permutations" (permutacje) instead of "wariacje z powtórzeniami" whic would likely translate as variations with repetitions, but first results in Google were infuriatingly trying to convince me that I was mistaken about permutations being n! Factorial nicely ends that paragraph so let's leave it at that. --- eyes/all.lua | 127 ++++++++++++++++++++++++++++++++++++++++++++++++++ eyes/init.lua | 2 +- eyes/permutations.lua | 127 -------------------------------------------------- 3 files changed, 128 insertions(+), 128 deletions(-) create mode 100644 eyes/all.lua delete mode 100644 eyes/permutations.lua diff --git a/eyes/all.lua b/eyes/all.lua new file mode 100644 index 0000000..50b0d43 --- /dev/null +++ b/eyes/all.lua @@ -0,0 +1,127 @@ +return { + 0, 0, 0, + 0, 0, 1, + 0, 0, 2, + 0, 0, 3, + 0, 0, 4, + 0, 1, 0, + 0, 1, 1, + 0, 1, 2, + 0, 1, 3, + 0, 1, 4, + 0, 2, 0, + 0, 2, 1, + 0, 2, 2, + 0, 2, 3, + 0, 2, 4, + 0, 3, 0, + 0, 3, 1, + 0, 3, 2, + 0, 3, 3, + 0, 3, 4, + 0, 4, 0, + 0, 4, 1, + 0, 4, 2, + 0, 4, 3, + 0, 4, 4, + 1, 0, 0, + 1, 0, 1, + 1, 0, 2, + 1, 0, 3, + 1, 0, 4, + 1, 1, 0, + 1, 1, 1, + 1, 1, 2, + 1, 1, 3, + 1, 1, 4, + 1, 2, 0, + 1, 2, 1, + 1, 2, 2, + 1, 2, 3, + 1, 2, 4, + 1, 3, 0, + 1, 3, 1, + 1, 3, 2, + 1, 3, 3, + 1, 3, 4, + 1, 4, 0, + 1, 4, 1, + 1, 4, 2, + 1, 4, 3, + 1, 4, 4, + 2, 0, 0, + 2, 0, 1, + 2, 0, 2, + 2, 0, 3, + 2, 0, 4, + 2, 1, 0, + 2, 1, 1, + 2, 1, 2, + 2, 1, 3, + 2, 1, 4, + 2, 2, 0, + 2, 2, 1, + 2, 2, 2, + 2, 2, 3, + 2, 2, 4, + 2, 3, 0, + 2, 3, 1, + 2, 3, 2, + 2, 3, 3, + 2, 3, 4, + 2, 4, 0, + 2, 4, 1, + 2, 4, 2, + 2, 4, 3, + 2, 4, 4, + 3, 0, 0, + 3, 0, 1, + 3, 0, 2, + 3, 0, 3, + 3, 0, 4, + 3, 1, 0, + 3, 1, 1, + 3, 1, 2, + 3, 1, 3, + 3, 1, 4, + 3, 2, 0, + 3, 2, 1, + 3, 2, 2, + 3, 2, 3, + 3, 2, 4, + 3, 3, 0, + 3, 3, 1, + 3, 3, 2, + 3, 3, 3, + 3, 3, 4, + 3, 4, 0, + 3, 4, 1, + 3, 4, 2, + 3, 4, 3, + 3, 4, 4, + 4, 0, 0, + 4, 0, 1, + 4, 0, 2, + 4, 0, 3, + 4, 0, 4, + 4, 1, 0, + 4, 1, 1, + 4, 1, 2, + 4, 1, 3, + 4, 1, 4, + 4, 2, 0, + 4, 2, 1, + 4, 2, 2, + 4, 2, 3, + 4, 2, 4, + 4, 3, 0, + 4, 3, 1, + 4, 3, 2, + 4, 3, 3, + 4, 3, 4, + 4, 4, 0, + 4, 4, 1, + 4, 4, 2, + 4, 4, 3, + 4, 4, 4, +} diff --git a/eyes/init.lua b/eyes/init.lua index dd99bed..4743a12 100644 --- a/eyes/init.lua +++ b/eyes/init.lua @@ -17,7 +17,7 @@ return { west2 = require "eyes.west2", west3 = require "eyes.west3", west4 = require "eyes.west4", - permutations = require "eyes.permutations", + all = require "eyes.all", random = require "eyes.random", used = require "eyes.used", } diff --git a/eyes/permutations.lua b/eyes/permutations.lua deleted file mode 100644 index 50b0d43..0000000 --- a/eyes/permutations.lua +++ /dev/null @@ -1,127 +0,0 @@ -return { - 0, 0, 0, - 0, 0, 1, - 0, 0, 2, - 0, 0, 3, - 0, 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, - 4, 1, 2, - 4, 1, 3, - 4, 1, 4, - 4, 2, 0, - 4, 2, 1, - 4, 2, 2, - 4, 2, 3, - 4, 2, 4, - 4, 3, 0, - 4, 3, 1, - 4, 3, 2, - 4, 3, 3, - 4, 3, 4, - 4, 4, 0, - 4, 4, 1, - 4, 4, 2, - 4, 4, 3, - 4, 4, 4, -} -- cgit v1.1