ARKHAM HORROR VIRTUALIZATION PROJECT Developed by Kaleb Houck
ARKHAM HORROR VIRTUALIZATION PROJECT Developed by Kaleb Houck, Zack Kimball, Douglas Drobny, Aaron Phillips, Miguel Ramirez, Ben Adler, Premsagar Donga, Ryan Savage, Gary Hollingshead, Wenlong Huang
Brief Introduction � � � Virtualization effort of Arkham Horror Board Game Will be developed for two platforms: Linux and Table System Our team will be doing development using Agile methods. Our project will be developed in a highly modular fashion using Unicon. We will be using a virtual development environment called Assembla. We will be discussing in this presentation what has been done by the three sub teams : Team Gary, Team Doug, and Team Ben.
Combat (Collaboration)
Combat (Activity)
Sealing a Gate (Sequence)
DICE DEMONSTRATION
Mythos Common Item Decks Card Many to many relationship Arkham Event
############### # This is a record of a card. Opt-int to use records instead # of classes. The fields of a record are accessed the same way # (with a '. ') and can be procedures. # name = Card name # text = Card text # deck = Deck the card belongs to # front. Pic = Picture to put on front of card # back. Pic = Picture to put on the back of the card # total = Number of cards left in deck to draw or total cards to put in deck # c. Use = link to procedure that gets called when used # c. Drop = link to procedure that gets called when dropped # c. Pickup = link to procedure that gets called when picked up # hand. Cost = how many hands needed to use # exhausted = yes or no for exhausted or not ############### record Card(name, text, deck, front. Pic, back. Pic, total, c. Use, c. Drop, c. Pickup, hand. Cost, exhausted) local l. Mythos. Deck local l. Arkham. Event. Deck local l. Otherworld. Event. Deck local l. Normal. Item. Deck local l. Magic. Item. Deck local l. Spell. Deck local l. Skill. Deck local l. Henchmen. Deck
START MENU
MOVEMENT ACTIVITY GRAPH
Location Pathing � Locations have a list of all adjacent locations � Calculates all paths of length 9 � Removes paths without destination � Truncates locations after the destination � Finds shortest list
Samples
Environment and Player Character Classes � Stat Tables � Houses many relevant player stats within an easily accessed table � Two Tables: Base. Stats. Table and Buff. Stats. Table � Buff System � Allows for handling of multiple independent stat bonus effects with limited durations. � The Buff Object consists of: ○ Name: ○ Expiration: Names of the period in which this buff is to expire � Common expirations are: ○ Combat: These buffs are discarded after each combat turn Turn: These buffs expire at the end of the player’s current turn Phase: These buffs expire at the end of the current phase. Upkeep: These buffs expire at the start of next Upkeep Phase Passive: These buffs expire when the item giving the benefit is discarded (handled by discard() method) Effects(list): the list of 1 or more stat modifications for this given buff � It is a list of pairs [ “stat”, magnitude ] , where the “stat” is the key for the proper stat in the Stat. Tables and the magnitude is the (+/-) integer. ○ Conditions(list): used to allow for the buffs that have conditions attached. � Example: [“type”, “cultist”] implies the buff only affects cultist type creatures � Example: [“locationtype”, ”street”] implies this buff only works when you are tested and found to be in a street
Player Character Class � Stat Sliders � Implemented in two parts: Base. Stats. Table and three integer variables: ○ Mobilityslider: controls the slider of Speed Sneak ○ Combatslider: controls the slider of Fight Will ○ Mentalslider : controls the slider of Lore Luck ○ Each of these integers is contained within the range of 0 to 3 � When the character is initialized, their stats in the Base. Stats. Table is set to the value on the far left, and the sliders are all set to a value of 0 � Status. Table � There are many toggles that can be placed on your character, these have all been migrated to the Status. Table, under their appropriate keys.
Environment Class � Player Table � Contains specific instances of the player character class ○ The keys for these are player 1 through player’n’ in order to prevent odd player names from interfering with the table’s function � Deck Table � Contains specific instances of the deck class, accessed by giving a ‘key’ that uniquely identifies the deck ○ Drawing a common item is as easy as Deck. Table[“common”]. Draw. Card() ○ This table has the potential to hold every deck, from items to encounter cards, to the gate and monster decks.
Environment Class Player Table Variable Value Key Value Player. Table <table> object “Player 1” <class> object Deck. Table <table>object “Player 2” <class> object …. …. Current. Player <string> “Player n” <class> object Current. Phase <string> …. . Player. Table[“Player 1”]. Get. Stat(“Max. Stamina”) Player-Character class Base. Stats. Table Key Value variable Value Max. Stamina 6 Name “Bobby” Max. Sanity 4 …. … … Base. Stats. Tabl e <table> object Speed 2 …. Sneak 0 Buff. List <list> object Etc. . Buff. Stats. Table <table> object
Collaboration diagram
Sequence diagram
method On. Zoom(ev) w: =Board. Image. w_spec h: =Board. Image. h_spec x: =&x-Board. Panel. x_spec y: =&y-Board. Panel. y_spec if (Board. Image. w=Board. Panel. w_spec) then { Board. Image. set_size(w*5, h*5) x: =x*5 -Board. Panel. w_spec/2 y: =y*5 -Boardpanel. h_spec/2 MAXx: =Board. Image. w_spec. Board. Panel. w_spec MAXy: =Board. Image. h_spec-Board. Panel. h_spec if (x<0) then x: =0 if (y<0) then y: =0 if (x>MAXx) then x: =MAXx if(y>MAXy) then y: =MAXy Board. Image. set_pos(-x, -y) Vertical. Zoom. Scroll. Bar. set_value(50*y/MAXy) Horizontal. Zoom. Scroll. Bar. set_value(50*x/MAXx) overlay_set_1. set_which_one(overlay_item_1) } else { Board. Image. set_size(w/5, h/5) Board. IMage. set_pos(0, 0) overlay_set_1. set_which_one(overlay_item_2) } resize() end
method On. Horizontal. Zoom. Scroll. Bar. Press(ev) y: =Board. Image. y_spec MAXx: =Board. Image. w_spec-Board. Panel. w_spec x: =Horizontal. Zoom. Scroll. Bar. value*MAXx/50 Board. Image. set_pos(-x, y) resize() end
Zoomed out Map Game Display Player clicks the zoom icon Player clicks on map Investigator Stats Display Player clicks the investigator Main Game Display Player clicks the investigator Player clicks return Equipment Stats Display Player clicks an item in the list
CHATBOX Chatbox is an optional feature wherein the users can chat with each other during playtime.
Chatbox
Chatbox
Chatbox
- Slides: 27