Skip to content

Commit

Permalink
fix grammar in demo game
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Oct 15, 2021
1 parent ae12c63 commit c19648a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/index.js
Expand Up @@ -46,11 +46,11 @@ if (is_node()) {
term.echo(`Pick color?`);
let $_color = await term.ask(`color? `);;
if ($$__m = String($_color).match(/red/i)) {
term.echo(`I like red, it remiding me of sun at sunset`);
term.echo(`I like red, it reminding me of the sun at sunset`);
} else if ($$__m = String($_color).match(/blue/i)) {
term.echo(`I like blue, it remind me of sky`);
term.echo(`I like blue, it reminds me of the sky`);
} else if ($$__m = String($_color).match(/black/i)) {
term.echo(`I like black it remind me of the darkest night`);
term.echo(`I like black it reminds me of the darkest night`);
} else {
term.echo(`sorry I only know red, blue and black colors`);
}
Expand Down
6 changes: 3 additions & 3 deletions examples/demo.gs
Expand Up @@ -2,11 +2,11 @@ def ask_color()
echo "Pick color?"
let color = ask "color? "
if color ~= /red/i then
echo "I like red, it remiding me of sun at sunset"
echo "I like red, it reminding me of the sun at sunset"
else if color ~= /blue/i then
echo "I like blue, it remind me of sky"
echo "I like blue, it reminds me of the sky"
else if color ~= /black/i then
echo "I like black it remind me of the darkest night"
echo "I like black it reminds me of the darkest night"
else
echo "sorry I only know red, blue and black colors"
end
Expand Down

0 comments on commit c19648a

Please sign in to comment.