ayang726 / unit-4-game

Coding Bootcamp HW - Week 4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unit-4-game

Coding Bootcamp HW - Week 4

/* -- View Layout:

Character Picker: Enemies Lineup: Defender Slot: Show defense and block chance as circles or crystals

Action Buttons Attack Smash

Game message1 Game message2

-- Model: Character stats (Data): Health Attack Damage Counter attack Damage Defense Dodge Chance

Calculations: receiveDamage(damage, attackType = attack) testDodging()

-- Controller: Initialize: Character selection: Choose from 1 of 7 possible characters, Computer randomly choose 3 from the remaining 6 characters as enemies. Enemy Selection: Fight Gameloop: Select action(attack/smash (Ignores Defense but can be dodged)) Calculate damage to enemy Test end fight condition win Back to Enemy Selection Calculate damage received Test end fight condition lose Go to End game

End Game: Restart


Resources: https://www.kisspng.com/free/dwarf.html?size=medium

7 Dwarfs: Bashful- the shy one Doc- leader of the group, not too good at speaking Grumpy- always annoyed and irritated, doesn't like snow white Happy- fat, jolly, friendly, spreading joy to everyone Sneezy- likes to have fun, has never ending case of hay fever that makes him sneeze Sleepy- always tired, most observant Dopey- annoying, silly, the comic relief

*/

About

Coding Bootcamp HW - Week 4


Languages

Language:JavaScript 64.0%Language:HTML 23.3%Language:CSS 12.6%