ScalaQuest Cli

The Cli module of the ScalaQuest Project.

License

License

Categories

Categories

Scala Languages CLI User Interface
GroupId

GroupId

io.github.scalaquest
ArtifactId

ArtifactId

cli
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

pom.sha512
Description

Description

ScalaQuest Cli
The Cli module of the ScalaQuest Project.
Project URL

Project URL

https://scalaquest.github.io/PPS-19-ScalaQuest
Source Code Management

Source Code Management

https://github.com/scalaquest/PPS-19-ScalaQuest

Download cli

Dependencies

compile (2)

Group / Artifact Type Version
io.github.scalaquest : core jar 1.0.1
dev.zio : zio_2.13 jar 1.0.5

runtime (4)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.13.5
com.github.julien-truffaut : monocle-core_2.13 jar 2.1.0
com.github.julien-truffaut : monocle-macro_2.13 jar 2.1.0
org.typelevel : cats-core_2.13 jar 2.3.1

Project Modules

There are no modules declared in this project.

ScalaQuest

Release CI Repo website

Maintainability Rating Reliability Rating Security Rating Quality Gate Status Coverage Technical Debt

ScalaQuest is an exam project for PPS and LSS courses in UNIBO, made by Riccardo Maldini, Filippo Nardini, Jacopo Corina, Francesco Gorini, Thomas Angelini.

gameplay

The idea behind the project

The basic idea is to create a framework for the implementation of games of the Interactive Fiction genre, in which the player can use text commands to influence the environment and continue in the game (e.g. Zork).

Official documentation

The official documentation of the project consists in:

  • PPS Report and LSS Report. The previous links show a web version of reports, auto-generated from the report sources. You can also consult them in a LaTeX PDF format;
  • An appendix document including the Scrum Overview, a summary of what has been done in each Scrum, with an index of linked issues and PR for each one. The document has been incrementally updated at each Scrum Review meeting. The document is also available as a LaTeX PDF;
  • The project backlog, publicly available as a GitHub Projects board;
  • The official Scaladoc of the Core and CLI modules;
  • The official Coverage reports for the Core and CLI modules.

How to use the game creation framework?

Including the cli jar is sufficient to start programming your CLI game, as the module includes core as an internal dependency. Importing the core solely is recommended only if you want to define your personal game interface, different from the standard CLI (a web interface, for example).

You can use core or cli libraries by including them as dependencies for your Gradle project. Add this lines to the build.gradle.kts:

dependencies {

  // Add the cli as dependency. This is sufficient to start 
  // building your game. Change the version to the latest available.
  implementation("io.github.scalaquest:cli:1.0.0")
  
  // Add the core as dependency. Change the version to the latest available.
  implementation("io.github.scalaquest:core:1.0.0")
}

You can find here the latest version for the core, and here the latest version for the cli.

Alternatively, you download the libraries from the release page, and include them as project dependencies.

How to play the example games?

ScalaQuest includes some examples that shows how to correctly use the library. You can use them as your game template, if you don't want to start from scratch. Download the latest EscapeRoom, WizardQuest or PokeQuest releases, unzip the chosen game and run it from your terminal (bin/gamename for Unix devices, bin/gamename.bat for Windows ones).

io.github.scalaquest

PPS/LSS Exam 19/20 - ScalaQuest

Team for a fantastic exam project. From UNIBO, for the course "Paradigmi di Programmazione e Sviluppo", 2020.

Versions

Version
1.0.1
1.0.0
0.4.2
0.3.1
0.3.0-dev09+ba6e58d
0.3.0-dev06+a85ca17
0.1.0-archeo+edfbff9
0.1.0-archeo+9e565e5