Implement Knn Algorithm Using Python For Game