Author | Message |
---|---|
lbriggs
Posts: 57
|
Posted 09:47 Jun 02, 2014 |
The homewprk description says to allow non logged in users to play against the AI. But to create a game object I need to attach to it a user object. If a user is not logged in how would that work? Should I create a temporarily user and also there's issues with automatically saving after each move. Would I just not allow that users profile to be displayed?
I guess my application is heavily dependent on a user being logged in and not sure the best way around that. |
cysun
Posts: 2935
|
Posted 11:08 Jun 02, 2014 |
Change your implementation so it doesn't require a User object to create a Game object. |