Five Card Draw

Author
Released
Genre
Size
1.9 KB
Rating
No rating
Boards
2 / 2

Hello. This is the first time I have ever written anything in ZZT and I will say it can get complex quite quickly. This is my attempt to create two things. One of which is a random number generator and the other of which is code to produce and show 5-playing cards from a deck. The problem with my random number generator is that it follows a bell curve so it is unlikely you will get any Hearts or Spades for the cards despite the code being written to produce them. I'm posting this in the hopes that someone will be able to make changes to it and show how to produce truly random numbers - so I can get a generator that picks a true random number from 0 to 51.

Zeta
Audio formats are not yet supported
Video formats are not yet supported
5 Card Draw.zip
World
Board
Element
Stats
Prefs.
?
Filename Mod. Date Comp. Dir. CRC-32 Compressed Size Decompressed Size
5CARDDRW.ZZT 2022-09-04
00:01:52
8 N 593169750 1.2 KB 9.1 KB
readme.txt 2022-09-04
14:27:54
8 N 4102380915 411 bytes 738 bytes
Toggle Codeless Stats
Sort by:
    File Navigation (with a file selected)
    • Shift + +/J: Next file
    • Shift + -/K: Previous file
    Board Navigation
    • +/J: Next board
    • -/K: Previous board
    • Numpad 2/4/6/8: Follow board connection
    • Double click on a passage () to travel to its destination
    Tab Hotkeys
    • W - World tab
    • B - Board tab
    • E - Element tab
    • S - Stat tab
    • P - Preferences tab
    Misc
    • Shift + B - Toggle high intensity backgrounds (blinking)