/OOP21-ca-sim

Cellular automaton simulator

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

Cellular Automaton Simulator

Build License: GPL v3

ca-sim is a cellular automaton simulator, it supports:

The following features will be implemented:

  • Automatic simulation
  • Manual simulation (the user will decide when to show the next iteration)
  • Stats about the simulation (i.e. States, number of iterations)
  • Random generated initial grid
  • User generated initial grid
  • Save/Load initial state from file
  • Zoom

This software is developed by:

For the university course in OOP.

Build

You can build ca-sim using Gradle, first you have to clone the repo:

git clone git@github.com:FiloSanza/ca-sim.git

You can then build it on linux or mac-os with:

cd ca-sim
./gradlew build

If you are on Windows you can use:

cd "ca-sim"
gradlew.bat build

The gradle scripts automatically executes additional checks using PMD, SpotBugs and CheckStyle, if you want to disable them you can run (on linux and mac-os):

./gradle build -x check       #to disable all the checks
./gradle build -x [checkName] #checkName can be checkstyle[Main|Test] spotbugs[Main|Test]

If you are on Windows you can use:

gradlew.bat build -x check       #to disable all the checks
gradlew.bat build -x [checkName] #checkName can be checkstyle[Main|Test] spotbugs[Main|Test]