Making a game remember my previous moves. in C++
Hi,
I''ve just written a basic text based game in C++,
but I want it to remember my previous moves and update it and to look at the next best move.
e.g i want it to have a history.
I was thinking of using linked lists or vector arrays. Can anybody tell me what is the easiest option and if i''m on the right track.
Thanks
I would recommend you implement a stack using a linked list.
Martee
Magnum Games.NET
All your code are belong to us.
Martee
Magnum Games.NET
All your code are belong to us.
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement