courageousillumination / deckr

A Card Game Engine for CMSC 22001
MIT License
6 stars 1 forks source link

Added a test that verifies that all of the actions on a card get resolved when it is played #45

Closed percivalgambit closed 9 years ago

percivalgambit commented 9 years ago

Tests that cards can resolve themselves when played. We still need to add a test for parsing card effects into steps and a test for waiting for input on the server.

courageousillumination commented 9 years ago

This is a good start but a couple comments.

The steps should be in the game not on the test. We need more tests around this functionality when a step needs more information. We need to make sure we stop at the right place and when we continue we continue at the right place.