Advertisement

Making a game remember my previous moves. in C++

Started by March 03, 2001 05:55 PM
0 comments, last by Tamer2000 23 years, 11 months ago
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.
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers

This topic is closed to new replies.

Advertisement