Improving Data Transfer Efficiency for AIs in the DareFightingICE using gRPC

This paper presents a new communication interface for the DareFightingICE platform, a Java-based fighting game focused on implementing AI for controlling a non-player character. The interface uses an open-source remote procedure call, gRPC to improve the efficiency of data transfer between the game and the AI, reducing the time spent on receiving information from the game server. This is important because the main challenge of implementing AI in a fighting game is the need for the AI to select an action to perform within a short response time. The DareFightingICE platform has been integrated with Py4J, allowing developers to create AIs using Python. However, Py4J is less efficient at handling large amounts of data, resulting in excessive latency. In contrast, gRPC is well-suited for transmitting large amounts of data. To evaluate the effectiveness of the new communication interface, we conducted an experiment comparing the latency of gRPC and Py4J, using a rule-based AI that sends a kick command regardless of the information received from the game server. The experiment results showed not only a 65% reduction in latency but also improved stability and eliminated missed frames compared to the current interface.

READ FULL TEXT

page 3

page 5

research
04/04/2017

Adaptive Motion Gaming AI for Health Promotion

This paper presents a design of a non-player character (AI) for promotin...
research
08/24/2023

Language as Reality: A Co-Creative Storytelling Game Experience in 1001 Nights using Generative AI

In this paper, we present "1001 Nights", an AI-native game that allows p...
research
09/18/2020

TotalBotWar: A New Pseudo Real-time Multi-action Game Challenge and Competition for AI

This paper presents TotalBotWar, a new pseudo real-time multi-action cha...
research
01/31/2020

CLAI: A Platform for AI Skills on the Command Line

This paper reports on the open source project CLAI (Command Line AI), ai...
research
01/10/2019

PFML-based Semantic BCI Agent for Game of Go Learning and Prediction

This paper presents a semantic brain computer interface (BCI) agent with...
research
08/11/2022

Cine-AI: Generating Video Game Cutscenes in the Style of Human Directors

Cutscenes form an integral part of many video games, but their creation ...
research
11/03/2017

PS-DBSCAN: An Efficient Parallel DBSCAN Algorithm Based on Platform Of AI (PAI)

We present PS-DBSCAN, a communication efficient parallel DBSCAN algorith...

Please sign up or login with your details

Forgot password? Click here to reset