Underground 2 Revived
Play Need for Speed: Underground 2 (2004) in Chrome and Firefox with WebGPU graphics, Web Audio, up to 120 fps widescreen, controller support, free roam and Online races with friends. Fan project, not
בוחרים גזע, מקבלים החלטות ומטילים קוביה. 150 עמודים בעברית ו-22 סיומים, ממאר סארה ועד הקרב על אייר.
Translation pending
GamesTypeScript · HTMLGitHub @gregra81OnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗ספר משחק בעברית ביקום סטארקראפט. אפליקציית עמוד יחיד, mobile-first, עם dir="rtl" מלא.
npm install
npm run dev # שרת פיתוח
npm run build # בנייה לפרודקשן
npm run lint
src/
types.ts טיפוסי הגרף והמצב
data/races.ts הגזעים, המדדים ותוויותיהם
data/story/
terran/ zerg/ protoss/ act1..act4 לכל גזע, ו-index שמאחד אותם
index.ts בניית הגרף ובדיקת מזהים כפולים
engine/dice.ts הטלות ובדיקות
engine/rules.ts תנאי בחירה והחלת אפקטים
engine/gameState.ts reducer, מסלול חזרה, שמירה וטעינה
engine/saveCode.ts קידוד ופענוח של קוד שמירה נייד
data/glossary.ts מונחי סטארקראפט, קישורי ויקי וזיהוי המונחים בטקסט
data/items.ts הסבר לכל פריט, וחישוב הפריטים שמשמשים כתנאי
ui/ מסכים: המשכה, בחירת דמות, עלילה, שורת מצב, קוביה, קוד שמירה, עזרה
צומת הוא אובייקט אחד:
{
id: 'ter_backwater',
title: 'תחנת בקוואטר',
text: ['פסקה', 'פסקה'],
effects: { addItems: ['דגימת רקמה זרה'], stats: { tactics: 1 }, addFlags: ['saw_creep'] },
choices: [
{ text: 'המשך פנימה', to: 'ter_survivors' },
{ text: 'זמין רק עם הרסיס', to: 'ter_end_truth', requires: { item: 'רסיס נשק זרגי' } },
{
text: 'פרוץ פנימה',
check: { dice: 6, stat: 'tactics', target: 7, label: 'בדיקת מזל',
successNodeId: 'ter_survivors', failureNodeId: 'ter_ambush' },
},
],
}
מוסיפים אותו לקובץ המערכה המתאים תחת src/data/story/<race>/. מערכה חדשה היא קובץ חדש שמשורשר ב-index.ts של אותו גזע, ומסלול חדש משורשר ב-src/data/story/index.ts, שגם זורק שגיאה על מזהה כפול. אפקטים של צומת מוחלים רק בביקור הראשון, כך שחזרה לצומת לא מכפילה פריטים או מדדים.
requires תומך ב-item, race, flag, notFlag ו-minStat. בחירה שתנאיה לא מתקיימים מוצגת נעולה עם הסבר בעברית, במקום להיעלם מהמסך.
150 צמתים, 50 לכל גזע, ב-22 סיומים. כל גזע מחולק לארבע מערכות:
כל היעדים בגרף נבדקו כקיימים וישיגים מצומת הפתיחה, בלי מזהים כפולים ובלי צמתים ללא המשך.