Public
Like
ttrpgTools
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
http.tsx
https://dcm31--1741634c042f11f08860569c3dd06744.web.val.run
A collection of useful tools for tabletop role-playing games, created as a subproject for char.build.
This TTRPG Tools subproject includes:
- Dice Roller: Roll various types of dice with modifiers
- Name Generator: Generate character names for different fantasy races
- Initiative Tracker: Keep track of turn order during combat encounters
This project is designed to be accessed through the main char.build domain at the /ttrpg
path. To integrate this with the main char.build project, add it to the proxyRoutes
array in the main project's proxies.tsx
file:
{
pattern: '/ttrpg',
target: 'https://dcm31--1741634c042f11f08860569c3dd06744.web.val.run',
name: 'TTRPG Tools'
}
This subproject uses:
- React for UI components
- Path-based routing for different tools
- Responsive design for use on any device
- Integration with the char.build main project
This project provides a static UI for the tools. For full interactivity, JavaScript implementation would need to be added to handle:
- Actual dice rolling calculations
- Name generation logic
- Initiative tracking actions
Planned future additions include:
- Encounter builder
- Loot generator
- NPC generator
- Weather and travel conditions generator
- Combat tracker with integrated HP management
- Save/load functionality for campaigns
To extend this project:
- Add new tool components to the main App component
- Create corresponding page components with their UI
- Add navigation links to access the new tools
- Implement JavaScript functionality for interactive elements
- Design inspired by modern TTRPG applications
- Built using the char.build subproject template