Tuesday, March 11, 2025

Working on version 1.1 D&D dice program

So the basic logic is laid out for rolling different D&D dice and has been completed. Now to make the program a little nicer for the Atari, C64, and TI-99/4A computers. So I'm going to make the dice graphical.   I may make this app available for every possible platform I can program on. Below is the layout of the 6 sided (6D) dice I did tonight with just a text editor. 
TI-dice

call char(33,"0101010101010101")

char !=33
12341234
_______x 1 01  
_______x 2 01  
_______x 3 01
_______x 4 01
_______x 5 01 
_______x 6 01
_______x 7 01
_______x 8 01

call char(42,"00000708102040FF")
call char(43,"0000FC0C14244484")

char *=42        char +=43          
12341234         12341234
________  1 00   ________  1 00
________  2 00   ________  2 00 
     xxx  3 07   xxxxxx__  3 FC
____x___  4 08       xx__  4 0C
___x____  5 10      x x__  5 14
__x_____  6 20     x  x__  6 24
_x______  7 40    x   x__  7 44
xxxxxxxx  8 FF   x    x__  8 84


call char(64,"8585858991A1C181")

                 char @=64
                 12341234
                 x    x x  1 85
                 x    x x  2 85
                 x    x x  3 85
                 x   x  x  4 89
                 x  x   x  5 91
                 x x    x  6 A1
                 xx     x  7 C1
                 x      x  8 81

call char(94,"FF")

char ^=94
12341234
xxxxxxxx  1 FF

call char(36,"8080808080808080") 

char $
12341234
x         1 80
x         2 80
x         3 80
x         4 80
x         5 80
x         6 80
x         7 80 
x         8 80



No comments:

Post a Comment

Ford Racing Makes History with First Overall Victory and Podium Sweep at 2026 Rebelle Rally

Ford Racing Makes History with First Overall Victory and Podium Sweep at 2026 Rebelle Rally 4x4 Class Standings (Top Finishers) Rank ...