tome-web/README.md

16 lines
828 B
Markdown
Raw Normal View History

2021-10-01 17:37:53 -04:00
# Tomecraft Web
2021-09-23 22:37:47 -04:00
2021-09-29 17:22:01 -04: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/sullivansean27/deno-react-web-starter).
2021-09-23 22:37:47 -04:00
2021-09-30 22:10:40 -04:00
Deployed server is at http://www.tomecraft.xyz/. Code for the websocket server was written by @stryan.
2021-09-23 22:37:47 -04:00
## Code layout
- `~/client`: any code that is compiled and shipped to the browser.
2021-09-29 17:22:01 -04:00
- `~/client/styles.css`: the stylesheet for the application.
2021-09-23 22:37:47 -04: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 17:22:01 -04: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.