OhMyGame
OhMyGame is the open-source studio for making games with AI. Design, build, playtest, and publish games in one app, with your own model keys.
משחק ניחושי הבחירות בין חברים — ניחוש מנדטים, הימור זהב, בונוס צלפים ועוברת או לא.
Translation pending
GamesTypeScript · PLpgSQLGitHub @UncleOrOnlineOwner 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 ↗אפליקציית ווב לניחושי בחירות בין חברים — מחליפה את הטופס ב־JotForm + גיליון Google. משתתפים מנחשים מנדטים לכל מפלגה, מוסיפים תוספות (הכפלה / בונוס צלפים / עוברת או לא), משלמים ב־PayBox, והאפליקציה מחשבת אוטומטית את הזכיות לפי התקנון.
בנוי על Next.js (App Router) + Supabase (Postgres + Auth + RLS), פרוס ל־Vercel.
🌐 פרוד: https://chagiga-democracy.vercel.app — האתר עולה עם באנר “טרם חובר למסד הנתונים” עד שמזינים פרטי Supabase אמיתיים (ראו למטה) ופורסים מחדש.
🔑 התחברות: אימייל + סיסמה (שם + סיסמה). אפשר להחליף ל־Google בהמשך.
מנוע החישוב מאומת מול הגיליון המקורי של סבב 2022 — test/calc.test.ts משחזר את
כל 68 הערכים במדויק (שגיאה 0). ראו docs/regulation.md לחוקים.
supabase/migrations/0001_init.sql, ואז את supabase/seed.sql
(ערכו קודם את רשימת מיילי המנהלים ואת רשימת המפלגות ב־seed לפי הצורך).https://chagiga-democracy.vercel.app.העתיקו .env.local.example ל־.env.local ומלאו (מתוך Supabase → Project Settings → API):
| משתנה | מאיפה |
|---|---|
NEXT_PUBLIC_SUPABASE_URL | Project URL |
NEXT_PUBLIC_SUPABASE_ANON_KEY | anon public key |
SUPABASE_SERVICE_ROLE_KEY | service_role key (סודי — שרת בלבד) |
NEXT_PUBLIC_SITE_URL | כתובת האתר (localhost בפיתוח, כתובת Vercel בפרודקשן) |
npm install
npm run dev # http://localhost:3000
npm test # מריץ את בדיקות מנוע החישוב
NEXT_PUBLIC_SITE_URL לכתובת הסופית).משתתף: נרשם עם שם + אימייל + סיסמה → “להימור” → ממלא מנדטים + תוספות → משלם ב־PayBox → לוחץ “כבר שילמתי”. אפשר לערוך את ההימור עד סגירת הסבב.
מנהל (לשונית ניהול):
טיוטה → פתוח → סגור → תוצאות סופיות
src/lib/calc.ts מנוע החישוב (טהור, מאומת מול 2022)
src/lib/data.ts שכבת גישה לנתונים + חישוב קופות/דירוג
src/lib/actions/ Server Actions (הימור, ניהול, התחברות)
src/app/ עמודים (בית, הימור, ההימור שלי, ניהול)
supabase/ מיגרציה + seed + RLS
docs/regulation.md התקנון — מקור האמת לחוקים
test/ בדיקות המנוע + fixtures מ־2022
v_public_bids).