Pacman-like game used for teaching. The original JPacman repository was developed at Delft University of Technology.
This fork is used by the Software Reengineering course at the University of Antwerp. Warning: if you are not a student for the Software Reengineering course, I strongly recommend you fork the original JPacman repository intead of this one.
This fork contains bad smells and questionable practices (effectively making the code quality worst) introduced on purpose so that students can use reengineering tools to find and refactor these bad practices. Moreover, the testing parts of this fork will change from the original repository. Although, many parts of the code are still left untested intentionally.
- Git clone the project
- Open IntelliJ and create new project "from existing sources"
- Select 'Gradle' in the following screen as external model, and click 'Next'
- In the next screen, optionally adjust the Gradle options and click 'Finish'
- To see JPacman in action: run
nl.tudelft.jpacman.Launcher
- To run the test suite in IntelliJ: right click on a test or directory ->
Run
orRun ...Test
- To see the coverage, on the Gradle tasks plugin right click on 'test' and select ->
Run 'jpacman[test]' with Coverage
- To see the coverage, on the Gradle tasks plugin right click on 'test' and select ->
- Git clone the project
- To build JPacman without running:
./gradlew build
- To see JPacman in action:
./gradlew run
- To run the tests use:
./gradlew test
- For static analysis tools (not used in Software Reengineering):
./gradlew staticAnalysis
- For static analysis tools and tests (not used in Software Reengineering):
./gradlew check