minustehbare / CSE4705_final

Game of the Amazons AI for final project.
2 stars 0 forks source link

Partition name #5

Closed Dr-Steve closed 13 years ago

Dr-Steve commented 13 years ago

Hey, I need a way to get the name of a partition. Well, not a 'name' per say, but a unique identifier. This will be used for storing to the file like we talked about earlier today. I'm thinking something like scroll through it index by index and append the index number and its state at each non-marked index. I could implement this in my storage system, but it kinda made sense to me if we put it in the partition, as it kinda is a property of the partition. Also, this could potentially be useful information for other parts of the AI down the road.

searing commented 13 years ago

Where do we want to store the depth of each file? I'll add a static field to Partition for now, but I think it should be in the EndgameRepo class or whatever we decide to call it.

searing commented 13 years ago

I have pushed an update for this. Hopefully later tonight (maybe tomorrow) I'll finish writing tests for Partition and I'll put them all in a separate repo, so you can see it being used (and know that it works!)