redlaserbmBTD / BTDB2_SIMULATOR

A robust python library for the simulation and AI-based optimization of eco/farming strategies in Bloons TD Battles 2. Made by redlaserbm.
GNU General Public License v3.0
2 stars 2 forks source link

Round Length Data Collection / Presets for the Rounds Class #10

Open redlaserbmBTD opened 1 year ago

redlaserbmBTD commented 1 year ago

I want to expand the Rounds class so that it can be initialized using presets based on data from real games. For first-time users, this would be easier than determining the stall times of the rounds they want to simulate. However, in order for this feature to be implemented, I need round data to work with!

nurskurmanbekov commented 1 year ago

To expand the Rounds class and implement the feature of initializing rounds using presets based on real game data, you will indeed need round data to work with. Obtaining real game data can be done through various methods, depending on the specific game or source you are interested in. Here are a few approaches you can consider:

Existing Game Data: If the game you are interested in has an API or provides access to historical game data, you can leverage that as a data source. Many online games or competitive platforms offer APIs that allow developers to retrieve match data, including round information. You can explore the documentation and developer resources for the game you have in mind to see if such data is available.

Public Datasets: Some game-related datasets are publicly available and can be used for research and development purposes. Websites like Kaggle, data.gov, or specialized gaming data repositories may have datasets containing round data from various games. Search these platforms to find relevant datasets that match your requirements.

Scraping Data: If there are websites or forums that provide information about game rounds, you could consider scraping the data from those sources. However, ensure that you comply with the website's terms of service and use web scraping responsibly.

Collaborating with Game Developers or Communities: Reach out to game developers or engage with game communities to see if they can provide you with access to round data. Sometimes developers or passionate community members may be willing to share anonymized or aggregated data for research or development purposes.

Once you have obtained the round data, you can structure it in a format that can be easily consumed by your Rounds class. This may involve parsing the data, extracting relevant information such as stall times, and organizing it in a way that allows users to select and initialize rounds using presets.

Remember to ensure that you comply with any data usage policies, privacy considerations, or licensing requirements associated with the game data you obtain.

By leveraging real game data, you can enhance the usability of your Rounds class and provide first-time users with easier initialization options based on presets derived from actual game rounds.