Skip to content

A Pacman clone written in Scala, intended for use in Software Engineering courses

Notifications You must be signed in to change notification settings

timmolderez/spacman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spacman

Spacman is a Scala port of the jpacman project. Like jpacman, spacman is an implementation of the Pacman game, with a test suite included, intended for use in Software Engineering courses.

It is currently used at the Vrije Universiteit Brussel to give students an introduction to unit testing, functional testing, mocking and design by contract. The test suite of spacman is written using the ScalaTest and ScalaMock frameworks.

Importing spacman in IntelliJ IDEA:

  • Make sure you have IntelliJ IDEA installed, with the Scala plugin.
  • Clone the project to your computer: git clone https://github.com/timmolderez/spacman.git
  • Start IntelliJ IDEA and click "Import Project"
  • Select the folder where spacman was cloned.
  • Select "Import project from external model" and choose "Gradle".
  • Click "Next", then "Finish", and wait for the import process to finish. (During the import process, you may get a warning dialog "The modules below are not imported from Gradle anymore." You can just click "OK" to continue.)
  • It is possible that the Project SDK is not set automatically. To do this, go to File > Project Structure... , and change the "Project SDK:" field to e.g. Java version 1.8.
  • Once the import process is finished, you can try out spacman: in the project explorer, go to spacman/src/main/scala/be/vub/spacman/Launcher. Right-click this file and choose "Run 'Launcher.main()'".

About

A Pacman clone written in Scala, intended for use in Software Engineering courses

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published