Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Multiplayerupplevelse i webbapplikationer utvecklade med Node.js och WebSocket
University West, Department of Economics and IT, Division of Media and Design.
University West, Department of Economics and IT, Division of Media and Design.
2015 (Swedish)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

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.

Abstract [sv]

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.

Place, publisher, year, edition, pages
2015. , p. 39
Keywords [sv]
Webbapplikationer, multiplayerspel
National Category
Media and Communications
Identifiers
URN: urn:nbn:se:hv:diva-8384Local ID: EXC509OAI: oai:DiVA.org:hv-8384DiVA, id: diva2:858818
Subject / course
Media informatics
Educational program
Digitala media
Supervisors
Examiners
Available from: 2015-10-06 Created: 2015-10-05 Last updated: 2015-10-07Bibliographically approved

Open Access in DiVA

fulltext(1136 kB)334 downloads
File information
File name FULLTEXT01.pdfFile size 1136 kBChecksum SHA-512
d05414cc14f980b96784d0ead86e9d7e307aa2c90001ee756ccbfb6dc718c8dbc98b65eddf3b58f5edac9af28f660350c21e0be770cce5d8bcff8e2e07808e86
Type fulltextMimetype application/pdf

By organisation
Division of Media and Design
Media and Communications

Search outside of DiVA

GoogleGoogle Scholar
Total: 334 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 673 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf