Giter Site home page Giter Site logo

mirkousuelli / ing-sw-2020-secreti-tresoldi-usuelli Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 2.0 81.68 MB

Final project Software Engineering 2020, Politecnico di Milano - BSc in Computer Engineering

Java 100.00%
java santorini-board-game santorini santorini-game polimi object-oriented-programming software-engineering software-testing gui client-server

ing-sw-2020-secreti-tresoldi-usuelli's Introduction

Final project in Software Engineering 2019/2020

Santorini, GC15 - Computer Science Engineering BSc, Politecnico di Milano.

Santorini board game

Java implementation of the board game called Santorini, edited by Cranio Creations.

What we have done

We implemented all the requirements listed for a maximum assessment of 30L, as indicated in the requirements:

  1. ๐Ÿ“š Complete rules
  2. ๐ŸŽฎ CLI
  3. ๐ŸŒด GUI
  4. ๐Ÿ“ก Socket
  5. ๐Ÿ”ฑ Advanced Gods
  6. ๐Ÿ’พ Persistence

Line Coverage

  • Controller = 100%
  • Model = 95%
    More details listed in jacoco (deliveries/jacoco)

Testing

We made 183 tests for both model and controller, the latter has been tested also through stubs; in order to run them successfully:

mvn test

Usage

Generate jar files (client and server) through maven by executing the following commands:

mvn clean
mvn package

NB. The following commands to run jar files only work if they are generated through maven. If the user wants to use the ones in 'deliveries' folder the path has to change accordingly.

  • Server

    • Default port (1337):
    java -jar target/GC15-server-jar-with-dependencies.jar
    • Chosen port:
    java -jar target/GC15-server-jar-with-dependencies.jar -p <port_num>

    where <port_num> stands for the socket port which both server and clients will use for the connection.

  • Client CLI

    java -jar target/GC15-client-jar-with-dependencies.jar
    • Commands
      • Move: move (x,y)
      • Build: build (x,y)
      • Active Power: usePower (x,y)
  • Client GUI
    Double click on target/GC15-client-jar-with-dependencies.jar icon.

Students

  • Riccardo Secreti (matr. 889417) : @RiccardoSecreti
  • Fabio Tresoldi (matr. 886622) : @Fabio-Tresoldi
  • Mirko Usuelli (matr. 888170) : @mirkousuelli

Professors/Tutors

  • Prof. Gianpaolo Cugola
  • Emanuele Del Sozzo : @emanueledelsozzo
  • Alberto Parravicini : @AlbertoParravicini

ing-sw-2020-secreti-tresoldi-usuelli's People

Contributors

fabio-tresoldi avatar mirkousuelli avatar riccardosecreti avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.