🐙 https://github.com/mattyplo/GothamCityThreatMap
This project was created for HackSU 2018 along with Matthew Ploszaj. The theme of the hackathon was Fictional Technology. We created a program that simulates the severity of crime in different areas of Gotham City.
After downloading the repository, assuming you have the Java Development Kit (JDK) installed, you can compile the program by running this at the project root:
javac *.java
Then run the program by entering:
java BatMain
The app creates a 20x20 grid that is colored in shades of white, yellow, and red to represent a heatmap of threats in the city. Good guys like Batman turns the area around him more white, and bad guys like the Joker turns the area around him more red. If you click update, people on the map move around randomly and the heatmap changes accordingly.
You can click on cells on the map to see the cell location, threat level, and if there are people there. Here are some examples: