Skip to content

leokuo0724/mock-interview-game

Repository files navigation

Mock Interview Game

Cover

SolidJS Phaser License

This is a fun and interactive mock interview game built using the SolidJS framework and Phaser game engine. User can play through a series of interview questions while enjoying a game experience.

Demo

A live demo of the Mock Interview Game can be found here.

Getting Started for developers

To get started with this project, follow these steps:

  1. Clone the repository to your local machine:
git clone https://github.com/leokuo0724/mock-interview-game.git
  1. Navigate to the project directory:
cd mock-interview-game
  1. Install dependencies using pnpm:
pnpm install
  1. Start the development server:
pnpm dev

Configuration

In dev mode, it will read OpenAI's key in environment variable by default. You should add your OpenAI API key by following steps:

  1. Get your OpenAI API key from the OpenAI website
  2. Create a .env file in the root directory of the project.
  3. Add your OpenAI API key to the .env file:
VITE_OPENAI_API_KEY=your-api-key-here
  1. Save the .env file.
  2. Restart the development server

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments