A simple tactical card game.
Go to file
snen 1f2db74132 fix github link 2021-11-08 22:40:32 -05:00
.vscode Initial commit 2021-09-23 22:37:47 -04:00
assets Update image assets 2021-09-24 02:57:55 -04:00
client fix github link 2021-11-08 22:40:32 -05:00
common Edit page details, start integrating socket 2021-09-24 00:47:45 -04:00
server Enable routing to env variable 2021-09-29 16:03:05 -04:00
.gitignore add gitignore dir for debug files 2021-09-29 15:21:42 -04:00
Procfile Initial commit 2021-09-23 22:37:47 -04:00
README.md update github links 2021-11-08 03:29:26 -05:00
import_map.json upgrade to firebase 9 to fix import issues 2021-11-08 05:08:29 -05:00
run-local.sh Enable routing to env variable 2021-09-29 16:03:05 -04:00
tsconfig.json Initial commit 2021-09-23 22:37:47 -04:00

README.md

Tomecraft Web

This is a client for a tactical card game server. It is made using my Deno-React-Web-Starter template repository.

Deployed server is at http://www.tomecraft.xyz/. Code for the websocket server was written by @stryan.

Code layout

  • ~/client: any code that is compiled and shipped to the browser.
    • ~/client/styles.css: the stylesheet for the application.
    • ~/client/App.tsx: the entrypoint for the app, which imports everything else in the folder.
  • ~/common: modules shared between browser and server code.
  • ~/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.