Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added basic CSV output from HeadlessBattleView #28

Merged
merged 3 commits into from
Nov 21, 2023

Conversation

AlexanderNorup
Copy link
Owner

@AlexanderNorup AlexanderNorup commented Nov 21, 2023

Closes #23

Making nice CSV files.. Like this one:

Turn WinnerTeam TurnsToWin WinnerTeam_Monster1_Name WinnerTeam_Monster1_HP WinnerTeam_Monster2_Name WinnerTeam_Monster2_HP WinnerTeam_Monster3_Name WinnerTeam_Monster3_HP LoserTeam_Monster1_Name LoserTeam_Monster1_HP LoserTeam_Monster2_Name LoserTeam_Monster2_HP LoserTeam_Monster3_Name LoserTeam_Monster3_HP
1 A 17 Alpaca 0 Eel 74 Bird 98 Alpaca 0 Eel 0 Bird 0
2 A 20 Alpaca 0 Eel 0 Bird 51 Alpaca 0 Eel 0 Bird 0
3 A 18 Alpaca 0 Eel 60 Bird 98 Alpaca 0 Eel 0 Bird 0
4 B 22 Alpaca 0 Eel 0 Bird 40 Alpaca 0 Eel 0 Bird 0
5 A 24 Alpaca 0 Eel 0 Bird 22 Alpaca 0 Eel 0 Bird 0
6 B 21 Alpaca 0 Eel 0 Bird 69 Alpaca 0 Eel 0 Bird 0
7 B 21 Alpaca 0 Eel 0 Bird 51 Alpaca 0 Eel 0 Bird 0
8 A 21 Alpaca 0 Eel 0 Bird 98 Alpaca 0 Eel 0 Bird 0
9 B 22 Alpaca 0 Eel 0 Bird 25 Alpaca 0 Eel 0 Bird 0
10 B 20 Alpaca 0 Eel 0 Bird 25 Alpaca 0 Eel 0 Bird 0

battle_simulation_results_1700564317.csv

@AlexanderNorup AlexanderNorup merged commit 25e6941 into master Nov 21, 2023
@AlexanderNorup AlexanderNorup deleted the an/23-csv-export branch November 21, 2023 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Export CSV for headless battle simulation results
2 participants