Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kothakokila/javascript_webgames
Welcome to the JavaScript Games Collection! This repository includes two classic games built using HTML, CSS, and JavaScript.
https://github.com/kothakokila/javascript_webgames
Last synced: about 2 months ago
JSON representation
Welcome to the JavaScript Games Collection! This repository includes two classic games built using HTML, CSS, and JavaScript.
- Host: GitHub
- URL: https://github.com/kothakokila/javascript_webgames
- Owner: kothakokila
- Created: 2024-06-26T13:54:30.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-06-26T15:07:55.000Z (8 months ago)
- Last Synced: 2024-11-07T13:07:57.284Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 147 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](#introduction)
- [Rock Paper Scissors](#rock-paper-scissors)
- [Tic Tac Toe](#tic-tac-toe)## 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.