Saturday, November 14, 2026

Sports World Zone brings you the latest from football, Formula 1, cricket, rugby, tennis, golf, boxing and horse racing: match reports, transfer news, previews and the stories behind the scores.

Horse Racing

Exploring the Horse Racing Reverse Akinator: Technical Insights

Dive into the inner workings of the Horse Racing Reverse Akinator, a unique browser game for horse racing fans.

  • 4 mins read
  • 3 views
Exploring the Horse Racing Reverse Akinator: Technical Insights

Hello, fellow horse racing enthusiasts! I’m the developer behind "KEIBA_ARCADE," and I’m excited to share some insights into how the Horse Racing Reverse Akinator operates. This article sheds light on the technical aspects of this fun game, focusing on its mechanics and how it delivers a unique experience to players.

Understanding the Game’s Framework

The Horse Racing Reverse Akinator is an interactive browser game where players ask questions to reveal the identity of a G1-winning horse. While I utilize generative AI during the development phase, the game's core mechanics rely on HTML, CSS, JavaScript, and a JSON database of racehorses. This structure allows the game to function without constant server communication.

Integral to its operation, React, TypeScript, and Vite contribute to components like the KEIBA_ARCADE home screen, while the game displays existing HTML through an iframe. I designed it to maintain a familiar UI reminiscent of horse racing columns found in newspapers, ensuring that the gaming experience is both engaging and accessible.

Racehorse Data Management

Currently, the game features a dataset of 505 racehorses, each represented as a unique object containing key information such as the horse's name, the number of G1 wins, the specific races won, and their active era. For example, if players ask, "Did it win 2 G1 races?" the system checks the horse’s G1 wins property directly.

To handle a rich history, the data is structured using arrays, allowing diverse entries for horses that competed in different eras or with multiple jockeys. However, it's crucial to note that while questions regarding distance and surface of races are separated, correct answers about these attributes do not imply they occurred in the same event.

Lottery Selection Process

The selection of which horse is presented to players is not random; instead, I employ a weighted lottery system based on the number of G1 wins. Horses with more victories have a significantly higher chance of being chosen. For example, a horse with four to six G1 wins has a selection weight of 40, making it 40 times more likely to be selected than one with a single win.

  • Normal Mode: Utilizes the weighted lottery for all horses
  • Era Specification: Focuses on horses from a specific winning era
  • Hardware Mode: Sets all horses to equal probability

This weighting mechanism ensures that players with favorites might need more luck to encounter them, considering their probabilities of selection across 505 horses and a total initial weight of 2,851.

Response Mechanism for Player Questions

When players engage with the game, they can press question buttons to reveal categories relevant to their inquiry. The system returns responses using a clear set of criteria:

  • ◎ Yes: The horse meets the criterion.
  • △ Partially: Matches some conditions, such as when a horse has G1 wins spanning multiple decades.
  • × No: Does not meet any conditions.

This structured response system enables players to navigate the game's intelligence, with further refinements, including addressing ambiguous terms and ensuring clarity in player queries.

Game State Management and Results Sharing

The gaming experience includes managing state without external libraries, as I utilize JavaScript variables to track the horse in question, the number of turns taken, and other essential game elements. Players have a maximum of 19 turns to guess the horse's name, starting with a limited number of questioning turns before arriving at the final guess.

After the game concludes, players can share their results on social media. The result image is a dynamically generated graphic through the browser's Canvas 2D, encompassing all game details like the horse's name and turn history.

Ongoing Development and Future Prospects

Even as I implement AI in the development process, the game remains fundamentally simple. It revolves around holding racehorse information in a JSON format, using randomization for selection, and comparing the player’s inquiries against the stored data. As I continue to enhance this game, my aim is to create engaging and enjoyable experiences for horse racing fans. I look forward to sharing more updates as I further develop the game!