New

The playground: play against Orion Compass and try four business cases with real API calls, no key needed.Read more

Serenity Edge

Play against Orion Compass

Model
Orion CompassOrionorion-compassAn Orion model, from Serenity’s own family. The Orion decision model for questions that need depth.

A falling-blocks game with rules of its own. You both get the same sequence of pieces and the same starting board, each on a board of your own. On every turn the rival receives its board and the legal moves, picks one and returns the probability of each option. Change its board whenever you like and it decides again: nothing is scripted.

Live: this demo makes real calls to the API, with a demo key and a limit of calls per visit.

Choose your rival

Turn it off to play at your own pace: the piece only moves down when you move it.

You

Points
0
Rows
0
Gems
0

Press Start, or Enter on your board.

Orion Compass

Points
0
Rows
0
Gems
0

Its three most likely moves

Probabilities the API returns for this move.

Select a cell on its board to add or remove a block. Orion Compass decides again.

Next pieces

Rules

  • Each of you places the same 20 pieces, of 2, 3 and 5 cells, on a board 9 columns wide and 14 rows high.
  • A full row is cleared and scores 10 points, plus 25 for every gem in it.
  • If a piece no longer fits, that game ends and keeps its points.
  • The higher score when the sequence ends wins.

Controls

With the keyboard, on your board: left and right arrows to move, up arrow to turn, down arrow to move down one row, space to drop the piece and P to pause. On touch screens, use the buttons below the boards.

Key

  • Starting board
  • Placed piece
  • Gem
  • Block added by hand
  • Move chosen by Orion Compass

Model calls

The cost and the milliseconds appear with the first call.

See the call

The JSON body of the request for the rival’s current move: the state as text, with the fixed instructions first and the board after them, and the legal moves as the options of a choice question.

Route
POST /v1/systemone
Model
orion-compass
Reference for POST /v1/systemone

The server adds the API key, which never reaches your browser.

Request

Show the state field as text

The same value, with line breaks instead of \n: the fixed instructions, which do not change between calls, then the board and the pieces of this turn.

Take it to your code

The same single-choice questions can route tickets, classify documents or pick the next step of a process.