Commit e64809c8 authored by Zak Stephens's avatar Zak Stephens

Add skeleton of new features.

parent 707d2281
......@@ -16,7 +16,8 @@ const app = require('express')();
const [playerRepository] = await Promise.all([require('./repositories/player/sqlite')(db)]);
const gameState = {
maps: {}
maps: {},
items: {},
players: {},
messages: {},
};
......
module.exports = (filePath, gameState) => {
// TODO:
};
module.exports = world => {
const express = require('express');
const router = express.Router();
router.post('/:id/sales', express.json(), (req, res) => {
});
return router;
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment