isel-leic-daw / s2223i-51d-51n-public

Public repository for the 51D and 51N class sections - Autumn 2022/2023
17 stars 3 forks source link

Project first phase #1

Open pmhsfelix opened 1 year ago

pmhsfelix commented 1 year ago

Goal

The goal of this project is the development of a Web-based system allowing multiple players to play the Battleship game.

Architecture

This system will be composed of a centralized backend service and one or more frontend applications. The frontend applications will run on the user's devices, providing the interface between those users and the system. The backend service will manage all the game related data and enforce the game rules.

Frontend applications will communicate with the backend service using an HTTP API. These applications will not communicate directly between themselves. All communication should be done via the backend service, which has the responsibility of ensuring all the game rules are followed, as well as storing the game states and final outcomes.

Project phases

This project is divided into two phases:

The HTTP API exposed by the backend service, developed in the first phase, can also be usable by an Android-based frontend application, developed in the context of the Programação de Dispositivos Móvies course.

Functionality

The HTTP API should provide the functionality required for a front-end application to:

Game rules and evolution

The Battleship game does not have a single set or rules. Instead, it allows for multiple variations on the game rules, such as:

The backend service and exposed HTTP API should be designed in a way to allow the evolution of these gaming rules, including allowing different games to use different rules. The frontend applications should adapt automatically to these evolving and dynamic game rules.

Delivery

The first phase should be delivered until October 31 2022, via the creation of the 0.1.0 tag on the group's repository. Any change after that data should result in the creation of a patch tag (e.g. 0.1.1).

The backend service should be executable via the docker-compose system without any other dependencies. I.e. the backend service should be executable on any machine with docker desktop, via a docker compose command, without requiring any additional software installation or configuration.

The delivery should also contain:

Both these two documents should be linked from the README.md file, located in the repositories root directory.

pmhsfelix commented 1 year ago

The backend service should use the PostgreSQL RDBMS.