2021-09-29 17:22:01 -04:00
# Tomecraft
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
## 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.