improved algorithm for calculating player name location

This commit is contained in:
evanpelle
2024-08-19 13:07:15 -07:00
parent fe67cc8492
commit 7d48dd1cba
7 changed files with 111 additions and 68 deletions
-3
View File
@@ -10,8 +10,6 @@ import {defaultConfig} from '../core/configuration/DefaultConfig';
import {GamePhase} from './GameServer';
import {getConfig} from '../core/configuration/Config';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
@@ -19,7 +17,6 @@ const app = express();
const server = http.createServer(app);
const wss = new WebSocketServer({server});
// Serve static files from the 'out' directory
app.use(express.static(path.join(__dirname, '../../out')));
app.use(express.json())