Return to search

Multiplayerupplevelse i webbapplikationer utvecklade med Node.js och WebSocket

The purpose of this research was to delve into the process of developing real time applications for the web via the use of JavaScript based frameworks and code libraries – that run on both the client and the server. To aid us in this endeavor we have developed a test application in the form of a real time multiplayer game. We believe this project to be an appropriate model for experimentation as the market is currently showing an increasing interest in tools which facilitates the development of platform independent games. We have specifically examinined how technologies such as Node.js and WebSocket can be used in order to deliver a multiplayer experience that adequately satisfies the demands and expectations of the prevailing market as it pertains to applications of this kind.Apart from measuring the actual latency for each game round during our experiments, we have also made use of subjective evaluation through the Mean Opinion Score (MOS). This research paper also introduces the term "multiplayer experience" in order for us to encapsulate and relate to the user's subjective experience of simultaneous interaction.Our research has led us to conclude that there is no definitive or all-encompassing metric by which to judge the threshold for acceptable latency that is applicable to all games. The results from our tests do however show that Node.js and WebSocket – at least in regards to our own application – can be used to deliver an acceptable multiplayer experience. / I det här arbetet så redogör vi för processen av att utveckla en realtidsbaserad webbapplikation med hjälp av ett antal ramverk och kodbibliotek – för både klient och server – som är skrivna i JavaScript. Vår testmodell består av ett enklare realtidsbaserat multiplayerspel, ett projekt som vi såg som en lämplig kandidat då intresset för plattformsoberoende multiplayerspel på marknaden ökar. Utifrån laborationer och kodexperiment granskar vi hur teknologierna Node.js och WebSocket kan användas för att möjliggöra för en multiplayerupplevelse som lever upp till de förväntningar som ställs på denna typ av applikation.Utöver att ha mätt de faktiska överföringstiderna för varje spelomgång så har vi dessutom brukat oss av en subjektiv värderingsskala kallad Mean Opinion Score (MOS). Vi inför också begreppet multiplayerupplevelse för att kunna förhålla oss till användarens subjektiva upplevelse av simultan interaktion.Vi kommer fram till att det inte går att fastställa ett definitivt och allomfattande gränsvärde för latenstider, utan det skiljer sig från spel till spel. Resultaten från mätningarna av vår egen applikation visar att Node.js och WebSocket kan leverera en acceptabel multiplayerupplevelse.

Identiferoai:union.ndltd.org:UPSALLA1/oai:DiVA.org:hv-8384
Date January 2015
CreatorsGustavson, Anton, Jönnerstig, Eduardo
PublisherHögskolan Väst, Avd för medier och design, Högskolan Väst, Avd för medier och design
Source SetsDiVA Archive at Upsalla University
LanguageSwedish
Detected LanguageSwedish
TypeStudent thesis, info:eu-repo/semantics/bachelorThesis, text
Formatapplication/pdf
Rightsinfo:eu-repo/semantics/openAccess

Page generated in 0.1325 seconds