Giter Club home page Giter Club logo

kicker-cli's Introduction

kicker-cli

build codecov

A Foosball data aggregator, analyzers, and manager based on Kickertool.

Kickertool is a powerful tournament software that enables everyone to run foosball event. kicker-cli allows you to maintain data from Kickertool with the support of organization and event management, by which organizers could manage, analyze and rank inside an organization across multiple events.

Features

Analyzers

  • Double Player Ranks
  • Double Team Ranks
  • Single Player Ranks
  • Double Team Rivals
  • Single Player Rivals

Supported Game Modes

Round Games

  • MonsterDYP
  • Rounds
  • Round Robin
  • Swiss System

Knockoff Games

  • Double Elimination
  • Elimination

Installation

go install github.com/crispgm/kicker-cli/cmd/kicker-cli@latest

Usage

Init a workspace:

# init with current folder
kicker-cli init --name "MyAwesomeFoos"

# init with existing folder
kicker-cli init --name "MyAwesomeFoos" --path /path/to/workspace

# show organization
kicker-cli org

Import .ktool files:

# download from Kickertool and then
kicker-cli import /path/to/ktool
#  => 1 event(s) imported

Event management:

# list events
kicker-cli event ls
kicker-cli event ls --before 2023-08-23
kicker-cli event ls --name-type dyp

# show info
kicker-cli event info 351e00bf-025c-4243-b381-2f5a135c3070

# get rank
kicker-cli event rank -m double_player_rank -t byp
kicker-cli event rank 351e00bf-025c-4243-b381-2f5a135c3070 -m double_player_rank

# open event
kicker-cli event open 351e00bf-025c-4243-b381-2f5a135c3070
#  => xdg-open event-url

# delete event
kicker-cli event delete 351e00bf-025c-4243-b381-2f5a135c3070

Player management:

# list players
kicker-cli player ls

# create player
# You may present multiple names. The very first name will be set as primary, others will be aliases.
kicker-cli player create David
#  => 1 player created

# delete player
kicker-cli player delete 13d4ea60-f6ff-48da-be1e-413d38328cb0

Evaluation:

# elo scores
kicker-cli eval elo 1100 1200
kicker-cli eval elo 1103 1203 1289 1013
kicker-cli eval elo -k 20 1103 1203 1289 1013

# points gained
kicker-cli eval rank -s ATSA50 -s KLocal 1

Known Issues & Limitations

  • Game duration is inaccurate because we actually don't input the result as soon as the game is finished. So we abandoned all time factors.

License

MIT

kicker-cli's People

Contributors

crispgm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.