Starting from:

$35

CSE1342-Program 6 Solved

The Game of War Part 2
In program 4, you created the Game of War using a custom stack implementation.

For program 6, your assignment is to refactor your code such that you use the <stack> ADT instead of a custom implementation.

Implementation Details
•       Your cards must still be allocated on the heap

•       The stack object may exist on the call stack or the heap

•       Any memory you create must be appropriately destroyed

A reference implementation of program 4 has been provided.  You may either refactor that program or your original submission. 

More products