Move History....
- n00less cluebie
- Lux Cantor
- Posts: 8377
- Joined: Sun Jan 06, 2008 8:55 am
- Location: At the Official Clown Reference Librarian Desk--'All the answers you weren't looking for.'
- Contact:
Move History....
For the purposes of more effective AI's and for the ability to "replay games", how difficult would it be to implement a system to export a history of all the moves from a Lux Game.
It could have some kind of HTML format, similar to Map Files.
And then consist of a list of moves
E.g.
<Turn>
<Player>
<Movement>
Kam -> Jap: Lose 2 (6, 4, 2) : (6, 5)
Kam -> Jap: Split (5, 4, 1) : (4, 4)
Kam -> Jap: Win 2 (4, 4, 2): (3, 1)
.
.
.
</Movement>
<Fortify>
Irk - > Yak: 5
Yak -> Sib : 2
</Fortify>
</Player>
.
.
.
</Turn>
This could be made a little more efficient by not storing dice results, and lumping all the attacks between the same countries together:
E.g.
Kam -> Jap: (-14, -18) ; shows that the attacker lost 14, and the defender lost 18
So what's the feasibility of this?
It could have some kind of HTML format, similar to Map Files.
And then consist of a list of moves
E.g.
<Turn>
<Player>
<Movement>
Kam -> Jap: Lose 2 (6, 4, 2) : (6, 5)
Kam -> Jap: Split (5, 4, 1) : (4, 4)
Kam -> Jap: Win 2 (4, 4, 2): (3, 1)
.
.
.
</Movement>
<Fortify>
Irk - > Yak: 5
Yak -> Sib : 2
</Fortify>
</Player>
.
.
.
</Turn>
This could be made a little more efficient by not storing dice results, and lumping all the attacks between the same countries together:
E.g.
Kam -> Jap: (-14, -18) ; shows that the attacker lost 14, and the defender lost 18
So what's the feasibility of this?
- n00less cluebie
- Lux Cantor
- Posts: 8377
- Joined: Sun Jan 06, 2008 8:55 am
- Location: At the Official Clown Reference Librarian Desk--'All the answers you weren't looking for.'
- Contact:
- enjoymoreradio
- Lux Addict
- Posts: 552
- Joined: Mon Apr 30, 2007 5:47 pm
- Location: Walking uphill both ways in the snow
- n00less cluebie
- Lux Cantor
- Posts: 8377
- Joined: Sun Jan 06, 2008 8:55 am
- Location: At the Official Clown Reference Librarian Desk--'All the answers you weren't looking for.'
- Contact:
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 134 guests