Enclosed is the project for the game Phase 10. However, the following procedures seem to have some problems. This has to do with the computer decision making for the game Phase 10.
1. computerpickup
This is the procedure that if it returns true, then it picks up a card.
2. computerdiscard
This is the procedure that discards a card
Those are the 2 procedures I am aware of that has problems. Enclosed is also a textfile that further explains the game and what I am trying to accomplish. Let me know if you have any other questions. The other dlls and ocxs has to be installed to work on this because there is one that is used for multiplayer play (not used here); one used for a scrollable frame, one to handle collections and another one to put the information on the grid. The logic it should have is this:
First, try to have as many opportunities as possible to complete the phase. Later, narrow down the possibilities until it gets the phase. I already have the function to determine whether the phase is completed. That part is fine. The part for laying it down is fine as well. For discarding, do not throw any wilds away. If all the cards are in sets, then figure out which set to get rid of so there are cards to throw away.
## Deliverables
The complete source code only for the game with the fixes to the A.I. part.
## Platform
Windows 2000, Windows XP Home Edition, Windows 98