Indietro

#scoring

12 APIs con questa etichetta

Cricket Stats API

Cricket-Statistik-Mathematik als API, lokal und deterministisch berechnet – die Run-Rate, Strike-Rate und Chase-Zahlen, die ein Scorer, Kommentator oder eine Cricket-App für ein Match verwendet. Ein Over besteht aus sechs legalen Bällen, und Overs werden als ganze Overs plus Bälle angegeben, niemals als Dezimal-Overs – '20.3 Overs' bedeutet 20 Overs und 3 Bälle (20.5 in realen Zahlen), die klassische Cricket-Mathe-Falle, die diese API vermeidet. Der Run-Rate-Endpunkt gibt die Runs pro Over = Runs ÷ (Bälle ÷ 6), also 150 Runs in 20 Overs sind 7,50 pro Over, und mit einer Ziel-Overs-Zahl wird die Innings-Punktzahl beim aktuellen Tempo prognostiziert. Der Strike-Rate-Endpunkt gibt die Strike-Rate eines Batters = Runs ÷ gespielte Bälle × 100, die Runs pro 100 Bälle – 75 aus 50 ist eine Strike-Rate von 150, schnelles Scoring im Limited-Overs-Spiel; in Tests wird stattdessen eine niedrigere Strike-Rate mit einem hohen Durchschnitt geschätzt. Der Required-Rate-Endpunkt behandelt eine Chase: die erforderliche Run-Rate = die noch benötigten Runs ÷ die verbleibenden Bälle × 6, also bei 80 benötigten Runs zum Sieg mit 10 verbleibenden Overs sind es 8,00 pro Over – eine Zahl, die steil ansteigt, wenn die Bälle knapp werden, weshalb eine komfortable Chase in ein paar engen Overs kippen kann. Alles wird lokal und deterministisch berechnet, also sofort und privat. Ideal für Cricket-Scoring- und Live-Score-Apps, Fantasy- und Kommentar-Tools sowie Sportrechner. Reine lokale Berechnung – kein Key, kein Drittanbieter-Service, sofort. 3 Compute-Endpunkte. Für Baseball-Statistiken verwenden Sie eine Baseball-API.

api.oanor.com/cricket-api

Canasta Scoring API

Canasta-Kartenspiel-Wertung als API, lokal und deterministisch und exakt berechnet – die Punktezählung, die Canasta berühmt knifflig macht, für Sie erledigt. Der Kartenwert-Endpunkt summiert den Punktwert einer Hand oder eines Melds: Ein Joker ist 50, Asse und Zweien 20, Achten bis Könige 10, Vieren bis Siebenen und schwarze Dreien 5, und eine rote Drei ist ein 100-Punkte-Bonus – also ergeben ein Joker, ein Ass, ein König, eine Sieben und eine rote Drei 185. Der Bonus-Endpunkt addiert die Rundenboni: Eine natürliche (reine) Canasta ist 500, eine gemischte Canasta 300, jede rote Drei 100 (alle vier verdoppeln sich auf 800), Ausgehen 100 und verdecktes Ausgehen weitere 100 – zwei natürliche, eine gemischte, drei rote Dreien und Ausgehen ergibt 1.700. Der Handpunkt-Endpunkt saldiert es: die Kartenpunkte, die Sie gemeldet haben, plus die Boni, minus die Kartenpunkte, die am Ende der Runde in Ihrer Hand gestrandet sind. Alles wird lokal und deterministisch berechnet, also ist es sofort und exakt. Ideal für Canasta-Apps, Online-Kartenspiel-Ergebnisrechner, Club- und Familienspielabend-Tools und Lernhilfen. Reine lokale Berechnung – kein Key, kein Drittanbieter-Service, sofort. Exakte Ganzzahl-Mathematik. Live, nichts gespeichert. 3 Compute-Endpunkte. Klassische Canasta-Werte; Regelvarianten unterscheiden sich.

api.oanor.com/canasta-api

Cornhole Scoring API

Cornhole (Bag-Toss) Scoring als API, lokal und deterministisch und exakt berechnet – die Punkte hinter einem Spiel der Bags, vom Cancellation Scoring bis zum Sieg und den Statistiken. Der Round-Endpoint bewertet eine einzelne Runde mit Cancellation-Regeln: ein Bag auf dem Board gibt 1 Punkt, im Loch 3, und nur der höhere Spieler erhält Punkte, und zwar nur die Differenz – ein Spieler, der 1 auf dem Board und 2 im Loch (7) landet, gegen einen Gegner mit 2 auf dem Board und 1 im Loch (5) netto 2 Punkte, und eine unentschiedene Runde bringt nichts. Der Game-Endpoint wendet die Punkte einer Runde auf einen laufenden Gesamtstand an, mit der Sieg-Regel – offizielles ACL-Spiel ist zuerst 21 oder mehr am Ende eines Innings ohne Bust, während das Hinterhof-„exact 21“-Regel einen Spieler, der über 21 kommt, auf 15 oder 11 zurückstuft – und meldet den neuen Punktestand, ob das Spiel gewonnen ist und die noch benötigten Punkte. Der PPR-Endpoint liefert die wichtigsten Cornhole-Statistiken: Points per Round (PPR) = Gesamtpunkte ÷ Runden, plus den In-the-Hole-Prozentsatz aus Bags im Loch geteilt durch geworfene Bags – 84 Punkte in 20 Runden ergeben einen PPR von 4,2, und 30 von 80 Bags im Loch sind 37,5 %. Alles wird lokal und deterministisch berechnet, daher ist es sofort und exakt. Ideal für Cornhole- und Rasenspiel-Apps, Liga- und Turnier-Schiedsrichter, Klammer- und Statistik-Tools sowie Hinterhof-Spieleabend-Seiten. Reine lokale Berechnung – kein Key, kein Drittanbieter-Service, sofort. Exakte Integer-Mathematik. Live, nichts wird gespeichert. 3 Compute-Endpoints. Standard-ACL-Regeln; Hausregeln variieren.

api.oanor.com/cornhole-api

Dominoes Scoring API

Dominoes scoring as an API, computed locally and deterministically and exactly — the points behind a game of bones, whether you play Block, Draw or All Fives. The score endpoint gives the winner's points at the end of a hand: when a player dominoes or the game blocks, the winner takes the total pip count left in the opponents' hands — pass each opponent's remaining pips and it sums them, optionally rounding to the nearest five as many house rules do, so 12, 8 and 23 left on the table is 43, or 45 rounded. The fives endpoint scores All Fives (Muggins): a play scores whenever the open ends of the layout add up to a multiple of five, and you score that sum — open ends of 3 and 2 make 5 for five points, 5-5-5 across a spinner makes 15, while a 6 scores nothing. The set endpoint gives the statistics of a double-N set: a double-six has (6+1)(6+2)/2 = 28 tiles and 168 total pips, a double-nine has 55 tiles and 495 pips, with the heaviest tile and its pip value. Everything is computed locally and deterministically, so it is instant and exact. Ideal for dominoes apps, online and club scorekeepers, game-night and tournament tools, and learning aids. Pure local computation — no key, no third-party service, instant. Exact integer maths. Live, nothing stored. 3 compute endpoints. Standard Western dominoes; regional variants score differently.

api.oanor.com/dominoes-api

Mahjong Scoring API

Riichi (Japanese) mahjong scoring as an API, computed locally and deterministically and exactly — the points a winning hand pays, straight from the scoring table, not a lookup you have to memorise. The score endpoint turns han and fu into the payment using base = fu × 2^(2 + han): a ron pays base × 4 (a dealer ron × 6) rounded up to the nearest 100, while a tsumo splits base × 2 from the dealer and base × 1 from each non-dealer (a dealer tsumo takes base × 2 from all three) — so a non-dealer 3 han 30 fu ron is 3,900, a 4 han 30 fu is 7,700, and a non-dealer mangan ron is 8,000. The limit endpoint classifies a hand: mangan (5 han, or 3–4 han where the fu pushes the base to 2,000), haneman (6–7), baiman (8–10), sanbaiman (11–12) and yakuman (13+), with the base points behind each. The honba endpoint adds the table bonuses — 300 per honba counter and 1,000 per riichi stick — on top of the won hand. Everything is computed locally and deterministically, so it is instant and exact. Ideal for mahjong apps, online-table and scorekeeper tools, club and tournament software, and learning aids. Pure local computation — no key, no third-party service, instant. Exact scoring-table maths. Live, nothing stored. 3 compute endpoints. Japanese riichi rules; other variants (MCR, Hong Kong) score differently.

api.oanor.com/mahjong-api

Farkle Score API

Farkle-Würfelbewertungsmathematik als API, lokal und deterministisch berechnet – die Punkte, die eine Farkle- (Zilch, Ten Thousand) Bewertungs-App für einen Wurf vergibt. Der Score-Endpunkt nimmt bis zu sechs Würfel entgegen und gibt den Wert nach dem gängigen Regelwerk zurück: eine einzelne 1 ist 100 und eine einzelne 5 ist 50; drei Gleiche ergeben den Augenzahl mal 100 (drei 1er sind die Ausnahme mit 1000); vier, fünf und sechs Gleiche sind 1000, 2000 und 3000; eine 1-zu-6-Straße oder drei Paare sind 1500; und zwei Drillinge sind 2500 – also 1-1-1-5-5-5 ergibt 2500 als zwei Drillinge statt 1100, eine 1-2-3-4-5-6-Straße ist 1500, und 6-6-6-2-3 ist 600 mit den toten 2 und 3. Es kennzeichnet einen Farkle, wenn nichts zählt (man verliert die Punkte des Zuges) und sagt, ob jeder Würfel gezählt wurde – heiße Würfel, die es erlauben, alle sechs erneut zu würfeln. Die Regelwerke variieren, daher bewertet es das weit verbreitete Set und gibt dies an. Alles wird lokal und deterministisch berechnet, also sofort und privat. Ideal für Entwickler von Würfelspielen, Partyspielen und Bewertungs-Apps, Score-Helfer und Spieleabend-Tools sowie Brettspiel-Begleitsoftware. Reine lokale Berechnung – kein Key, kein Drittanbieter-Service, sofort. Bewertet einen Wurf; es würfelt nicht. Live, nichts wird gespeichert. 1 Compute-Endpunkt.

api.oanor.com/farkle-api

Cribbage Score API

Cribbage Hand-Scoring Mathematik als API, lokal und deterministisch berechnet – die Zählung, die ein Cribbage-Spieler, eine App oder eine Liga für eine Hand ermittelt. Der Score-Endpunkt nimmt die Vier-Karten-Hand und die Starterkarte (Cut) entgegen und gibt die vollständige Aufschlüsselung nach den Regeln zurück: jede eindeutige Kombination von Karten, die in der Summe 15 ergibt, zählt 2, jedes Paar zählt 2 (also drei Gleiche 6 und vier Gleiche 12), jede Sequenz von drei oder mehr aufeinanderfolgenden Karten zählt ihre Länge – wobei die doppelten Sequenzen, die Paare erzeugen, mitgezählt werden – ein Vier-Karten-Flush in der Hand zählt 4 (fünf mit dem Starter 5, und die Crib zählt nur einen Fünf-Karten-Flush), und His Nobs, ein Bube in der Hand, der die Farbe des Starters trifft, zählt 1. Es bewertet korrekt die berühmte beste Hand, B-5-5-5 mit einem fünften 5er Cut, mit maximal 29. Der Count-Endpunkt zählt nur Fifteens, Paare und Sequenzen für ein bis acht Karten – nützlich zum Überprüfen eines Teils einer Hand oder des Pegging-Stapels. Alles wird lokal und deterministisch berechnet, daher ist es sofort und privat. Ideal für Entwickler von Cribbage-, Kartenspiel-, Brettspiel-Begleit- und Bewertungs-Apps, Bewertungs- und Lehrwerkzeugen sowie Spielsoftware. Reine lokale Berechnung – kein Key, kein Drittanbieter-Service, sofort. Karten als Rang+Farbe (5H, TD, JS). Live, nichts wird gespeichert. 2 Compute-Endpunkte.

api.oanor.com/cribbage-api

Yahtzee Score API

Yahtzee-Spielstand-Mathematik als API, lokal und deterministisch berechnet – die Kategoriepunkte und Summen, auf denen eine Würfelspiel-Score-App basiert. (Es bewertet einen gegebenen Wurf; es würfelt nicht.) Der Score-Endpunkt nimmt fünf Würfel entgegen und gibt den Wert aller dreizehn Kästchen auf einmal zurück: die oberen Kästchen (Einser bis Sechser) ergeben die Summe dieser Augenzahl, Dreier- und Viererpasch sowie Chance ergeben die Summe aller fünf Würfel, ein Full House ist 25, eine kleine Straße (vier aufeinanderfolgende) 30, eine große Straße (fünf aufeinanderfolgende) 40 und ein Yahtzee (fünf Gleiche) 50 – also ist 3-3-3-5-6 20 Punkte bei Dreierpasch, 4-4-4-5-5 ist ein 25-Punkte-Full House, und es markiert das Kästchen mit der höchsten Punktzahl für Sie. Der Total-Endpunkt addiert eine fertige Karte: den 35-Punkte-Bonus für den oberen Abschnitt, wenn die oberen Kästchen 63 erreichen (und wie viele Punkte Sie noch dafür benötigen), plus 100 für jeden zusätzlichen Yahtzee, um die Gesamtsumme zu erhalten. Alles wird lokal und deterministisch berechnet, daher ist es sofort und privat. Ideal für Entwickler von Würfelspiel-, Brettspiel-Begleit-, Familienspiel- und Scorekeeping-Apps, Scoreblatt- und Turnier-Tools sowie Spielsoftware. Reine lokale Berechnung – kein Key, kein Drittanbieter-Service, sofort. Live, nichts wird gespeichert. 2 Compute-Endpunkte. Für zufällige Würfe verwenden Sie eine Würfel-API.

api.oanor.com/yahtzee-api

Tennis Score API

Tennis-Scoring-Mathematik als API, lokal und deterministisch berechnet – die Game-, Set- und Match-Logik, auf der eine Scoring-App, ein Schiedsrichter-Tool oder eine Tennisliga basiert. Der Game-Endpunkt spielt ein Game aus einer Sequenz, wer jeden Punkt gewonnen hat, und gibt das korrekte Tennis-Scoring zurück: Punkte laufen 0, 15, 30, 40 und dann Game, aber bei 40-40 ist es Einstand und ein Spieler muss mit zwei Punkten führen – Vorteil, dann Game – also ist a,a,a,a 40-0 und ein Sieg, während drei-gleich Einstand ist; ein Tiebreak-Flag zählt bis sieben mit zwei Punkten Vorsprung (und geht bei 7-7 weiter). Der Set-Endpunkt liest ein Set aus den Games, die jeder Spieler gewonnen hat: Ein Set ist bei sechs Games mit zwei Games Vorsprung gewonnen, 6-6 löst einen Tiebreak aus, der mit 7-6 endet, und 7-5 gewinnt, wenn ein Spieler zuerst in Führung geht. Der Match-Endpunkt entscheidet das Match aus den gewonnenen Sets – Best-of-Three wird durch zwei Sets entschieden, Best-of-Five durch drei – und sagt den Gewinner in dem Moment, in dem er erreicht ist. Alles wird lokal und deterministisch berechnet, daher ist es sofortig und privat. Ideal für Entwickler von Tennis-, Racketsport-, Scoring-, Schiedsrichter- und Liga-Apps, Scoreboard- und Live-Scoring-Tools sowie Club-Software. Reine lokale Berechnung – kein Key, kein Drittanbieter-Service, sofortig. Scoring-Logik, keine Analysen. Live, nichts wird gespeichert. 3 Compute-Endpunkte.

api.oanor.com/tennis-api

Bowling Score API

Ten-pin bowling maths as an API, computed locally and deterministically — the scoring, handicap and average numbers a bowler, league or scoring app runs on. The score endpoint plays a full game from a comma list of the pins knocked down on each roll and applies the real rules: a strike scores 10 plus your next two rolls, a spare 10 plus the next one, an open frame just the pins, with the 10th frame’s bonus rolls handled — so twelve strikes is a perfect 300, twenty 9-then-miss frames are 90, and all spares with a 5 bonus is 150, returned frame by frame with the running total. The handicap endpoint levels a league: handicap per game = ⌊(basis − average) × percent⌋, never below zero, so a 150 average on the common 90 %-of-220 setup earns 63 pins a game and 189 over a three-game series. The average endpoint divides total pins by games (dropping the fraction, as leagues do), rolls in a new series to update it, and works out the pins you need over the next games to reach a target average. Everything is computed locally and deterministically, so it is instant and private. Ideal for bowling-league, scoring, sports and recreation app developers, scorekeeping and handicap tools, and centre-management software. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 compute endpoints.

api.oanor.com/bowling-api

Darts API

Darts-Scoring-Mathematik als API, lokal und deterministisch berechnet – die X01-Checkout- und Durchschnittszahlen, die ein Dartsspieler, eine Liga oder eine Scoring-App verwendet. Der Checkout-Endpunkt löst eine verbleibende Punktzahl mit einer exakten Full-Board-Suche: ob sie beendet werden kann, die minimale Anzahl an Darts und eine gültige Kombination, die auf einem Double oder dem Bull endet – 170 Finish T20 T20 Bull (der höchstmögliche Three-Dart-Checkout), 100 ist T20 D20, 40 ist einfach D20, während 1 nicht beendet werden kann (der letzte Dart muss ein Double sein, mindestens 2) und die Bogey-Zahlen 169, 168, 166, 165, 163, 162 und 159 können in drei Darts überhaupt nicht gecheckt werden. Der Average-Endpunkt berechnet den Three-Dart-Average – Gesamtpunktzahl ÷ Darts × 3 – also 501 in 15 Darts ergibt einen Average von 100,2; ein Average über 100 ist starkes Spiel. Alles wird lokal und deterministisch berechnet, daher ist es sofort und privat. Ideal für Darts-, Liga-Scoring-, Pub-Spiel- und Sport-App-Entwickler, Checkout-Assistenten und Übungstools sowie Darts-Ausbildung. Reine lokale Berechnung – kein Key, kein Drittanbieter-Service, sofort. Standard X01-Regeln; Legs enden auf einem Double oder dem Bull. Live, nichts wird gespeichert. 2 Compute-Endpunkte. Eine exakte Scoring-Hilfe für das Standard-20-Segment-Board.

api.oanor.com/darts-api

Golf Scoring API

Golf scoring and handicap maths as an API, computed locally and deterministically — the World Handicap System and Stableford numbers a golfer, club or scoring app works to. The handicap endpoint computes the course handicap from a handicap index: course handicap = index × (slope rating ÷ 113) + (course rating − par), rounded, so a 14.5 index on a 130-slope, 71.5-rated par-72 course plays off 16; it also applies the format allowance (e.g. 95 % for stroke play) to give the playing handicap. The stableford endpoint scores a hole on the standard scale: net par is 2 points, each stroke better adds one (birdie 3, eagle 4) and each worse subtracts one (bogey 1), with net double bogey or worse scoring 0, where the net score is the gross minus the strokes received on that hole. The net endpoint gives the round's net score — gross total minus the course handicap — against par. Everything is computed locally and deterministically, so it is instant and private. Ideal for golf, club-management, scoring and sports app developers, handicap and Stableford tools, and golf education. Pure local computation — no key, no third-party service, instant. Slope defaults to the neutral 113. Live, nothing stored. 3 compute endpoints. A scoring aid, not an official handicap record.

api.oanor.com/golf-api