ozboware / Javascript-AI-Rock-Paper-Scissors

A rock, paper, scissors game using artificial intelligence as the computer player. The program will remember patterns and make moves based on your historical moves

Home Page:https://ozboware.github.io/Javascript-AI-Rock-Paper-Scissors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Javascript AI Rock Paper Scissors

Demo

The game can be played on GitHub by clicking here

Installation

No installation

Just open the index file in your browser to play.

Controls

Click on your choice and wait for the computer to take its turn. I've slowed the time between player and computer choice to draw out the game a bit, but by modifying the timeout in the app.js script, you can control the length of time between plays.

The AI will remember patterns and make moves based on your historical moves.

Created using brain.js for the AI.

Screenshots

Javascript AI Rock Paper Scissors screenshot 1 Javascript AI Rock Paper Scissors screenshot 2 Javascript AI Rock Paper Scissors screenshot 3

About

A rock, paper, scissors game using artificial intelligence as the computer player. The program will remember patterns and make moves based on your historical moves

https://ozboware.github.io/Javascript-AI-Rock-Paper-Scissors

License:GNU General Public License v3.0


Languages

Language:JavaScript 98.9%Language:CSS 0.8%Language:HTML 0.3%