From 6ba1fa0c1124f2a5870a74d07e4be1bdfd2d4881 Mon Sep 17 00:00:00 2001
From: lingdocs <71590811+lingdocs@users.noreply.github.com>
Date: Sat, 3 Sep 2022 16:46:16 +0400
Subject: [PATCH] more games
---
src/content/verbs/basic-present-verbs.ts | 2 +-
src/content/verbs/future-verbs.mdx | 7 +-
src/content/verbs/imperative-verbs.mdx | 7 +-
src/content/verbs/present-verbs.mdx | 7 +-
src/content/verbs/subjunctive-verbs.mdx | 7 +-
src/games/GameCore.tsx | 26 ++---
src/games/games.tsx | 142 ++++++++++++++++++-----
src/games/sub-cores/VerbGame.tsx | 97 ++++++++++------
8 files changed, 205 insertions(+), 90 deletions(-)
diff --git a/src/content/verbs/basic-present-verbs.ts b/src/content/verbs/basic-present-verbs.ts
index 6d273c3..826a0c2 100644
--- a/src/content/verbs/basic-present-verbs.ts
+++ b/src/content/verbs/basic-present-verbs.ts
@@ -19,7 +19,7 @@ export const intransitivePastVerbs: T.VerbEntry[] = [
{"ts":1527812645,"i":10822,"p":"ګرځېدل","f":"gurdzedul","g":"gurdzedul","e":"to walk, wander, turn about; to become, to be","c":"v. intrans.","shortIntrans":true,"ec":"walk"},
{"ts":1527816495,"i":3470,"p":"تښتېدل","f":"tuxtedul","g":"tuxtedul","e":"to run off, escape, flee","c":"v. intrans.","shortIntrans":true,"ec":"escape"},
{"ts":1527813680,"i":9218,"p":"غږېدل","f":"ghuGedul, ghaGedul","g":"ghugedul,ghagedul","e":"to speak, talk, converse, sing","c":"v. intrans.","ec":"speak,speaks,speaking,spoke"},
- {"ts":1527813994,"i":11589,"p":"لوېدل","f":"lwedul","g":"lwedul","e":"to fall, to tumble, go down, settle","c":"v. intrans.","ec":"fall,falls,falling,fell,fallen"},
+ {"ts":1527813994,"i":11676,"p":"لوېدل","f":"lwedul","g":"lwedul","e":"to fall, to tumble, go down, settle","c":"v. intrans.","tppp":"لوېد","tppf":"lwed","ec":"fall,falls,falling,fell,fallen"},
{"ts":1527815216,"i":6630,"p":"راتلل","f":"raatlúl","g":"raatlul","e":"to come","c":"v. intrans. irreg.","psp":"راځ","psf":"raadz","ssp":"راش","ssf":"ráash","prp":"راغلل","prf":"ráaghlul","pprtp":"راغلی","pprtf":"raaghúley","tppp":"راغی","tppf":"ráaghey","noOo":true,"separationAtP":2,"separationAtF":3,"ec":"come,comes,coming,came,come"},
{"ts":1527813710,"i":7321,"p":"زېږېدل","f":"zeGedul","g":"zegedul","e":"to be born, to appear, arise","c":"v. intrans.","ec":"be","ep":"born"},
].map(entry => ({ entry }));
\ No newline at end of file
diff --git a/src/content/verbs/future-verbs.mdx b/src/content/verbs/future-verbs.mdx
index 24342d4..389d75c 100644
--- a/src/content/verbs/future-verbs.mdx
+++ b/src/content/verbs/future-verbs.mdx
@@ -15,7 +15,8 @@ import imperfectiveFuture from "./imperfective-future-graph.svg";
import perfectiveFuture from "./perfective-future-graph.svg";
import BasicVerbShowCase from "../../components/BasicVerbShowCase";
import {
- futureVerbGame,
+ futureVerbGame1,
+ futureVerbGame2,
} from "../../games/games";
import GameDisplay from "../../games/GameDisplay";
@@ -56,4 +57,6 @@ This is used to talk about something happening in the future, while thinking of
-
+
+
+
diff --git a/src/content/verbs/imperative-verbs.mdx b/src/content/verbs/imperative-verbs.mdx
index 717f831..e05b8ba 100644
--- a/src/content/verbs/imperative-verbs.mdx
+++ b/src/content/verbs/imperative-verbs.mdx
@@ -18,7 +18,8 @@ import imperfectiveImperative from "./imperfective-imperative.svg";
import perfectiveImperative from "./perfective-imperative.svg";
import BasicVerbShowCase from "../../components/BasicVerbShowCase";
import {
- imperativeVerbGame,
+ imperativeVerbGame1,
+ imperativeVerbGame2,
} from "../../games/games";
import GameDisplay from "../../games/GameDisplay";
@@ -182,7 +183,9 @@ You will notice there are only two
-
+
+
+
diff --git a/src/content/verbs/subjunctive-verbs.mdx b/src/content/verbs/subjunctive-verbs.mdx
index 0a09454..aa0735e 100644
--- a/src/content/verbs/subjunctive-verbs.mdx
+++ b/src/content/verbs/subjunctive-verbs.mdx
@@ -16,7 +16,8 @@ import presentInReality from "./present-in-reality.svg";
import subjunctiveAboveReality from "./subjunctive-above-reality.svg";
import BasicVerbShowCase from "../../components/BasicVerbShowCase";
import {
- subjunctiveVerbGame,
+ subjunctiveVerbGame1,
+ subjunctiveVerbGame2,
} from "../../games/games";
import GameDisplay from "../../games/GameDisplay";
@@ -108,4 +109,6 @@ As you can see, the subjunctive is often used in [subordinate clauses](https://e
...etc.
-
+
+
+
diff --git a/src/games/GameCore.tsx b/src/games/GameCore.tsx
index 81d841d..6787c52 100644
--- a/src/games/GameCore.tsx
+++ b/src/games/GameCore.tsx
@@ -161,6 +161,15 @@ function GameCore({ inChapter, questions, Display, timeLimit, Instructions, s
? "danger"
: "primary";
const gameRunning = current && finish === undefined;
+ function ActionButtons() {
+ return
+ {!inChapter &&
+
+ }
+
+
+
;
+ }
return <>
{mode === "test" &&
@@ -200,13 +209,7 @@ function GameCore({ inChapter, questions, Display, timeLimit, Instructions, s
{/* TODO: ADD IN TEXT DISPLAY OPTIONS HERE TOO - WHEN WE START USING THEM*/}
-
- {!inChapter &&
-
- }
-
-
-
+
)
}
{finish === "pass" &&
@@ -224,14 +227,7 @@ function GameCore({ inChapter, questions, Display, timeLimit, Instructions, s