A real-time programming battle web application by using webrtc

0Citations
Citations of this article
10Readers
Mendeley users who have this article in their library.
Get full text

Abstract

We are developing a web system for learning Python programming. The multiple users can join the system simultaneously through programming battles. This system consists of two parts which are web browsers and a web server. The browser side program written in JavaScript uses an idea from Robocode, which is a open sourced programming learning tool. A user of Robocode plays a battle by writing robot programs in Java. On the other hand, the user of our system writes a program in Python, and the program is converted to a JavaScript of robot program. The conversion is done on the web sever as soon as the user changes his or her code in real-time. In our previous work, we used WebSocket to implement a client-server model that is one-on-one fight. However, since the CPU usage ratio of both browsers and server were high, it was difficult to increase the number of players. Therefore, in this implementation, we use WebRTC to build an application on communicating among browsers that supports more than two players efficiently. We will compare CPU usage ratio on WebSocket model over WebRTC model. Moreover, we will consider which method is suitable for our system.

Cite

CITATION STYLE

APA

Fukutani, R., Okamoto, S., Sakamoto, S., & Kohana, M. (2020). A real-time programming battle web application by using webrtc. In Advances in Intelligent Systems and Computing (Vol. 1036, pp. 731–737). Springer Verlag. https://doi.org/10.1007/978-3-030-29029-0_73

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free