Tutorials_WP_7_8
Tutorials on building Windows Phone 7 and 8 apps using App42 API and AppWarp.
SETUP OF PROJECT FOR WP7 AND WP8:
-
[Sign Up] (https://apphq.shephertz.com/register?appwarp=true) for new account if you are already registered then [Sign In] (https://apphq.shephertz.com/register/app42Login?appwarp=true) .
-
Now create app (AppWarp) on this website by clicking on Create App button and then checking on Warp Cloud API App check box. You will get API_KEY and SECRET_KEY. Provide API_KEY and SECRET_KEY in GlobalContext.cs file's parameter with same names.
-
Create room and get its room id at same website. Provide Room ID in GlobalContext.cs file's parameter named GameRoomId. Note: While creating room for tic tac toe specify max user as 2.
-
Open solution file in VisualStudio 2k10(For Win7 Phone) or 2k12 (For Win8 Phone)
-
To run in emulator just Run the project or click on debug in IDE . We Can run 2 instances on a single machine or one instance on one machine and other on differnt OS machine or even on different Window Mobile Phone.
-
To Run it on Window 7 or Window 8 phone use TicTacToeAppWarp.xap file with Zune software to Install game . File will be obtained after building solution in following folder- (Tutorials_WP_7_8\TicTacToeAppWarp\Bin\Debug).
-
How to play the game.
-
Once one user Join the game by entering his name and clicking on join button he or she will have to wait till second user join.
-
Once Second user will join first user will get message to start game by his move and second player will have to wait till first player make a move and game proceed with alternate moves of both players.
-
User clicking on new game button before game completion will lose game and new game will be initialized.
-
User clicking on end game button before game completion will lose game and other user will get notification of it.
-
Blocked Zipped file issue
- If downloaded files are in zip format sometimes we need to unblock it before Unzipping it (by clicking on zipped file and then clicking on property we will get Unblock checkbox).