title: Ð Ð°Ð·ÑÐ°Ð±Ð¾ÑÐºÐ° Ð¼ÑÐ»ÑÑÐ¸Ð¿Ð»ÐµÐµÑÐ½Ð¾Ð¹ ÑÑÐ½ÐºÑÐ¸Ð¾Ð½Ð°Ð»ÑÐ½Ð¾ÑÑÐ¸ Ð´Ð»Ñ Android-Ð¿ÑÐ¸Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ Pocket Code
title: Ð²ÑÐ¿ÑÑÐºÐ½Ð°Ñ ÐºÐ²Ð°Ð»Ð¸ÑÐ¸ÐºÐ°ÑÐ¸Ð¾Ð½Ð½Ð°Ñ ÑÐ°Ð±Ð¾ÑÐ° Ð±Ð°ÐºÐ°Ð»Ð°Ð²ÑÐ°
titleType: Subtitle
title: Development of multiplayer extension for Android application Pocket Code
Creators: name: ÐÑÐ¾Ð±Ð¾ÑÐ¾Ð², ÐÐ¼Ð¸ÑÑÐ¸Ð¹
Publisher: name: Ð¡Ð°Ð½ÐºÑ-ÐÐµÑÐµÑÐ±ÑÑÐ³ÑÐºÐ¸Ð¹ Ð¿Ð¾Ð»Ð¸ÑÐµÑÐ½Ð¸ÑÐµÑÐºÐ¸Ð¹ ÑÐ½Ð¸Ð²ÐµÑÑÐ¸ÑÐµÑ ÐÐµÑÑÐ° ÐÐµÐ»Ð¸ÐºÐ¾Ð³Ð¾
Year: 2020
Subjects: android
bluetooth
Ð²Ð¸Ð·ÑÐ°Ð»ÑÐ½Ð¾Ðµ Ð¿ÑÐ¾Ð³ÑÐ°Ð¼Ð¼Ð¸ÑÐ¾Ð²Ð°Ð½Ð¸Ðµ
Ð¼ÑÐ»ÑÑÐ¸Ð¿Ð»ÐµÐµÑ
Java
visual programming
multiplayer

description: ÐÐ°Ð½Ð½Ð°Ñ ÑÐ°Ð±Ð¾ÑÐ° Ð¿Ð¾ÑÐ²ÑÑÐµÐ½Ð° Ð´Ð¾Ð±Ð°Ð²Ð»ÐµÐ½Ð¸Ñ Ð²Ð¾Ð·Ð¼Ð¾Ð¶Ð½Ð¾ÑÑÐ¸ ÑÐ¾Ð·Ð´Ð°Ð²Ð°ÑÑ Ð¿ÑÐ¾ÐµÐºÑÑ Ñ Ð¼ÑÐ»ÑÑÐ¸Ð¿Ð»ÐµÐµÑÐ½Ð¾Ð¹ ÑÑÐ½ÐºÑÐ¸Ð¾Ð½Ð°Ð»ÑÐ½Ð¾ÑÑÑÑ Ð² Android-Ð¿ÑÐ¸Ð»Ð¾Ð¶ÐµÐ½Ð¸Ð¸ Pocket Code. Ð ÑÐ¾Ð´Ðµ ÑÐ°Ð±Ð¾ÑÑ Ð±ÑÐ» Ð¿ÑÐ¾Ð²ÐµÐ´ÐµÐ½ Ð¾Ð±Ð·Ð¾Ñ ÑÑÐµÐ´ Ð²Ð¸Ð·ÑÐ°Ð»ÑÐ½Ð¾Ð³Ð¾ Ð¿ÑÐ¾Ð³ÑÐ°Ð¼Ð¼Ð¸ÑÐ¾Ð²Ð°Ð½Ð¸Ñ Scratch Ð¸ Catrobat. ÐÐ·ÑÑÐµÐ½Ñ ÑÐµÑÐ½Ð¾Ð»Ð¾Ð³Ð¸Ð¸, Ð¿Ð¾Ð´ÑÐ¾Ð´Ñ Ð¸ Ð¼ÐµÑÐ¾Ð´Ð¾Ð»Ð¾Ð³Ð¸Ð¸, Ð¿ÑÐ¸Ð¼ÐµÐ½ÑÐµÐ¼ÑÐµ Ð² ÑÐ°Ð·ÑÐ°Ð±Ð¾ÑÐºÐµ Ð¿ÑÐ¸Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ Pocket Code. ÐÑÐ¿Ð¾Ð»Ð½ÐµÐ½ ÑÑÐ°Ð²Ð½Ð¸ÑÐµÐ»ÑÐ½ÑÐ¹ Ð°Ð½Ð°Ð»Ð¸Ð· ÑÐ¿Ð¾ÑÐ¾Ð±Ð¾Ð² ÑÐµÐ°Ð»Ð¸Ð·Ð°ÑÐ¸Ð¸ Ð¼ÑÐ»ÑÑÐ¸Ð¿Ð»ÐµÐµÑÐ½Ð¾Â­Ð³Ð¾ Ð²Ð·Ð°Ð¸Ð¼Ð¾Ð´ÐµÐ¹ÑÑÐ²Ð¸Ñ Ð´Ð»Ñ Pocket Code, Ð¿Ð¾ Ð¸ÑÐ¾Ð³Ñ ÐºÐ¾ÑÐ¾ÑÐ¾Ð³Ð¾ Ð±ÑÐ»Ð° Ð²ÑÐ±ÑÐ°Ð½Ð° ÑÐµÑÐ½Ð¾Ð»Ð¾Ð³Ð¸Ñ Bluetooth Ð²Ð¼ÐµÑÑÐ¾ ÑÐ¸Ð½ÑÑÐ¾Ð½Ð¸Ð·Ð°ÑÐ¸Ð¸ ÑÐµÑÐµÐ· ÐÐ½ÑÐµÑÐ½ÐµÑ. ÐÑÐ»Ð¸ Ð¸Ð·ÑÑÐµÐ½Ñ Ð¾ÑÐ¾Ð±ÐµÐ½Ð½Ð¾ÑÑÐ¸ ÑÐ°Ð±Ð¾ÑÑ Ñ Bluetooth Ð½Ð° ÐÐ¡ Android Ð¸ ÑÐ°Ð·ÑÐ°Ð±Ð¾ÑÐ°Ð½Ñ ÐºÐ¾Ð¼Ð¿Ð¾Ð½ÐµÐ½ÑÑ, Ð¾ÑÐ²ÐµÑÐ°ÑÑÐ¸Ðµ Ð·Ð° Ð¾Ð±Ð½Ð°ÑÑÐ¶ÐµÐ½Ð¸Ðµ ÑÑÑÑÐ¾Ð¹ÑÑÐ², ÑÑÑÐ°Ð½Ð¾Ð²ÐºÑ ÑÐ¾ÐµÐ´Ð¸Ð½ÐµÐ½Ð¸Ñ Ð¸ Ð¿ÐµÑÐµÐ´Ð°ÑÑ Ð´Ð°Ð½Ð½ÑÑ ÑÐµÑÐµÐ· Bluetooth-ÑÐ¾ÐµÐ´Ð¸Ð½ÐµÐ½Ð¸Ðµ. ÐÑÐ¾Ð¸Ð·Ð²ÐµÐ´ÐµÐ½Ð° Ð¸Ð½ÑÐµÐ³ÑÐ°ÑÐ¸Ñ Ð¼ÑÐ»ÑÑÐ¸Ð¿Ð»ÐµÐµÑÐ½Ð¾Ð¹ ÑÑÐ½ÐºÑÐ¸Ð¾Ð½Ð°Ð»ÑÐ½Ð¾ÑÑÐ¸ Ð² ÑÐµÐ´Ð°ÐºÑÐ¾Ñ Catrobat Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ Ð½Ð¾Ð²Ð¾Ð³Ð¾ ÑÐ¸Ð¿Ð° Ð¿ÐµÑÐµÐ¼ÐµÐ½Ð½ÑÑ, Ð°Ð²ÑÐ¾Ð¼Ð°ÑÐ¸ÑÐµÑÐºÐ¸ ÑÐ¸Ð½ÑÑÐ¾Ð½Ð¸Ð·Ð¸ÑÑÑÑÐ¸Ñ ÑÐ²Ð¾Ðµ ÑÐ¾ÑÑÐ¾ÑÐ½Ð¸Ðµ Ð¼ÐµÐ¶Ð´Ñ ÑÐ¾ÐµÐ´Ð¸Ð½ÐµÐ½Ð½ÑÐ¼Ð¸ ÑÑÑÑÐ¾Ð¹ÑÑÐ²Ð°Ð¼Ð¸. Ð¡Ð¾Ð·Ð´Ð°Ð½Ð¾ Ð¾ÐºÑÑÐ¶ÐµÐ½Ð¸Ðµ Ð´Ð»Ñ Ð²ÑÐ¿Ð¾Ð»Ð½ÐµÐ½Ð¸Ñ Ð°Ð²ÑÐ¾Ð¼Ð°ÑÐ¸Ð·Ð¸ÑÐ¾Ð²Ð°Ð½Ð½ÑÑ unit-ÑÐµÑÑÐ¾Ð² Ð½Ð° ÑÐµÑÐ²ÐµÑÐµ Ð½ÐµÐ¿ÑÐµÑÑÐ²Ð½Ð¾Ð¹ Ð¸Ð½ÑÐµÐ³ÑÐ°ÑÐ¸Ð¸, Ð° ÑÐ°ÐºÐ¶Ðµ Ð¿Ð¾Ð»Ð½Ð¾ÑÐµÐ½Ð½ÑÑ ÑÐ¸ÑÑÐµÐ¼Ð½ÑÑ ÑÐµÑÑÐ¾Ð², Ð²ÑÐ¿Ð¾Ð»Ð½ÑÐµÐ¼ÑÑ Ð½Ð° ÑÐ¸Ð·Ð¸ÑÐµÑÐºÐ¸Ñ ÑÑÑÑÐ¾Ð¹ÑÑÐ²Ð°Ñ. Ð Ð¸ÑÐ¾Ð³Ðµ, ÑÐ°Ð·ÑÐ°Ð±Ð¾ÑÐ°Ð½Ð½Ð°Ñ ÑÑÐ½ÐºÑÐ¸Ð¾Ð½Ð°Ð»ÑÐ½Ð¾ÑÑÑ Ð±ÑÐ»Ð° Ð¸Ð½ÑÐµÐ³ÑÐ¸ÑÐ¾Ð²Ð°Ð½Ð° Ð² ÑÐµÐ¿Ð¾Ð·Ð¸ÑÐ¾ÑÐ¸Ð¹ Ñ Ð¸ÑÑÐ¾Ð´Ð½ÑÐ¼ ÐºÐ¾Ð´Ð¾Ð¼ Ð¿ÑÐ¸Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ.
description: This work is focused on adding an ability to create multiplayer projects in the Pocket Code Android application. It contains an overview of visual programming environments Scratch and Catrobat, a study of technologies and methods used during the development of the Pocket Code application. A comparative research of possible implementations of the multiplayer capabilities was conducted. As a result, Bluetooth technology was chosen instead of Internet-based synchronization. In the course of the work, the components of working with Bluetooth on the Android OS were studied and the components responsible for detecting devices, establishing a connection and transmitting data via a Bluetooth connection were developed. Next, an integration of multiplayer functionality into the Catrobat editor was performed using a new type of variables that automatically synchronize their state between connected devices. An environment was created for performing automated unit tests on a continuous integration server, as well as end-to-end system tests performed on physical devices. Finally, the developed functionality was integrated into the application source code repository.