An Exploratory Study of Code Smells in Web Games

02/13/2020
by   Vartika Agrahari, et al.
0

With the continuous growth of the internet market, games are becoming more and more popular worldwide. However, increased market competition for game demands developers to write more efficient games in terms of performance, security, and maintenance. The continuous evolution of software systems and its increasing complexity may result in bad design decisions. Researchers analyzed the cognitive, behavioral and social effects of games. Also, gameplay and game mechanics have been a research area to enhance game playing, but to the extent of our knowledge, there hardly exists any research work that studies the bad coding practices in game development. Hence, through our study, we try to analyze and identify the presence of bad coding practices called code smells that may cause quality issues in games. To accomplish this, we created a dataset of 361 web games written in JavaScript. On this dataset, we run a JavaScript code smell detection tool JSNose to find the occurrence and distribution of code smell in web games. Further, we did a manual study on 9 web games to find violation of existing game programming patterns. Our results show that existing tools are mostly language-specific and are not enough in the context of games as they were not able to detect the anti-patterns or bad coding practices that are game-specific, motivating the need of game-specific code smell detection tools.

READ FULL TEXT
research
06/23/2020

A Catalogue of Game-Specific Anti-Patterns

With the ever-increasing use of games, game developers are expected to w...
research
05/28/2021

Aspects of High-Rated Games

As the video game market grows larger, it becomes harder to stand out fr...
research
04/06/2019

Mek: Mechanics Prototyping Tool for 2D Tile-Based Turn-Based Deterministic Games

There are few digital tools to help designers create game mechanics. A g...
research
02/16/2018

Code smells

Code smells as symptoms of poor design and implementation choices. Many ...
research
09/06/2022

Is it Fun?: Understanding Enjoyment in Non-Game HCI Research

An experience of fun can be an important factor for validating the value...
research
11/05/2018

Entombed: An archaeological examination of an Atari 2600 game

The act and experience of programming is, at its heart, a fundamentally ...
research
08/10/2020

Cross-Platform Games in Kotlin

This demo paper describes a simple and practical approach to writing cro...

Please sign up or login with your details

Forgot password? Click here to reset