This repository contains two simple web-based games implemented using JavaScript: Rock Paper Scissors and Tic Tac Toe.
Welcome to the JavaScript Games Collection! This repository includes two classic games built using HTML, CSS, and JavaScript.
Rock Paper Scissors is a simple hand game usually played between two people, where each player simultaneously forms one of three shapes with an outstretched hand. The possible shapes are "rock," "paper," and "scissors."
- Play against the computer.
- Simple and intuitive interface.
- Random computer moves.
- Open the
rock-paper-scissors/index.html
file in your web browser. - Choose your move by clicking on Rock, Paper, or Scissors.
- The computer will randomly choose its move.
- The result will be displayed on the screen.
Tic Tac Toe is a two-player game where players take turns marking a space in a 3×3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game.
- Play against the computer.
- Simple and intuitive interface.
- Highlights the winning line.
- Open the
tic-tac-toe/index.html
file in your web browser. - Click on an empty cell to make your move.
- The computer will make its move.
- The game will announce the winner or a draw when all cells are filled.