Training with AI libraries and algorithms to learn AI concepts through interactive projects.
This repository showcases various JavaScript projects that utilize artificial intelligence and algorithms to demonstrate fundamental concepts in AI. Each project serves as a practical example of how to implement AI techniques using JavaScript, making learning engaging and hands-on.
To get started with the projects in this repository, follow these steps:
-
Clone the repository:
git clone https://github.com/ibourn/AI-javascript-demos.git
-
Run the folder's
index.html
with Live Server in VSCode:
- Install the Live Server extension in Visual Studio Code.
- Open the repository folder and right-click on
index.html
to select "Open with Live Server".
Or 3. Run a Python server:
-
Navigate to the cloned directory in your terminal and run:
python3 -m http.server
-
Then, open your browser and go to http://localhost:8000 to access the projects.
-
Flappy Bird
A classic game implementation using AI techniques for pathfinding and obstacle avoidance. -
Tic Tac Toe
A simple Tic Tac Toe game that demonstrates the Minimax algorithm for optimal move prediction. -
Game of Life
An implementation of Conway's Game of Life, showcasing cellular automata and basic simulation principles. -
Boids Simulation
A simulation of flocking behavior in birds using steering behaviors and simple rules for movement. -
Steering Food
A project demonstrating the steering behavior of agents that seek food sources, showcasing AI pathfinding. -
Machine Learning Color Contrast Picker
An application that uses machine learning to select optimal text colors based on background colors. -
Mood Detection
A real-time mood detection system that analyzes facial expressions using face-a 5426 pi.js.