Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello, For my final culmnating activity I need to create probability based game I have this created currently : Dungeons and Dice Its a turn

Hello, For my final culmnating activity I need to create probability based game I have this created currently : Dungeons and Dice Its a turn based card game on defending and attacking enemy combatates. The turn works out like so, - Pickup 3 Cards from the main deck (these include both ATK and DEF cards) - Pickup 1 Enemy card (This is the oppenent) - Roll for the enemys attack value Then you use your current card to see if you can win that round by either killing out your oppenets HP or fully DEF a attack then pulling an extra card to see if you have enough ATK to elim the enemy. If you kill the enemy in one turn, put all cards back into the deck and replay again. if you defend against the enemy, pull another card from your deck, if its ATK value + previous rounds to finish the enemy off then you win and follow the previous step. if you defend against the enemy, pull another card from your deck, if its ATK value isnt high enough to kill the enemy you lose. If its also a DEF card pulled then you lose as the enemy has learned your ways.

Cards : Enemy : 4 Goblins with a HP of 2, and a ATK of 1-4 (die roll) 4 Demons with a HP of 3, and a ATK of 2-5 (die roll) 3 Warriors with a HP of 4, and a ATK of 2-5 (die roll) 5 Overlords with a HP of 5, and a ATK of 4-6 (die roll)

DEF : 14 Shields with a DEF of 1 5 Armors with a DEF of 2 ATK : 14 Swords with a ATK of 1 5 Magic Strikes with a ATK of 2

Im looking to figure out how to find the winrate which has to be in between 20-40%

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

College Algebra

Authors: Margaret L. Lial, John Hornsby, David I. Schneider, Callie Daniels

12th edition

134697022, 9780134313795 , 978-0134697024

More Books

Students also viewed these Mathematics questions