This is my first post so please be patient with me. I have been using C2 for the past few months and have leaned heaps in this time toying with many different kinds of projects (platformers, smups, adventure games etc) and have decided to do my first full app to completion on a card game I play with my kids. I am planning on publishing this to IOS to begin with if I can get it to work...
The rules are simple, the first player who discards their entire hand wins. There are 4 players (1 human, 3 AI), and you discard numeric values, each player discards the same value +/- 1 as the player previous. The twist is you can lie about your discard. So you can put an Ace down and say it was a 5 etc (up to 4 cards at a time). But if you get caught lying you pick up the entire discard pile.
To allow this to happen in the interface I have your hand where you select the card/s to discard, but before you click 'DONE' you must click one of the icons in the row at the bottom of the screen (should be clear when you see it). I haven't done the tutorial so sorry if it doesn't make sense at the moment.
What I've done so far which works.<img src="smileys/smiley1.gif" border="0" align="middle" />
- shuffle and deal cards
- reorder hand
- player hand browsing
- player card selection and discard
- assign face value to each card
What I can't get to work.<img src="smileys/smiley19.gif" border="0" align="middle" />
- compare AI hands to discard and take appropriate yet random course of action. e.g. place their cards down or call 'CHEAT'(it freezes at the moment but I did have this kinda working a while back but I don't know what I did to kill it...)
I have been stuck at this stage for a week or so and I don't know how many different ways I can try but I've tried more than I care to recall.
Also, I don't know how to attach a capx so if you would like to lend a hand (also let me know how to get you the file) please let me know. None of the art assets are done so it is very poor in aesthetics right now.
Thanks for taking the time to read this post.