Coder Social home page Coder Social logo

coffee-break's Introduction

☕ coffee break

A score card generator for rhythm games

coffee break is a client-server application to generate a score card of any rhythm game inspired by eAMUSEMENT score cards for arcade rhythm games.

coffee break wants to be suitable for any game, and exposes an easy to use API to be integrated in other services such as bots or games themselves.

It turns simple HTTP requests to the API into beautiful and very customizable scorecards for you to use in your own score server, game, or social medias.

Example

Request: /api/generate

{
	"game": "SOUND VOLTEX",
	"username": "N.TINA",
	"rank": "SL10",
	"avatar": "https://fairyjoke.tina.moe/api/sdvx/apecas/4521.png",
	
	"title": "Brain Power",
	"artist": "ノマ",
	"jacket": "https://remywiki.com/images/thumb/e/e7/Brain_Power.png/200px-Brain_Power.png",
	"BPM": "170-173",

	"difficulty": "EXHAUST",
	"level": 16,

	"score":  9796493,
	"grade": "AAA",
	"clear_type": "HARD CLEAR",
	"hp": 85,
	"judges": {
		"CRITICAL": 1545,
		"NEAR": 21,
		"ERROR": 13,
	},

	"copyright": "KONMAI",
	"settings": { "auto_combo": true, },
	"class": {
		"difficulty": "red",
		"clear_type": "red",
		"hp": "bg-orange",
		"grade": "gold",
		"judges": { "CRITICAL": "yellow", }
		"rank": "yellow",
		"avatar": "contain",
	}
}

Result:
scorecard

Documentation

The documentation can be built by running make html in the /docs folder.

Live version temporarly hosted at https://tina.moe/private/coffee-docs/

Development, issues and features request

Wether you have experience as a dev or not, you can help the project by reporting issues and request features by opening a new issue. Please tag it correctly.

If you are willing to help developing the project, you can either try to fix an existing issue by submitting a PR for review, or directly submit a PR with your feature proposal.

coffee-break's People

Contributors

tina-otoge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

coffee-break's Issues

"Other" Clear type doesn't work

pretty much what the title says. If I try to use other it just doesn't show up. Also worth noting that if I pick another type after other they both become selected somehow.

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.