Official Human-AI Interaction repository. This contains all code for the game portion of the Human AI study (interacting with chatbots and playing the Prisoner's Dilemma game with them).
Dedicated team members have tasks that are delegated during meetings. See all the current tasks on our Github Project task board.
For each task, create a branch for it. When you are done, make a pull request to main
.
backend/
- Contains backend server codeclient/
- Contains frontend React appTo set up the project, follow these steps:
Navigate to the root directory "human-ai" (or whatever your local repository name is) and run the following command to install all dependencies:
npm run install-all
Add .env files and required environment variables in backend/ and client/ folder. Create a new .env file in each subdirectory, refer to .env-example files for the format and structure.
(Do not delete .env-example for Git purposes)
Run the following command in the root directory:
npm run start-all
Note: it is best to run the servers in a dedicated terminal, NOT in the VSCode terminal.