added method for game api and edited path directories