tome-web/README.md

16 lines
821 B
Markdown
Raw Permalink Normal View History

2021-10-01 21:37:53 +00:00
# Tomecraft Web
2021-09-24 02:37:47 +00:00
2021-11-08 08:29:26 +00:00
This is a client for a tactical card game server. It is made using [my Deno-React-Web-Starter template repository](https://github.com/snendev/deno-react-web-starter).
2021-09-24 02:37:47 +00:00
2021-10-01 02:10:40 +00:00
Deployed server is at http://www.tomecraft.xyz/. Code for the websocket server was written by @stryan.
2021-09-24 02:37:47 +00:00
## Code layout
- `~/client`: any code that is compiled and shipped to the browser.
2021-09-29 21:22:01 +00:00
- `~/client/styles.css`: the stylesheet for the application.
2021-09-24 02:37:47 +00:00
- `~/client/App.tsx`: the entrypoint for the app, which imports everything else in the folder.
- `~/common`: modules shared between browser and server code.
2021-09-29 21:22:01 +00:00
- `~/server`: a simple webserver (and an entrypoint for client code).
- `~/import_map.json`: the import map used for both client and server code.
- these could be separated, but I prefer to avoid the maintenance cost.