[Solved] Automated game walker for testing purpose
Posted: Fri Sep 10, 2021 6:23 am
Hi everyone !
I'm making a visual novel on Ren'Py and I start thinking about my testing process.
I use lint script for the testing but i wonder if there are tools to go further.
In detail, my VN is pretty "classic" : no mini-games, no maps, only choices from the "menu" statement of Ren'py.
But I have a lot of different routes with a lot of different conditions.
And I wonder about the equilibrium of my game.
So I would like to have an automated tool that can make random decision when encounter a "menu" statement.
It would be nice to run it like 10 000 times, for example, to see which routes are the more "easy" (more statistically probable), and if there is some route unachievable.
It would be a kind of automated game walker.
Have you ever heard about something like that ?
If not, how do you think I can do it ?
I think of having for each ending a specific number.
And a loop (loop "for") that can execute my game with making random choice each time the game encounter a menu, and return the ending number.
And when the game is over, adding one to an array at the index of the ending number.
And finally, when the global loop is over, print the array.
I don't really know in which language i can do that (lint, python, other ?) and how to execute the game with making random choices.
Thank you for your time !
Cheers
Azephir
I'm making a visual novel on Ren'Py and I start thinking about my testing process.
I use lint script for the testing but i wonder if there are tools to go further.
In detail, my VN is pretty "classic" : no mini-games, no maps, only choices from the "menu" statement of Ren'py.
But I have a lot of different routes with a lot of different conditions.
And I wonder about the equilibrium of my game.
So I would like to have an automated tool that can make random decision when encounter a "menu" statement.
It would be nice to run it like 10 000 times, for example, to see which routes are the more "easy" (more statistically probable), and if there is some route unachievable.
It would be a kind of automated game walker.
Have you ever heard about something like that ?
If not, how do you think I can do it ?
I think of having for each ending a specific number.
And a loop (loop "for") that can execute my game with making random choice each time the game encounter a menu, and return the ending number.
And when the game is over, adding one to an array at the index of the ending number.
And finally, when the global loop is over, print the array.
I don't really know in which language i can do that (lint, python, other ?) and how to execute the game with making random choices.
Thank you for your time !
Cheers
Azephir