Indietro

#game

10 APIs con questa etichetta

Craps Odds API

Craps odds maths as an API, computed locally and deterministically and exactly — the dice probabilities behind the table, derived from the 36 ways two dice fall, not pulled from a chart. The come-out endpoint gives the come-out roll: the pass line wins on a 7 or 11 (8 of 36, 22.2 %), loses on craps 2, 3 or 12 (4 of 36, 11.1 %), and otherwise sets a point (24 of 36, 66.7 %). The point endpoint gives the odds of making a point before a seven — probability = ways(point) ÷ (ways(point) + 6) — so a 6 or 8 makes 45.5 % of the time and a 4 or 10 only 33.3 %, with the TRUE odds (2:1, 3:2, 6:5) the free odds bet behind the line pays at zero house edge. The bet endpoint gives the house edge of the main bets: the line bets at 1.41 % (pass) and 1.36 % (don't) and place 6/8 at 1.52 % are the table's best, while place 4/10 (6.67 %), the field and proposition bets like any seven (16.67 %) bleed you. Everything is computed locally and deterministically, so it is instant and exact. Ideal for craps and casino-game apps, gambling-education and odds tools, game-design back-ends, and probability teaching. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 compute endpoints. Educational — not betting advice; back the line with free odds.

api.oanor.com/craps-api

Lottery Odds API

Lottery combinatorics as an API, computed locally and deterministically and exactly — the real odds behind a ticket, the maths the jackpot poster never shows. The odds endpoint gives the jackpot odds of a pick-N game as the number of possible tickets, C(pool, picks), times the bonus-ball pool if there is one: a 6/49 game is 1 in 13,983,816, a 5/69-plus-1/26 Powerball-style game is 1 in 292,201,338, and every single line is equally unlikely. The match-odds endpoint gives the chance of matching exactly k of the main numbers — a prize tier — from the hypergeometric formula C(picks, k)·C(pool−picks, picks−k) ÷ C(pool, picks), so matching 3 of 6 in a 6/49 game is about 1 in 57. The expected-value endpoint turns a jackpot and ticket price into the expected value and the break-even jackpot (price × the odds), the threshold a jackpot must clear before a ticket is even theoretically worth it — before a shared jackpot, lump-sum and tax pull it back under. Everything is computed locally and deterministically, so it is instant and exact. Ideal for lottery and odds apps, gambling-education and responsible-play tools, probability teaching, and game back-ends. Pure local computation — no key, no third-party service, instant. Exact combinatorics. Live, nothing stored. 3 compute endpoints. Educational — not gambling advice; the odds are always against you.

api.oanor.com/lottery-api

Roulette Odds API

Roulette-Odds-Mathematik als API, lokal und deterministisch und exakt berechnet – die Auszahlung, die wahre Wahrscheinlichkeit und der Hausvorteil hinter jeder Wette, die Zahlen, die Ihnen ein faires Spiel verrät und die ein Casino lieber ignorieren würde. Der Auszahlungs-Endpoint gibt die Auszahlung einer Wette, die Gewinnzahlen, die Gewinnwahrscheinlichkeit und den Hausvorteil für ein europäisches (Single-Zero) oder amerikanisches (Double-Zero) Rad aus: Eine einfache Zahl zahlt 35 zu 1, gewinnt aber nur 1 von 37, ein Vorteil von 2,70 % europäisch oder 5,26 % amerikanisch, bei fast jeder Wette gleich, weil die Auszahlung die Nullen einfach ignoriert. Der Expected-Value-Endpoint wandelt einen Einsatz in seinen Erwartungswert um – Einsatz × (Gewinnwahrscheinlichkeit × (Auszahlung + 1) − 1), immer negativ und gleich minus Einsatz mal Hausvorteil – also €10 auf eine einzelne Zahl auf einem europäischen Rad sind −€0,27 pro Drehung wert. Der Martingale-Endpoint legt das Verdopplungssystem offen: total riskiert = Basis × (2^Schritte − 1), der Einsatz, der nach einer Verlustserie explodiert, und die Pleite-Wahrscheinlichkeit – Beweis der Mathematik, dass keine Progression die Null schlägt. Alles wird lokal und deterministisch berechnet, also ist es sofort und exakt. Ideal für Casino-Spiel- und Odds-Apps, Glücksspiel-Bildungs- und verantwortungsvolle Spiel-Tools, Game-Design-Backends und Wahrscheinlichkeitslehre. Reine lokale Berechnung – kein Key, kein Drittanbieter-Service, sofort. Live, nichts gespeichert. 3 Compute-Endpoints. Lehrreich – kein Wettberatung; das Haus gewinnt langfristig immer.

api.oanor.com/roulette-api

Blackjack Strategy API

Blackjack-Mathematik als API, lokal und deterministisch und exakt berechnet – der Handwert, der lehrbuchmäßige Basic-Strategy-Zug und die Dealer-Quoten, die Zahlen, die den Hausvorteil auf ein halbes Prozent drücken. Der Handwert-Endpunkt bewertet eine Hand so, wie es am Tisch geschieht: Asse zählen 11, es sei denn, das führt zum Platzen, dann 1, also meldet er den besten Gesamtwert, ob er weich (ein Ass zählt noch 11, sicher zu ziehen) oder hart ist, ob er platzt und ob zwei Karten einen Blackjack ergeben. Der Strategie-Endpunkt gibt die korrekte Basic-Strategy-Aktion – Hit, Stand, Double oder Split – für jede Hand gegen die Aufdeckkarte des Dealers, für das Standard-4-bis-8-Deck-Spiel, bei dem der Dealer bei weicher 17 stehen bleibt und Double nach Split erlaubt ist: 16 gegen eine 10 zieht, ein Paar 8er splittet immer, weiche 18 verdoppelt gegen eine 6, zieht aber gegen eine 9, und 11 verdoppelt gegen alles außer einem Ass. Der Dealer-Quoten-Endpunkt gibt die Wahrscheinlichkeit des Dealers zu platzen nach Aufdeckkarte – eine 5 oder 6 platzt etwa 42 % der Zeit, ein Ass nur 12 % – der Grund, warum man bei harten Händen gegen schwache Aufdeckkarten stehen bleibt. Alles wird lokal und deterministisch berechnet, also ist es sofort und exakt. Ideal für Blackjack-Trainer und Strategie-Apps, Karten- und Casinospiel-Tools, Lernhilfen und Spiel-Backends. Reine lokale Berechnung – kein Key, kein Drittanbieter-Dienst, sofort. Live, nichts wird gespeichert. 3 Compute-Endpunkte. Lehrreich – kein Wettberatung; das Haus behält immer einen Vorteil.

api.oanor.com/blackjack-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

Poker API

Un kit completo de Texas Hold’em en una API rápida y totalmente local. Calcula las probabilidades de ganar, empatar y equity para tus cartas de mano contra cualquier número de oponentes (1–9) en cualquier tablero —pre-flop, flop, turn o river— usando una simulación Monte Carlo con precisión ajustable. Evalúa la mejor mano de cinco cartas de cualquier conjunto de cinco a siete cartas y obtén su rango y desempates, o describe una mano en lenguaje sencillo. Las cartas usan la notación familiar (As, Td, 9h, 2c) y cada endpoint funciona mediante GET o JSON POST. Cómputo puro del lado del servidor sin terceros externos, por lo que las respuestas son instantáneas y el servicio siempre está disponible. Ideal para entrenadores de póker y herramientas de estudio, desarrolladores de juegos, rastreadores de historial de manos y widgets de probabilidades.

api.oanor.com/poker-api

Sudoku API

Generate, solve and validate Sudoku puzzles through a fast, fully-local API. Create fresh puzzles at four difficulty levels (easy, medium, hard, expert), each guaranteed to have exactly one solution, returned as both an 81-character string and a 9x9 grid alongside the full solution. Solve any valid puzzle with a backtracking engine that also reports whether the solution is unique, and validate a grid to detect rule conflicts and completeness. Inputs accept an 81-character string (0 or . for blanks) or a 9x9 array, by GET or JSON POST. Pure server-side compute with no third-party upstream, so responses are instant and the service is always available. Ideal for puzzle apps and games, newspapers and printables, tutors and training-data generation.

api.oanor.com/sudoku-api