batu-gunting-kertas-nuxt
batu-gunting-kertas-nuxt copied to clipboard
Rock Paper Scissors Game with Artificial Intellegence
Rock Paper Scissors Game with Artificial Intellegence
Demo
http://rockpaperscissors-ai.now.sh/
What is this?
This is a paper scissors rock game created using artificial intelligence.
This game can read the players' patterns to determine the steps the AI will take in order to win.
Built with Nuxt JS & Tailwind CSS framework.
Screensot
How to play?
- You can start the game by selecting "rock", "scissors" or "paper".
- Choose continuously until you create a pattern.
- Examples of patterns:
- Rock, rock, rock, rock, etc.
- Rock, scissors, rock, scissors, etc.
- Rock, scissors, paper, rock, scissors, paper, etc.
- Paper, paper, paper, paper, etc.
- See that you will lose.
Build setup
# install dependencies
$ yarn install
# serve with hot reload at localhost:3000
$ yarn dev
# build for production and launch server
$ yarn build
$ yarn start
# generate static project
$ yarn generate
For detailed explanation on how things work, check out Nuxt.js docs.