No real functionality here yet.
--- /dev/null
+const express = require("express");
+const Game = require("./game.js");
+
+class Empathy extends Game {
+ constructor(id) {
+ super(id);
+ }
+}
+
+Empathy.router = express.Router();
+
+Empathy.meta = {
+ name: "Empathy",
+ identifier: "empathy",
+};
+
+exports.Game = Empathy;
const engines = {
empires: require("./empires").Game,
tictactoe: require("./tictactoe").Game,
- scribe: require("./scribe").Game
+ scribe: require("./scribe").Game,
+ empathy: require("./empathy").Game
};
class LMNO {
--- /dev/null
+{% extends "base.html" %}
+
+{% block head %}
+<link rel="stylesheet" href="/empathy/empathy.css" type="text/css" />
+
+<script src="/react.js"></script>
+<script src="/react-dom.js"></script>
+<script type="module" src="/empathy/empathy.js"></script>
+{% endblock %}
+
+{% block page %}
+<h1><a href="/empathy">Empathy</a></h1>
+
+<div id="empathy"></div>
+
+{% endblock %}