Skip to content

anadis504/ot-harjoitustyo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ohjelmistotekniikka-hy 2020, harjoitustyö

Snake game

The classic snake-game desctop application: a single-player computer game where the player manouvers a growing line (snake) moving on the screen.

Releases

Final

Documentation

Project Specification

Working hours

Architecture description

User Manual

Testing documentation

Command line functions

Running the program

Program code can be run from Netbeans or from terminal with command

mvn compile exec:java -Dexec.mainClass=anadis.snakegame.ui.Main

Testing

Test can be run with command

mvn test

Code coverage report can be generated with command

mvn jacoco:report

The code coverage report can be reviewed by running file target/site/jacoco/index.html in browser

Generating a working jar file

Running command

mvn package

generates jar file SnakeGame-1.0-SNAPSHOT.jar to the repositorio target and can be run with command

java -jar SnakeGame-1.0-SNAPSHOT.jar

Checkstyle

Style checking as defined in the document checkstyle.xml can be run with command

 mvn jxr:jxr checkstyle:checkstyle

And possible style violations be reviewed by running file target/site/checkstyle.html in browser

JavaDoc

JavaDoc is generates by command

mvn javadoc:javadoc

and reviewed by running files found in target/site/apidocs/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages