Web development with firebase : online Yatzy game
Nynäs, Mathilda; Nynäs, Mathilda (2024)
Nynäs, Mathilda
Nynäs, Mathilda
2024
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2024051512112
https://urn.fi/URN:NBN:fi:amk-2024051512112
Tiivistelmä
This thesis will depict the development of a web application, where the dice game Yatzy can be played in an online setting. The goal of this project was to create a web application with JavaScript, using Firebase services. Firebase is a platform which offers multiple tools for web development. Of those tools, Cloud Firestore and Firebase hosting services were the focus in this project. As a NoSQL, real-time database, Cloud Firestore was easy to use and manage. Firebase hosting offers hosting and backend services, which ease the workload of the developer. For the development of the application itself, JavaScript, react.js and node.js were used. In the chapter “Theoretical framework“ the tools used for web development are explained further.
In the application, users can create or join game rooms to play with others online. The game itself is played in 15 rounds, with 15 scoring slots for the user to fill after each turn. The user rolls five dice up to three times after which a score is given. After each game the users can choose to play again in the same game room or create a new one. Cloud Firestore played a huge role in the creation of this application since there was a need to quickly access and make changes to the database. The tools used in this thesis assisted in accomplishing the goals set forth.
In the application, users can create or join game rooms to play with others online. The game itself is played in 15 rounds, with 15 scoring slots for the user to fill after each turn. The user rolls five dice up to three times after which a score is given. After each game the users can choose to play again in the same game room or create a new one. Cloud Firestore played a huge role in the creation of this application since there was a need to quickly access and make changes to the database. The tools used in this thesis assisted in accomplishing the goals set forth.