Menu
News
All News
Dungeons & Dragons
Level Up: Advanced 5th Edition
Pathfinder
Starfinder
Warhammer
2d20 System
Year Zero Engine
Industry News
Reviews
Dragon Reflections
White Dwarf Reflections
Columns
Weekly Digests
Weekly News Digest
Freebies, Sales & Bundles
RPG Print News
RPG Crowdfunding News
Game Content
ENterplanetary DimENsions
Mythological Figures
Opinion
Worlds of Design
Peregrine's Nest
RPG Evolution
Other Columns
From the Freelancing Frontline
Monster ENcyclopedia
WotC/TSR Alumni Look Back
4 Hours w/RSD (Ryan Dancey)
The Road to 3E (Jonathan Tweet)
Greenwood's Realms (Ed Greenwood)
Drawmij's TSR (Jim Ward)
Community
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Resources
Wiki
Pages
Latest activity
Media
New media
New comments
Search media
Downloads
Latest reviews
Search resources
EN Publishing
Store
EN5ider
Adventures in ZEITGEIST
Awfully Cheerful Engine
What's OLD is NEW
Judge Dredd & The Worlds Of 2000AD
War of the Burning Sky
Level Up: Advanced 5E
Events & Releases
Upcoming Events
Private Events
Featured Events
Socials!
EN Publishing
Twitter
BlueSky
Facebook
Instagram
EN World
BlueSky
YouTube
Facebook
Twitter
Twitch
Podcast
Features
Top 5 RPGs Compiled Charts 2004-Present
Adventure Game Industry Market Research Summary (RPGs) V1.0
Ryan Dancey: Acquiring TSR
Q&A With Gary Gygax
D&D Rules FAQs
TSR, WotC, & Paizo: A Comparative History
D&D Pronunciation Guide
Million Dollar TTRPG Kickstarters
Tabletop RPG Podcast Hall of Fame
Eric Noah's Unofficial D&D 3rd Edition News
D&D in the Mainstream
D&D & RPG History
About Morrus
Log in
Register
What's new
Search
Search
Search titles only
By:
Forums & Topics
Forum List
Latest Posts
Forum list
*Dungeons & Dragons
Level Up: Advanced 5th Edition
D&D Older Editions
*TTRPGs General
*Pathfinder & Starfinder
EN Publishing
*Geek Talk & Media
Search forums
Chat/Discord
Menu
Log in
Register
Install the app
Install
Community
General Tabletop Discussion
*TTRPGs General
Designing a Random Table Generator
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Janx" data-source="post: 5905419" data-attributes="member: 8835"><p>more stuff:</p><p></p><p>as I determined, Block=Generator. It can be plain text, html, or vbulletin markup. It can have markup to roll dice and call other tables or blocks.</p><p></p><p>the Parsing Engine is a chunk of code that takes an input of text that might contain markup and returns that text with the markup replaced with actual lookup results.</p><p></p><p>We can wire up a new Generate button on this here post editing page, or hook it up to the submit button to run ONCE when I post it, forever remaining static after that.</p><p></p><p>We have many ways the Parser gets hooked up. That's like the least of our worries as we have many options on where to use it.</p><p></p><p>Initially, I envisioned 3 basic screens, just to get the critter running:</p><ol> <li data-xf-list-type="ol">Main I/O screen</li> <li data-xf-list-type="ol">List of Assets screen</li> <li data-xf-list-type="ol">Edit Asset screen</li> </ol><p></p><p>1) Main I/O screen.</p><p>This is where folks can play with the parser to generate their own results, etc. Folks just type in stuff with tags and then hit the Generate button and it'll post back and return a pretty result (because Blocks can have html or whatever). In theory, what folks type in COULD be saved as a new Block/Generator.</p><p></p><p>2) List of Assets</p><p>We need a word to describe all the tables, blocks and generators (because they are all the same thing from a high level view, tags to be handled. I'll call them Asssets. This screen shows a GridView that lets the user scroll through all of them, filter, search, and choose to execute or edit one.</p><p>Here's a link to a GridView control I use, so we're all clear on what that means: <a href="http://demos.devexpress.com/aspxgridviewdemos/Filtering/FilterRow.aspx" target="_blank">Filter Row - DevExpress AJAX Data Grid for ASP.NET</a></p><p></p><p>there are other products that do the same thing for PHP, don't get bogged down in who makes it.</p><p></p><p>3) Edit Asset</p><p>This is where the easy-bake editor for a single Asset lives. An Asset as the following attributes: Name, Type, Description, Owner, LastUpdated, and Body. Body is where the magic syntax for tables go, or the big pile of formated text for a Block or Generator go.</p><p></p><p>Here's the trick, by making the user specificy Type, we do NOT have to expose the user to cryptic syntax like you see at TableSmith's examples. That might be how it is stored, but when you say the Type=Table, the UI can show a nice, easy to use table that the user edits individual fields on, rather than hand-typing the exact syntax we need.</p><p></p><p>The same for a Block/Generator. We can show a nice WYSIWYG box with buttons to change font, etc. We can also include a "picker" tool to help wade through the pile of Assets to add a tag into the text where the cursor is.</p><p></p><p>With these 3 screens, a user can start making Assets and test them. They can use it directly from the List screen, or use the Main screen to make something complex.</p></blockquote><p></p>
[QUOTE="Janx, post: 5905419, member: 8835"] more stuff: as I determined, Block=Generator. It can be plain text, html, or vbulletin markup. It can have markup to roll dice and call other tables or blocks. the Parsing Engine is a chunk of code that takes an input of text that might contain markup and returns that text with the markup replaced with actual lookup results. We can wire up a new Generate button on this here post editing page, or hook it up to the submit button to run ONCE when I post it, forever remaining static after that. We have many ways the Parser gets hooked up. That's like the least of our worries as we have many options on where to use it. Initially, I envisioned 3 basic screens, just to get the critter running: [LIST=1] [*]Main I/O screen [*]List of Assets screen [*]Edit Asset screen [/LIST] 1) Main I/O screen. This is where folks can play with the parser to generate their own results, etc. Folks just type in stuff with tags and then hit the Generate button and it'll post back and return a pretty result (because Blocks can have html or whatever). In theory, what folks type in COULD be saved as a new Block/Generator. 2) List of Assets We need a word to describe all the tables, blocks and generators (because they are all the same thing from a high level view, tags to be handled. I'll call them Asssets. This screen shows a GridView that lets the user scroll through all of them, filter, search, and choose to execute or edit one. Here's a link to a GridView control I use, so we're all clear on what that means: [url=http://demos.devexpress.com/aspxgridviewdemos/Filtering/FilterRow.aspx]Filter Row - DevExpress AJAX Data Grid for ASP.NET[/url] there are other products that do the same thing for PHP, don't get bogged down in who makes it. 3) Edit Asset This is where the easy-bake editor for a single Asset lives. An Asset as the following attributes: Name, Type, Description, Owner, LastUpdated, and Body. Body is where the magic syntax for tables go, or the big pile of formated text for a Block or Generator go. Here's the trick, by making the user specificy Type, we do NOT have to expose the user to cryptic syntax like you see at TableSmith's examples. That might be how it is stored, but when you say the Type=Table, the UI can show a nice, easy to use table that the user edits individual fields on, rather than hand-typing the exact syntax we need. The same for a Block/Generator. We can show a nice WYSIWYG box with buttons to change font, etc. We can also include a "picker" tool to help wade through the pile of Assets to add a tag into the text where the cursor is. With these 3 screens, a user can start making Assets and test them. They can use it directly from the List screen, or use the Main screen to make something complex. [/QUOTE]
Insert quotes…
Verification
Post reply
Community
General Tabletop Discussion
*TTRPGs General
Designing a Random Table Generator
Top