- Cloner le dépôt :
git clone https://github.com/thanhtulearncode/Projet_App
cd Projet_App- Configurer le backend (Python/FastAPI) :
cd backend
python -m venv venv
# Windows
venv\Scripts\activate
# macOS/Linux
source venv/bin/activate
pip install -r requirements.txt- Configurer le frontend (React) :
cd frontend
npm install- Lancer le terminal 1 (backend) :
cd backend
uvicorn api:app --reload --port 8000- Lancer le terminal 2 (frontend) :
cd frontend
npm startOuvrir l’application sur http://localhost:3000
Projet_App/
├── backend/
│ ├── api.py # API FastAPI
│ ├── game_engine.py # Logique du jeu
│ ├── game_engine.py # L'IA
│ ...
│ └── requirements.txt
│
├── frontend/
│ ├── public/
│ │ ...
│ │ └── index.html
│ ├── src/
│ │ ├── components/ # UI Components
│ │ ...
│ │ ├── App.js
│ │ ├── index.css
│ │ └── index.js
│ └── package.json
│
└── README.md # Ce fichier
- React.js
- Python 3.9+
- FastAPI
- NumPy
- Algorithme MinMax avec élagage alpha-bêta
Ouvrir l’application sur https://wall-street-game.vercel.app/