summaryrefslogtreecommitdiff
path: root/sample/trick2018
diff options
context:
space:
mode:
Diffstat (limited to 'sample/trick2018')
-rw-r--r--sample/trick2018/01-kinaba/remarks.markdown2
-rw-r--r--sample/trick2018/02-mame/entry.rb4
-rw-r--r--sample/trick2018/05-tompng/remarks.markdown2
-rw-r--r--sample/trick2018/README.md2
4 files changed, 5 insertions, 5 deletions
diff --git a/sample/trick2018/01-kinaba/remarks.markdown b/sample/trick2018/01-kinaba/remarks.markdown
index a1a05bfd73..d0b9fdffde 100644
--- a/sample/trick2018/01-kinaba/remarks.markdown
+++ b/sample/trick2018/01-kinaba/remarks.markdown
@@ -34,7 +34,7 @@ Difficult (and interesting) points of the theme are:
Or, jump-out statements cannot occur at a position that requires a
value; `if return then true end` is a "void value expression" syntax error.
* Inserting newlines for each 6 word (to match with the spec html) is also
- an interseting challenge, since Ruby is sensitive to newlines.
+ an interesting challenge, since Ruby is sensitive to newlines.
Tricks used in the code are:
diff --git a/sample/trick2018/02-mame/entry.rb b/sample/trick2018/02-mame/entry.rb
index cc4ef9cbc4..ced791aa3d 100644
--- a/sample/trick2018/02-mame/entry.rb
+++ b/sample/trick2018/02-mame/entry.rb
@@ -1,11 +1,11 @@
'';eval(r=%q(->z{r="'';eval(r=\
-%q(#{r}))[%q`#{z}`]";i=-040;30.
+%q(#{r}))[%q`#{z}`]";i=-040;31.
times{|n|(15+n%2*15-n/2).times{
r<<r[i+=(1.-n&2)*(32-n%2*31)]}}
i=r[524,0]=?\0;eval(r[479..-1])
c['"']}))[%q`GFEDCBA"+"[e\"'"'t
kE*;;\";" TRICK2018 ";tb,;{{r
-2E0$ob[us@*0)[90,336])_#i\n}s#i
+2E0$ob[us@*0)[90,336])#_i\n}s#i
0H}>["t]];};o[1,?\n*8];ex"-}eac
1Hl<1[-1]*2*t=n%2];o[14-n,0)mvk
8M$<4,?\n];15.times{|n|;o[35ie2
diff --git a/sample/trick2018/05-tompng/remarks.markdown b/sample/trick2018/05-tompng/remarks.markdown
index 17be56b61f..b4e5708a43 100644
--- a/sample/trick2018/05-tompng/remarks.markdown
+++ b/sample/trick2018/05-tompng/remarks.markdown
@@ -28,4 +28,4 @@ gen3d 'ochoko.stl' do
l----www----------www----l
end
```
-`+` and `-` are the same meaning(just for apperance)
+`+` and `-` are the same meaning(just for appearance)
diff --git a/sample/trick2018/README.md b/sample/trick2018/README.md
index 8e5729f151..345500b00a 100644
--- a/sample/trick2018/README.md
+++ b/sample/trick2018/README.md
@@ -7,7 +7,7 @@ THESE ARE BAD EXAMPLES! You must NOT use them as a sample code.
* 02-mame/entry.rb: "Best spiral" - **Silver award**
* 03-tompng/entry.rb: "Best png viewer" - **Bronze award**
* 04-colin/entry.rb: "Best one-liner" - 4th prize
-* 05-tompng/entry.rb: "Most three-dimentional" - 5th prize
+* 05-tompng/entry.rb: "Most three-dimensional" - 5th prize
These files are licensed under MIT license.