A simple tactical card game.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
snen 1f2db74132 fix github link 3 months ago
.vscode Initial commit 4 months ago
assets Update image assets 4 months ago
client fix github link 3 months ago
common Edit page details, start integrating socket 4 months ago
server Enable routing to env variable 4 months ago
.gitignore add gitignore dir for debug files 4 months ago
Procfile Initial commit 4 months ago
README.md update github links 3 months ago
import_map.json upgrade to firebase 9 to fix import issues 3 months ago
run-local.sh Enable routing to env variable 4 months ago
tsconfig.json Initial commit 4 months ago

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.