Turn based AI game
I am planning to make a turn based game using cross platform cocos2dx. My game will have nodes and road to reach the node (say edges). Player and AI has to reach to the node which has diamond using shortest path, it will be turn based. 

This will be my first game of AI. I am looking for help 
1. How to make turn based game ? ( any example or open source code to learn or any nice tutorials)
2. How will I implement AI, I have to implement the A* but do not know much about it ...(any help) ? 
3. One question eating my head about the game is how should I differentiate between Node and Edges how will I tell Player or AI that it is Node (depending on this I can proceed to levelMap )

Help will be highly appreciated .. Since its my first AI game I want to clear my concepts too that's y maybe my question will be silly but i really want to learn deep.

THanks in advance
Turn based AI game
===

I am planning to make a turn based game using cross platform cocos2dx. My game will have nodes and road to reach the node (say edges). Player and AI has to reach to the node which has diamond using shortest path, it will be turn based. 

This will be my first game of AI. I am looking for help 
1. How to make turn based game ? ( any example or open source code to learn or any nice tutorials)
2. How will I implement AI, I have to implement the A* but do not know much about it ...(any help) ? 
3. One question eating my head about the game is how should I differentiate between Node and Edges how will I tell Player or AI that it is Node (depending on this I can proceed to levelMap )

Help will be highly appreciated .. Since its my first AI game I want to clear my concepts too that's y maybe my question will be silly but i really want to learn deep.

THanks in advance