This paper presents a line-up prediction system for a MOBA game (DOTA 2), using KNN algorithm. This system implements K Nearest Neighbors algorithm to find out the nearest neighbor for any given query data. A polynomial weight function is used to more elaborately find nearest neighbor for any given query. This paper also provides insights to the process of data collection and feature selection before the implementation of the algorithm.