I’m gonna have to reformat the site, since some of the pages (Lore, for example) aren’t too easy to find. Today, I’ve been redoing my gantt chart because it was too bare bones, and writing out more pseudocode. Thus far, here is my game in very basic pseudocode, and it’s not even done. I’ve got a lot more writing to do…

 

“A Brutal Adventure” – Pseudo Code/ Decision Tree

 

GAME START:

Ask for user’s name and chosen fur colour

Randomly generate stats

Print “lore”

Ask user to pick a side

Print “set the scene”

Print “arrive at first decision”

Ask user to choose a direction on a path

If choice is forwards, print randomly generated outcome and steps forward

If choice is backwards, print “taunting message” and miss one turn

If side is Ra, receive strength and health debuff

If choice is left, print “lucky message” and generate steps forward

If side is Yue, receive strength buff

If choice is right, print “unlucky message” and generate steps forward/backward or miss turn

If choice is wander (no direction), print “smooth message” and generate steps forward

If side is Cor, receive enlightenment buff

If turn not missed, get random scenario from list, print “random noise scenario”

Ask user whether or not to follow the noise described

If follow is yes, print unique noise scene

Ask player to interact with random noise scene

If yes, continue sub plot

If no, print “skip”

If follow is no, print “logical message” and receive intelligence buff

If side is Cor, receive strength debuff

If side is Yue, receive intelligence buff

If turn is missed, print “idle message”

Print “random noise scenario”

Ask player whether or not to follow noise

If yes, print out scenario and ask player to interact

If no to interaction, skip

If yes, continue sub plot

If no to noise, print skip and add intelligence boost

Print “night scene” and ask player to choose a path

If choice is back, print ‘cliff scenario’

If luck too low, print game over

If luck level high enough, receive enlightenment boost

If side is Ra, receive strength buff

If choice is right, generate random amount of steps forward

If choice is left, print random encounter scenario

If encounter friendly, ask player to follow

If encounter enemy, ask player to fight or flee

If fight, calculate whether the player can win

If win, print encouraging message

If loose, print scathing message and lose health

If health less than 0, print game over.

Advertisements