איך יוצרים ומעלים משחק?
אפשר ליצור משחק דפדפן בעזרת פלטפורמה ליצירת משחקים, להוריד אותו כקובץ ZIP ולהגיש אותו לאתר. אחרי ההגשה תוכלו לצפות במשחק לפני פרסומו.
באיזו פלטפורמה כדאי ליצור משחק?
Lovable נבדק בהצלחה: משחק שנוצר בו יוצא, הועלה ופעל באתר. השתמשו בו ליצירת המשחק ובקשו קובץ ZIP מוכן להעלאה.
גם Replit נתמך. בדקנו קובץ ZIP של משחק שנוצר בו, והוא עומד בדרישות המבנה והגודל של האתר. בקשו מ־Replit קובץ ZIP של המשחק המוכן להפעלה, עם index.html בשורש.
האתר בודק את קובץ ה־ZIP עצמו, באותו אופן לכל הפלטפורמות.
פלטפורמות נוספות יתווספו בהמשך.
מה לכתוב לפלטפורמה?
תארו לפלטפורמה את רעיון המשחק שלכם, ואז העתיקו ושלחו את הדרישות הטכניות הבאות כדי שתיצור משחק שאפשר להעלות לאתר.
לחצו כאן להצגת נוסח ההוראות
# חלק 1 — דרישות טכניות ודרישות להגשה
## 1. אירוח עצמאי
המשחק המוגמר יועלה ויאוחסן ב־`games.gdud121.org`.
- בנו משחק דפדפן סטטי שאפשר לאחסן את קובצי הגרסה המוכנה שלו באופן עצמאי.
- השתמשו לפי הצורך ב־HTML, ב־CSS, ב־JavaScript/TypeScript, ב־Canvas או בספריות שמתאימות לדפדפן.
- המשחק לא ידרוש מ־Worker האחסון שלנו לספק שרת ייעודי למשחק, מסד נתונים, אימות משתמשים או עיבוד בצד השרת.
- אל תשתמשו בזמן הפעלת המשחק בשירותי הענן, במסד הנתונים או בשירותים אחרים שתלויים בפלטפורמת הפיתוח.
- שחקנים יוכלו לפתוח את המשחק ולשחק בו מיד, ללא התחברות.
- כל ממשק המשחק שמוצג לשחקנים, כולל כותרות, תוויות, כפתורים, הוראות והודעות מצב, חייב להיות בעברית ומימין לשמאל. הגדירו `<html lang="he" dir="rtl">` בכל דף HTML.
- מותר להשתמש באחסון הדפדפן, למשל `localStorage`, לשמירת הגדרות, התקדמות ושיאים.
- המשחק ימשיך לפעול לאחר הייצוא, גם אם פלטפורמת הפיתוח המקורית לא תהיה זמינה עוד.
## 2. משחק מותאם למסכים
- תמכו בדפדפנים מודרניים במחשב ובטלפון.
- התאימו את המשחק לגדלים ולכיוונים שונים של מסך.
- תמכו במגע בטלפון ובמקלדת או בעכבר כאשר הדבר מתאים.
- מנעו גלילה או שינוי תקריב לא מכוונים בזמן המשחק.
- השאירו את המשחק בתוך האזור הגלוי של המסך, ללא גלילה אופקית.
- הציגו באופן ברור תחילת משחק, התחלה מחדש וסיום משחק.
- השתמשו באנימציות חלקות ובפקדים ברורים.
## 3. קבצים ותלויות
- כללו בחבילה המיוצאת את כל הקבצים המקומיים הדרושים להפעלת המשחק; ציינו בנפרד משאבי HTTPS חיצוניים.
- אל תסתמכו על תמונות, גופנים, צלילים או קבצים אחרים שמאוחסנים בפלטפורמת הפיתוח.
- הימנעו מממשקי API חיצוניים, כלי ניתוח נתונים, פרסומות, מעקב ושירותי צד שלישי שאינם נחוצים.
- אל תכללו סודות, מפתחות API או הגדרות שתלויות בסביבת הפיתוח.
- השתמשו בכתובות יחסיות לקובצי JavaScript, CSS, תמונות, גופנים וקבצים אחרים.
- ודאו שהמשחק פועל גם בנתיב משנה, ולא רק בשורש הדומיין.
- מותר להשתמש במשאבי HTTPS חיצוניים אם מציינים את כתובות המקור ואת מטרתן, כדי שמנהל האתר יוכל להוסיף אותן לרשימת ההרשאות של המשחק. לאחר הייצוא המשחק לא יהיה תלוי באחסון או בשירותים הפרטיים של פלטפורמת הפיתוח.
## 4. קובץ ZIP מוכן לפרסום — תוצר חובה
התוצר הסופי חייב להיות **קובץ ZIP מוכן להורדה ולהפעלה**, ולא רק פרויקט מקור, מאגר GitHub או קישור לתצוגה מקדימה.
דרישות:
- `index.html` חייב להימצא בשורש קובץ ה־ZIP.
- כללו את כל קובצי JavaScript, CSS, התמונות, הגופנים, הצלילים ושאר הקבצים המקומיים בגרסה המוכנה; ציינו מקורות HTTPS חיצוניים.
- קובץ ה־ZIP חייב להכיל את הגרסה הבנויה והמוכנה להפעלה, ולא רק קובצי מקור שטרם נבנו.
- לאחר ההעלאה לא יידרשו התקנת npm, פקודת build או שרת פיתוח.
- השתמשו בנתיבים יחסיים לכל הקבצים.
### מגבלות העלאה
- גודל ZIP מרבי: **10 MiB**.
- גודל כולל מרבי לאחר חילוץ: **30 MiB**.
- גודל מרבי לקובץ יחיד: **5 MiB**.
- מספר קבצים מרבי: **500**.
השאירו מרווח בטוח מתחת למגבלות האלה.
אל תכללו ב־ZIP הסופי את `node_modules`, קובצי פיתוח שאינם נחוצים או מפות קוד מקור (source maps).
## 5. מסירה ובדיקה
1. ממשו את המשחק במלואו.
2. בדקו את המשחק ואת התאמתו למסכים שונים.
3. הכינו גרסה סטטית מוכנה לפרסום.
4. ארזו מקומית את כל הקבצים הדרושים.
5. ודאו שהמשחק הבנוי פועל באופן עצמאי, מחוץ לתצוגה המקדימה של פלטפורמת הפיתוח.
6. ארזו ב־ZIP את **תוכן תיקיית הפלט**, ולא את התיקייה עצמה.
7. ספקו את קובץ ה־ZIP להורדה.
8. אשרו ש־`index.html` נמצא בשורש ה־ZIP ושכל מגבלות ההעלאה מתקיימות.
אם הפלטפורמה אינה מסוגלת לבצע שלב ייצוא נדרש, הסבירו בדיוק מה המגבלה והציעו את החלופה הפשוטה ביותר. אל תטענו שקובץ ה־ZIP מוכן לפני שנוצר ונבדק בפועל.
# PART 1 — Technical and Delivery Requirements
## 1. Independent Hosting
The finished game will be uploaded to and hosted on `games.gdud121.org`.
- Build a static browser game whose production files can be hosted independently.
- Use HTML, CSS, JavaScript/TypeScript, Canvas, or browser-compatible frameworks as appropriate.
- Do not require our hosting Worker to provide a game-specific backend, database, authentication, or server-side rendering.
- Do not use the development platform's cloud, database, or other platform-specific services at runtime.
- Players must be able to open and play the game immediately without signing in.
- All player-facing game UI, including titles, labels, buttons, instructions, and status messages, must be in Hebrew and RTL. Set `<html lang="he" dir="rtl">` on every HTML page.
- Browser storage such as `localStorage` is allowed for saving settings, progress, and high scores.
- The game must remain functional after it is exported and the original development platform is no longer available.
## 2. Responsive Gameplay
- Support modern desktop and mobile browsers.
- Make the game responsive to different screen sizes and orientations.
- Support touch controls on mobile and keyboard/mouse controls where appropriate.
- Prevent accidental page scrolling or zooming during gameplay.
- Keep the game within the visible viewport without horizontal scrolling.
- Provide clear start, restart, and game-over experiences.
- Use smooth animations and intuitive controls.
## 3. Assets and Dependencies
- Include all locally hosted runtime assets in the exported package; list any external HTTPS assets separately.
- Do not rely on images, fonts, audio, or other assets hosted by the development platform.
- Avoid unnecessary external APIs, analytics, advertising, tracking, and third-party services.
- Do not include secrets, API keys, or environment-specific configuration.
- Use relative URLs for JavaScript, CSS, images, fonts, and other assets.
- Ensure the game works when hosted under a subdirectory, not only at the domain root.
- External HTTPS resources are allowed when their origins and purpose are declared so an admin can add them to the game's allowlist. The game must not depend on the development platform's hosting or private services after export.
## 4. Production ZIP — Mandatory Deliverable
The final deliverable must be a **downloadable, production-ready ZIP file**, not merely a source project, GitHub repository, or preview URL.
Requirements:
- `index.html` must be at the root of the ZIP.
- Include all locally hosted built JavaScript, CSS, images, fonts, audio, and other runtime assets; declare any external HTTPS origins.
- The ZIP must contain the production build, not uncompiled source files.
- No npm installation, build command, or development server may be required after upload.
- Use relative asset paths throughout.
### Upload limits
- Maximum ZIP size: **10 MiB**.
- Maximum total extracted size: **30 MiB**.
- Maximum individual file size: **5 MiB**.
- Maximum number of files: **500**.
Keep the package comfortably below these limits.
Do not include `node_modules`, unnecessary development files, or source maps in the final ZIP.
## 5. Delivery and Verification
1. Implement the complete game.
2. Test the gameplay and responsive layout.
3. Produce a static production build.
4. Bundle all required assets locally.
5. Verify the built game independently of the development preview.
6. Package the **contents of the build output directory**, not the directory itself, into a ZIP.
7. Provide the ZIP as a downloadable file.
8. Confirm that `index.html` is at the ZIP root and that all upload limits are satisfied.
If the platform cannot perform any required export step, explain the exact limitation and provide the simplest alternative. Do not claim the ZIP is ready unless it has actually been created and verified.
העברת המשחק שיצרתם לאתר זה
- בדקו באתר של הפלטפורמה שהמשחק עובד כמו שרציתם בדפדפן במחשב ובטלפון.
- בקשו מהפלטפורמה שבה יצרתם את המשחק להכין קובץ ZIP של המשחק והורידו אותו.
- עברו לדף ״רוצה להעלות משחק״ ועקבו אחר ההוראות.
רוצים לבדוק פלטפורמה אחרת?
לפני שמבקשים מהפלטפורמה ליצור משחק, בחרו שפה ושלחו לה את הפרומפט הבא. הוא מבקש לבדוק אם אפשר לייצא משחק שיעבוד באתר שלנו.
לחצו כאן להצגת נוסח ההוראות
אני רוצה להשתמש בפלטפורמה הזאת כדי ליצור משחקי דפדפן, לייצא אותם ולאחסן אותם באופן עצמאי באתר שלי.
**אל תבנו או תיצרו משחק עדיין.** קודם בדקו אם הפלטפורמה יכולה לעמוד בדרישות הבאות.
### אירוח ועצמאות
- המשחק המוגמר חייב להיות אתר סטטי עצמאי (HTML, CSS, JavaScript וקבצים נלווים).
- הוא יאוחסן ב־`games.gdud121.org`, באופן עצמאי מהפלטפורמה הזאת.
- שחקנים חייבים להיות מסוגלים לשחק בלי להתחבר.
- כל ממשק המשחק שמוצג לשחקנים חייב להיות בעברית ומימין לשמאל, עם `<html lang="he" dir="rtl">` בכל דף HTML.
- המשחק לא ידרוש את שירותי האירוח, מסד הנתונים או שרת היישום של הפלטפורמה הזאת.
- מותר לשמור ניקוד והתקדמות באחסון המקומי של הדפדפן.
- המשחק חייב לפעול בדפדפנים במחשב ובטלפון.
### דרישות ייצוא
- אני צריך קובץ ZIP להורדה שמכיל את **המשחק הבנוי והמוכן לפרסום**, ולא רק את קוד המקור שלו.
- הקובץ `index.html` חייב להיות בשורש ה־ZIP.
- כל קובצי JavaScript, CSS, התמונות, הצלילים, הגופנים ושאר הקבצים המאוחסנים מקומית חייבים להיכלל בחבילה. יש לציין כל קובץ HTTPS חיצוני.
- נתיבי הקבצים חייבים להיות יחסיים כדי שהמשחק יפעל גם כאשר הוא מאוחסן תחת נתיב משלו.
- קובץ ה־ZIP לא ידרוש הרצת npm, התקנת תלויות או הידור לאחר ההעלאה.
- גודל ZIP מרבי: 10 MiB.
- גודל כולל מרבי לאחר חילוץ: 30 MiB.
- גודל מרבי לקובץ יחיד: 5 MiB.
- מספר קבצים מרבי: 500.
- יש להימנע מתלויות חיצוניות ומשירותי צד שלישי שאינם נחוצים. אם המשחק דורש משאבי HTTPS חיצוניים, יש לציין את כתובת המקור של כל אחד ואת מטרתו, כדי שמנהל האתר יוכל להוסיף אותו לרשימת ההרשאות.
### שאלות
1. האם הפלטפורמה הזאת יכולה ליצור משחקים שעומדים בכל הדרישות האלה?
2. האם היא יכולה להכין ולאפשר לי להוריד ישירות ZIP סופי, בנוי ומוכן לפרסום, עם `index.html` בשורש?
3. אם לא ישירות, אילו שלבים ידניים בדיוק נדרשים כדי לקבל ZIP כזה?
4. האם יש מגבלות, תלויות בפלטפורמה או הגבלות ייצוא שחשוב לדעת עליהן?
5. האם המשחק המיוצא יוכל לפעול באופן עצמאי לגמרי אחרי שאפסיק להשתמש בפלטפורמה הזאת?
יש להבחין בין פעולות שהפלטפורמה יכולה לבצע אוטומטית לבין פעולות שדורשות עבודה ידנית.
**אל תיצרו קבצים, אל תתקינו חבילות, אל תריצו פקודות ואל תתחילו לממש משחק. השיבו רק על השאלות האלה.**
I want to use this platform to create browser-based games that will be exported and hosted independently on my own website.
**Do not build or generate any game yet.** First, assess whether this platform can meet the following requirements.
### Hosting and independence
- The finished game must be a standalone static website (HTML, CSS, JavaScript, and assets).
- It will be hosted on `games.gdud121.org`, independently of this platform.
- Players must be able to play without signing in.
- All player-facing game UI must be in Hebrew and RTL, with `<html lang="he" dir="rtl">` on every HTML page.
- The game must not require this platform's hosting services, database, or backend server.
- Browser-local storage for scores and progress is allowed.
- The game must work on desktop and mobile browsers.
### Export requirements
- I need a downloadable ZIP containing the **production-ready built game**, not just its source code.
- `index.html` must be at the ZIP root.
- All locally hosted JavaScript, CSS, images, audio, fonts, and other assets must be included. Any external HTTPS assets must be declared.
- Asset paths must be relative so the game works when hosted under its own URL path.
- The ZIP must not require running npm, installing dependencies, or compiling anything after upload.
- Maximum ZIP size: 10 MiB.
- Maximum total extracted size: 30 MiB.
- Maximum individual file size: 5 MiB.
- Maximum number of files: 500.
- Avoid unnecessary external dependencies and third-party services. If the game needs external HTTPS resources, list each origin and its purpose for the website admin's allowlist.
### Questions
1. Can this platform create games that meet all these requirements?
2. Can it produce and let me download the final production-ready ZIP directly, with `index.html` at the root?
3. If not directly, what exact manual steps are required to obtain that ZIP?
4. Are there any limitations, platform dependencies, or export restrictions I should know about?
5. Can the exported game work completely independently after I stop using this platform?
Please distinguish between what this platform can do automatically and what requires manual work.
**Do not create files, install packages, run commands, or start implementing a game. Only answer these questions.**