ScalaQuest is a single as well as a multi-player game implemented in Scala. ScalaQuest tests the users knowledge on all things about the Scala programming language. It uses the Model-View-Controller (MVC) architecture which separates the application into three main logical components, the model, the view and the controller.
git clone https://github.com/SailReal/ScalaQuest.git
cd ScalaQuest
This project use sbt
. sbt compiles and runs the project.
Dont have sbt? Install sbt for
Mac,
Windows,
Linux
cd in ScalaQuest
Run sbt. This will open up the sbt console
Type run
Open the project with IntelliJ
Locate 'ScalaQuest' found in ScalaQuest -> src -> main -> scala -> de.scala_quest via
To run 'ScalaQuest' right click and select 'Run ScalaQuest'
Include pictures when they are available
The TUI is turn-based. In single player mode, the player will have o answer the questions one after the other. In multiplayer mode, the different players will have to take turns answering their respective questions. The answers to the questions will be numbered from 1-4. The player(s) will have to select the corresponding number via keyboard input.
The GUI is more interactive than the TUI. Here the players (maximum 2) will be shown a split-screen application with player1 on the left and player2 on the right of the screen. Each player receives his/her questions and moves onto the next question after selecting an answer. Like the TUI, the answers will be marked with numbers (1, 2, 3, 4), and letters (h, j, k, l).
WIP
The game is then over when one player completes all the questions.
- MVC architecture
- 100% model code coverage
- Text-based User Interface
- Graphical User Interface
- Web User Interface