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 1c88134753 Merge branch 'main' of github.com:sullivansean27/tomecraft into main 2 weeks ago
.vscode Initial commit 4 weeks ago
assets Update image assets 3 weeks ago
client Merge branch 'main' of github.com:sullivansean27/tomecraft into main 2 weeks ago
common Edit page details, start integrating socket 4 weeks ago
server Enable routing to env variable 3 weeks ago
.gitignore add gitignore dir for debug files 3 weeks ago
Procfile Initial commit 4 weeks ago
README.md Clarify readme title 2 weeks ago
import_map.json Initial commit 4 weeks ago
run-local.sh Enable routing to env variable 3 weeks ago
tsconfig.json Initial commit 4 weeks 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.