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
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
⚔️ Unconditional Surrender: Western Campaign - Digital Edition Versione digitale interattiva del wargame storico Unconditional Surrender Western Campaign con intelligenza artificiale tattica (Minimax). Trasformare il classico wargame da tavolo Unconditional Surrender Western Campaign in una versione digitale completamente funzionale con:README 전문 보기 ↗
Versione digitale interattiva del wargame storico Unconditional Surrender Western Campaign con intelligenza artificiale tattica (Minimax).
Trasformare il classico wargame da tavolo Unconditional Surrender Western Campaign in una versione digitale completamente funzionale con:
unconditional-surrender-digital/
├── packages/
│ ├── shared/ # Tipi, regole, configurazione (TypeScript)
│ ├── backend/ # Game engine + API (Node.js/Express)
│ ├── frontend/ # UI interattiva (React)
│ └── ai-engine/ # Minimax IA (Python)
├── package.json # Root monorepo (Yarn workspaces)
└── README.md # Questo file
| Layer | Tecnologie |
|---|---|
| Frontend | React 18 + TypeScript + Vite + Zustand |
| Backend | Node.js + Express + TypeScript |
| Shared | TypeScript (tipi e regole comuni) |
| AI | Python 3.10+ (Minimax, NumPy) |
| Build | Turbo (monorepo orchestration) |
# Clone o apri il progetto
cd "Desktop/Unconditional Surrender"
# Installa dipendenze (tutti i workspace)
yarn install
# Build tutti i pacchetti
yarn build
# Avvia dev servers
yarn dev
Questo lancerà:
# Crea una nuova partita
curl -X POST http://localhost:3001/api/games
# Carica stato partita
curl http://localhost:3001/api/games/{gameId}
# Lista partite
curl http://localhost:3001/api/games
Minimax(depth, side, alpha, beta)
if depth == 0 or terminal state:
return evaluate(position)
if maximizing (ALLIED):
for each move:
score = Minimax(depth-1, AXIS, α, β, minimize)
α = max(α, score)
if β ≤ α: break [Alpha-Beta Pruning]
return α
else (AXIS):
for each move:
score = Minimax(depth-1, ALLIED, α, β, maximize)
β = min(β, score)
if β ≤ α: break [Alpha-Beta Pruning]
return β
packages/shared/
├── src/
│ ├── types.ts # Tipi GameState, Unit, Hex, etc.
│ ├── rules.ts # Costanti e regole di gioco
│ └── config.ts # Parametri globali, unità test
│
packages/backend/
├── src/
│ ├── index.ts # Express app e routes
│ ├── gameEngine.ts # Logica gioco (TODO)
│ ├── movement.ts # Calcolo movimento (TODO)
│ └── combat.ts # Risoluzione combattimento (TODO)
│
packages/frontend/
├── src/
│ ├── App.tsx # Componente principale
│ ├── main.tsx # Entry point React
│ ├── components/
│ │ ├── GameBoard.tsx
│ │ └── GameControls.tsx
│ ├── store/
│ │ └── gameStore.ts # Zustand state management
│ └── index.css # Stili globali
│
packages/ai-engine/
├── src/
│ ├── minimax_engine.py # Algoritmo Minimax
│ ├── evaluation.py # Funzione valutazione
│ ├── move_generator.py # Generatore mosse (TODO)
│ └── __init__.py
shared/src/rules.ts)export const GAME_RULES = {
MOVEMENT: {
BASE_MP: 10,
TERRAIN_COSTS: { plain: 1, forest: 2, ... },
ZOC_COST: 2
},
COMBAT: {
DICE_SIDES: 6,
CASUALTY_PERCENTAGE: 0.3,
...
}
};
shared/src/config.ts)export const GAME_CONFIG = {
AI: {
MINIMAX_DEPTH: 5,
TIMEOUT_MS: 3000,
ALPHA_BETA_PRUNING: true,
EVALUATION_WEIGHTS: { ... }
}
};
# Run all tests
yarn test
# Watch mode
yarn test --watch
# Coverage
yarn test --coverage
# Debug mode con output verbose
DEBUG=* yarn workspace @uswc/backend dev
# React DevTools
yarn workspace @uswc/frontend dev
# Apri http://localhost:5173
# Python tests
python -m pytest packages/ai-engine/tests/ -v
Questo progetto è creato come fan project per fini educativi. Il gioco originale "Unconditional Surrender" è di GMT Games.
Buon gioco! 🎮⚔️
Last Updated: May 7, 2026