本專案是一款支援三種模式的黑白棋(Reversi/Othello)遊戲:
- 🎮 本地雙人對戰(Local Multiplayer)
- 🤖 玩家對 AI(AI Battle)
- 🌐 線上對戰(Online Multiplayer)
為了順利運行本專案,你需要安裝以下工具:
- Docker Desktop
- 一個前端包管理器,如 npm 或 yarn
以 npm 為例:
npm install # 安裝專案依賴
npm run dev # 啟動開發伺服器(預設為 http://localhost:3000)請運行以下檔案:
run.bat # 啟動伺服器,依照提示完成部署若要結束伺服器:
stop.bat # 停止伺服器運行This is a Reversi (Othello) game supporting three game modes:
- 🎮 Local Multiplayer
- 🤖 Player vs AI
- 🌐 Online Multiplayer
Before running the project, make sure you have the following:
- Docker Desktop
- A package manager like npm or yarn
Using npm as an example:
npm install # Install all dependencies
npm run dev # Start development server (usually http://localhost:5173)To start the backend server:
run.bat # Follow the instructions to complete setupTo stop the server:
stop.bat # Shutdown the server