- Forum posts: 1
Mar 5, 2016, 1:13:28 PM via Website
Mar 5, 2016 1:13:28 PM via Website
Hi guys,
this is actually my first post (and first app)
I'm working on a card game.
I finished the game logic and classes and tested it.
now I'm trying to build the interface.
After lots of tries I think I need some guidance!
how do I structure my code?
I want the app to start, deal cards, offer choices to the player (and wait for his response ) then offer and wait for the AI to do the same, continue this way until the game ends.
(the game logic is similar to uno game but a little bit more complex)
where should I go from here? I'm fining problems with waiting for response in the main UI thread and I don't know what to do!
should I use threads for game logic?