Bug Wars is a Java-based programming competition where players select or program intelligent creatures to navigate mazes, overcome obstacles, and compete for control of maps.
- Production Environment URL: Bug Wars Front End
- Front End Repo: Bug Wars FE
- Back End Repo: Bug Wars BE
- HTML/CSS/JavaScript
- Java
- PostgreSQL
- Vue.js
- Docker
- SpringBoot
In order to run this project on your local machine, there are a few steps you need to follow:
-
Clone the repository for both the FrontEnd and BackEnd to your machine.
-
Use pgAdmin to create a PostgreSQL database called bug_wars.
-
Create a file named
.env
in the Root Directory of the BackEnd portion of the project. Populate it with the following values:DB_HOST=localhost
DB_PORT=5432
DB_NAME=bug_wars
DB_USER=postgres
DB_PASSWORD=postgres1
DB_DDL=create-drop
INIT_MODE=ALWAYS
JWT_TOKEN_GENERATED=contact Laura for this
Please note, the values after the <=> may be different depending on your setup of pgAdmin. Use your own Username and Password.
-
Run the model application:
BugWarsHealerBackendApplication
. Your service should be live onlocalhost:8080
. -
Create a file named
.env
in the Root Directory of the FrontEnd portion of the project. Populate it with the following value:VITE_REMOTE_API = http://localhost:8080/api/v1
Please note, if your machine is configured differently, the port number may need to be changed.
-
Run the command
npm install
in the terminal for the FrontEnd of the project. -
Run the command
npm run dev
for a developer preview of the project.
- Players now have the ability to create their own scripts for creatures.
- Development Blog on live site.
- More robust testing for both Server & Client portions of our Application.
- We now have a Game engine to run the game.
- We have Compiler logic to parse bug code into actions (bytecode).
- Design maps for the bugs to compete on.
- If you would like to add maps to the project, please use the following key:
- X = Wall
- a, b, c, d = Bug4
- f = Food
- empty = Blank Space