Situation
As a well-known top player in the Counter-Strike: Source (CS:S) surfing community, I've set numerous world records and frequently coach new players. However, with a recent surge in player count, it became impossible to manually guide every newcomer individually.
Some of my World Record Runs for context on the game:
Task
Develop AI-driven tools to assist new players in improving their surfing skills and to answer common questions about CS:S surfing techniques. The goal was to create a scalable solution that could provide instant guidance to the growing community.
Action
I developed two interconnected AI tools to address the community's needs:
1. Surfing Chatbot
- Created a custom Discord scraper to collect chat data from the KSF community Discord.
- Preprocessed and cleaned the collected data to create a high-quality training dataset.
- Developed and trained a natural language processing model to understand and respond to surfing-related queries.
- Implemented the chatbot with a user-friendly interface for easy access by new players.
2. Surfing Optimization Tool
- Collected gameplay data and footage from both world record runs and typical player runs.
- Developed a computer vision model to analyze surfing techniques from gameplay footage.
- Created a data processing pipeline to extract relevant metrics from gameplay data.
- Implemented a comparison algorithm to identify areas for improvement by comparing player runs to world record runs.
- Designed a feedback system to provide actionable insights to players for optimizing their runs.
Technical Details
- Discord Scraper: Custom Python script using Discord API
- Chatbot Model: BERT-based model fine-tuned on surfing community data
- Computer Vision: CNN for analyzing player movements and techniques
- Data Processing: Python with NumPy and Pandas for metric extraction and analysis
- Optimization Algorithm: Custom algorithm comparing run metrics and identifying improvement areas
- User Interface: Web-based dashboard for both chatbot and optimization tool
Result
The CS:S Surfing AI Tools have significantly improved the learning experience for new players and helped intermediate players optimize their techniques:
Performance Improvements
- *still gathering data on this one
The tools have been widely adopted by the CS:S surfing community, allowing new players to get instant guidance and experienced players to fine-tune their techniques. This has led to a more engaged and skilled player base, contributing to the growth and competitiveness of the surfing community.
Graphical Demonstration
This demo illustrates the optimal path for a CS:S surfer, showcasing how velocity builds up along a brachistochrone curve. The AI tool analyzes similar paths to provide feedback on player technique.