Skip to content

Tarot deck simulator commissioned as a writing aid for creating plot points and character arcs

Notifications You must be signed in to change notification settings

Are-Oelsner/WritingAid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

WritingAid

Author : Are Oelsner

Description : Tarot deck simulator commissioned as a writing aid for creating plot points and character arcs

Deck class stores list of cards and associated functions

Card class represents a single tarot card

Deck Functions

init() Deck constructor

shuffle() Shuffles current deck

reset() returns drawn cards to deck and resets order and state

draw() draws and returns the top card on the deck

find(cardNum) draws and returns the card with the specified card number, if found

pull(numCards) draws and returns the specified number of cards

pullVerbose(numCards) pulls the specified number of cards and prints them

beforeAndAfter() draws and prints two cards in before and after format

print() prints the entire current deck

About

Tarot deck simulator commissioned as a writing aid for creating plot points and character arcs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages