Git Product home page Git Product logo

bawk-board's Introduction

Bawk Board

This is the repository for the BunnyBots 2022 scoring system: BAWK

Bunnybots Automated Webcast Kit

THe same basic infrastructue will be inn place for future BunnyBots competitions, simply reworked for the new game.

Make a data folder, containing an teams.json and matches.json files with: [] in them.

You also need to create a event.json file inside your data foler, containing: {currentMatchID:"qm1"}. This indicates that the first match will be the first qualifying match.

Make a secrests.js file, containing:

export const origin_url = "";
export const auth_secret = "[auth_secret]";
export const tba_secret_id = "";
export const tba_secret = "";
export const port="[port]"
export const backend_url="//localhost:[port]"

Make sure to install all dependencies, then run:

npm run dev

or

npm run prod

The frontend is written in Svelte and TypeScript, while the backend is vite and TypeScript.

Match Control

When a match is created, an

Match control communication is done via sockets.

The match data is commited by whoever is running Match Control, to the internal database when the commit button is pushed. This is done with a simple socket emission by the frontend.

Scoring

When judges count scores for both alliances, the scores for each alliance are stored in a MatchScoreBreakdown data structure.

Svelte stores are how we save the each score value during the match. Which allows for real-time update on match control screen while the judges are counting score.

Data storing and access

All data for teams, alliances, and matches is stored in the data folder, containing event, teams, and matches.json files.

bawk-board's People

Contributors

azaleacolburn avatar rutmanz avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bawk-board's Issues

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.