QuakeTrack is a project aimed at parsing Quake log files to provide enhanced gaming insights and analytics. It allows users to extract valuable information from Quake game log files and analyze various aspects of gameplay, such as player statistics, weapon usage, match events, and more. This README provides an overview of the project, its features, and instructions for getting started.
- Command to install:
npm i
- Initiate app processing for single file:
npm run start -- ./src/assets/qgames.log
🎉
npm run test
{
"total_kills": 29,
"kills":
{
"Fasano Again": 8,
"Isgalamido": 3,
"Zeh": 7,
"Dono da Bola": 2,
"UnnamedPlayer": 0,
"Assasinu Credi": 1
},
"kills_by_means":
{
"MOD_ROCKET": 5,
"MOD_RAILGUN": 2,
"MOD_SHOTGUN": 4,
"MOD_ROCKET_SPLASH": 13,
"MOD_TRIGGER_HURT": 3,
"MOD_FALLING": 1,
"MOD_MACHINEGUN": 1
}
}
classDiagram
class Main {
}
class parseLogController {
}
interface Reader
class FileReader {
}
class LineProcessorManager {
}
interface LineProcessor
class gameRepository {
}
Main --> parseLogController
parseLogController *-- FileReader
parseLogController *-- LineProcessorManager
FileReader ..|> Reader
LineProcessorManager *-- InitGame
LineProcessorManager *-- KillProcessor
LineProcessorManager *-- ClientUserInfoChanged
class KillProcessor {
}
KillProcessor ..|> LineProcessor
KillProcessor --> gameRepository
class InitGame {
}
InitGame ..|> LineProcessor
InitGame --> gameRepository
class ClientUserInfoChanged {
}
ClientUserInfoChanged ..|> LineProcessor
ClientUserInfoChanged --> gameRepository
npm run lint