Edit : done, see here
Hi everyone, I recently started doing some coding for an idea I've had for some time : a publicly available website that displays most of, if not all the tournament replays of one specific metagame. In principle similar to FullLifeGames' replay scouter and tournament team collector, it would have the advantage of not having to specify a tournament/player. Each replay would be tied to many informations in order to let users filter and sort for the type of battles they want.
For the moment, I coded a way to import a single replay or a whole smogon tournament thread (that contains the replays), so you would "just" need to give it all the links to the tournament threads to fill the bank.
Since everything is stored on a google Sheet, the code is in the google app script language (which is basically javascript apparently)
Here is a screenshot of what it currently looks like when I just give a link to a smogon thread :
For now, the search/sort features that I thought of are :
I will be happy to share the code with anyone who might want such a resource for their tier.
If you have suggestions or remarks on this concept, do not hesitate to share them, I am still looking for cool ideas to add to this.
Thx for reading! and sorry about my English ;)
Hi everyone, I recently started doing some coding for an idea I've had for some time : a publicly available website that displays most of, if not all the tournament replays of one specific metagame. In principle similar to FullLifeGames' replay scouter and tournament team collector, it would have the advantage of not having to specify a tournament/player. Each replay would be tied to many informations in order to let users filter and sort for the type of battles they want.
For the moment, I coded a way to import a single replay or a whole smogon tournament thread (that contains the replays), so you would "just" need to give it all the links to the tournament threads to fill the bank.
Since everything is stored on a google Sheet, the code is in the google app script language (which is basically javascript apparently)
Here is a screenshot of what it currently looks like when I just give a link to a smogon thread :
For now, the search/sort features that I thought of are :
- Teams (winning and losing) (capacity to search by pokemon/combinations of pokemons)
- Players (winner and loser)
- Date
- Tournament (and potentially tournament stage - ie final, semifinal, etc)
- [Very experimental] team style (the original idea of this : being able to search replays of offence beating defense for example)
- Teams that are sample teams
I will be happy to share the code with anyone who might want such a resource for their tier.
I made a very primitive team style detector which (surprisingly) works for i'd say 80% of teams?
Similar to the SM OU sample teams, I chose 4 team styles : offence, hyper offence, weather and balance/defense.
Weather teams are simple in sm, so its just a check for pelipper of for ttar+excadrill.
For the other styles, team style is guessed from team preview : for every pokemon, I gave 3 grades that indicates how well it fits on each style.
Then for each team, I sum 2^[score] for each style, and see what style has the highest score.
For example, I gave heatran 3 in Offence and Defence, and 1 in HO, so that means that it will give 8 points to the Defense and Offence scores, and only 2 to the HyperOffence score.
So it's quite primitive, but I find that it works rather well.
Similar to the SM OU sample teams, I chose 4 team styles : offence, hyper offence, weather and balance/defense.
Weather teams are simple in sm, so its just a check for pelipper of for ttar+excadrill.
For the other styles, team style is guessed from team preview : for every pokemon, I gave 3 grades that indicates how well it fits on each style.
Then for each team, I sum 2^[score] for each style, and see what style has the highest score.
For example, I gave heatran 3 in Offence and Defence, and 1 in HO, so that means that it will give 8 points to the Defense and Offence scores, and only 2 to the HyperOffence score.
So it's quite primitive, but I find that it works rather well.
If you have suggestions or remarks on this concept, do not hesitate to share them, I am still looking for cool ideas to add to this.
Thx for reading! and sorry about my English ;)
Last edited:
