Skip to content

Welcome to the JavaScript Games Collection! This repository includes two classic games built using HTML, CSS, and JavaScript.

Notifications You must be signed in to change notification settings

kothakokila/JavaScript_WebGames

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Games Collection

This repository contains two simple web-based games implemented using JavaScript: Rock Paper Scissors and Tic Tac Toe.

Table of Contents

Introduction

Welcome to the JavaScript Games Collection! This repository includes two classic games built using HTML, CSS, and JavaScript.

Rock Paper Scissors

Description

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."

Features

  • Play against the computer.
  • Simple and intuitive interface.
  • Random computer moves.

How to Play

  1. Open the rock-paper-scissors/index.html file in your web browser.
  2. Choose your move by clicking on Rock, Paper, or Scissors.
  3. The computer will randomly choose its move.
  4. The result will be displayed on the screen.

Tic Tac Toe

Description

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.

Features

  • Play against the computer.
  • Simple and intuitive interface.
  • Highlights the winning line.

How to Play

  1. Open the tic-tac-toe/index.html file in your web browser.
  2. Click on an empty cell to make your move.
  3. The computer will make its move.
  4. The game will announce the winner or a draw when all cells are filled.

About

Welcome to the JavaScript Games Collection! This repository includes two classic games built using HTML, CSS, and JavaScript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published