Giter VIP home page Giter VIP logo

arcaea-offline's Introduction

Arcaea Offline

English | 简体中文

Accept lrlowiro

WIP

Caution

This project is under active development, thus it is unstable and API may change frequently.

Important

v0.3.0 is under development, check out this branch!

Once v0.3.0 is ready for release, this repository will be transferred to ArcaeaOffline/core-python

What is this?

This is the core library of Arcaea Offline, designed to manage player scores, calculate their potential, and provide various useful tools.

How to use this?

This repository is a python library.

For general users, if you don't know what is a "library", you may be interested about this GUI.

For developers, the documentation is under construction. Check back later!

License

This file is part of arcaea-offline.

arcaea-offline is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

arcaea-offline is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with arcaea-offline. If not, see https://www.gnu.org/licenses/.

Credits

Arcaea-Infinity/ArcaeaSongDatabase

arcaea-offline's People

Contributors

283375 avatar

Stargazers

 avatar Vladislav Kashirin avatar  avatar  avatar Darren Li avatar Jia Shujie avatar  avatar  avatar pheqor avatar Lzhyrifx avatar Chi-chun Leung avatar  avatar Gary Wang avatar Leo_Black avatar  avatar  avatar  avatar xu_zh avatar GoForceX avatar Lang avatar Mix avatar  avatar iYuan avatar Cateon Huo avatar Unknown_Feathers avatar  avatar

Watchers

 avatar GoForceX avatar  avatar

arcaea-offline's Issues

数据库结构重构

原本的数据库对象,包括表架构(抄来的)、数据库类 arcaea_offline.database.Database,都是赶工出来的,架构很烂。

目前的设想是,数据库结构更改:

CREATE DATABASE songs (id, title, artist, ...)  -- 从 songlist 提取,包含标题、曲师等信息
CREATE DATABASE charts_info (song_id, rating_class, constant, ...)  -- 谱面定数等计算 PTT 用信息
CREATE VIEW charts (song_id, rating_class, ...)  -- 上面两张表的合并

CREATE DATABASE score (id AUTOINCREMENT, score NOT NULL, time, pure, far, lost, ...)  -- 存储成绩,除必要的分数外其他项可为 NULL
CREATE VIEW calculated (id, score, pure, far, lost, ..., potential, shiny_pure, ...)  -- 每个成绩经过计算得到的单曲 PTT 等

CREATE DATABASE r30 (*calculated)  -- r30 队列,按 score.time 刷新
CREATE VIEW bests (*calculated)  -- 从 calculated 中自动计算
CREATE VIEW final_potential (ptt, b30, r10)  -- 最后计算得出的最终 PTT

同时,不再提供单例 Database 类,改用 get_conn() 获取数据库对象,或者用 SQLAlchemy/peewee 进行数据库操作?

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.