Skip to content

ritaban06/mini-js-games-hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Note

All issues & PRs raised after 10 PM Kolkata, India time will not be considered as per the Open Odyssey event rules.

๐ŸŽฎ Mini JS Games Hub

A fun collection of mini JavaScript games built using HTML, CSS, and JavaScript!
Perfect for beginners who want to learn web development, play simple games, and contribute new ideas ๐Ÿš€


๐Ÿ•น๏ธ About

This project is an open-source games hub where each mini-game is stored in its own folder.
Every game runs directly in the browser and is written in pure HTML, CSS, and JS โ€” no frameworks, no build tools, just fun and learning!

You can:

  • Play simple web-based games ๐ŸŽฏ
  • Learn JavaScript by reading the source code ๐Ÿ’ก
  • Add your own games and share them with the community ๐ŸŒ

๐Ÿ“‚ Project Structure

mini-js-games-hub/
โ”‚
โ”œโ”€โ”€ index.html          # Home page listing all games
โ”œโ”€โ”€ style.css           # Global styling
โ”œโ”€โ”€ script.js           # Handles navigation and game loading
โ””โ”€โ”€ games/              # All game directories
โ”œโ”€โ”€ 15-puzzle/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ 2048/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ 8-ball-pool/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ asteroids/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ balloon-pop/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ boom/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ breakout/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ”œโ”€โ”€ script.js
โ”‚ โ””โ”€โ”€ README.md
โ”œโ”€โ”€ burger-builder/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ catch-the-ball/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ Catch_The_Dot/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ coin_toss_simulator/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ color-clicker/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ color-guessing-game/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ color-squid-puzzle/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ Connect-four/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ cozy-blocks/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ endless-runner/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ find-hidden-object/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ”œโ”€โ”€ script.js
โ”‚ โ””โ”€โ”€ levels/
โ”œโ”€โ”€ flappy-bird/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ”œโ”€โ”€ script.js
โ”‚ โ”œโ”€โ”€ README.md
โ”‚ โ””โ”€โ”€ thumbnail.svg
โ”œโ”€โ”€ Frogger/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ grass-defense/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ hangman/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ island-survival/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ line-game/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ link-game/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ Logic-Chain/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ maiolike-block-puzzle/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ meme_generator/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ memory/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ merge-lab/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ Number_Gussing_game/
โ”‚ โ”œโ”€โ”€ NGG.html
โ”‚ โ”œโ”€โ”€ NGG.css
โ”‚ โ””โ”€โ”€ NGG.js
โ”œโ”€โ”€ odd-one-out/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ peglinko/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ pixel-art-creator/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ pong/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ quiz-game/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ quote/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ reaction-timer/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ rock-paper-scissors/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ shadow-catcher/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ Simon-Says-Game/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ”œโ”€โ”€ app.js
โ”‚ โ””โ”€โ”€ images/
โ”œโ”€โ”€ SimonSays/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ app.js
โ”œโ”€โ”€ snake/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ space-shooter/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ sudoku/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ tap-reveal/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ tap-the-bubble/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ tetris/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ The Godzilla Fights game/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ tictactoe/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ tileman/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ tiny-fishing/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ tower-defense/
โ”‚ โ””โ”€โ”€ index.html
โ”œโ”€โ”€ typing-test/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ whack-a-mole/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ word-scramble/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ”œโ”€โ”€ words-of-wonders/
โ”‚ โ”œโ”€โ”€ index.html
โ”‚ โ”œโ”€โ”€ style.css
โ”‚ โ””โ”€โ”€ script.js
โ””โ”€โ”€ worlds-easiest-game/
โ”œโ”€โ”€ index.html
โ”œโ”€โ”€ style.css
โ””โ”€โ”€ script.js

๐ŸŽฎ Games Included

This repository currently features 58 interactive mini-games built with HTML, CSS, and JavaScript:

Puzzle Games

  • 15 Puzzle - Classic sliding tile puzzle to arrange numbers in order
  • 2048 - Merge tiles to reach 2048
  • Color Squid Puzzle - Color-based puzzle challenge
  • Logic Chain - Solve logical sequences
  • Maiolike Block Puzzle - Arrange blocks in patterns
  • Sudoku - Fill the grid with numbers 1-9
  • Word Scramble - Unscramble the letters to form words
  • Words of Wonders - Word puzzle game

Arcade Games

  • Asteroids - Classic space shooter game
  • Breakout - Break bricks with a bouncing ball
  • Flappy Bird - Navigate through pipes by tapping
  • Frogger - Help the frog cross the road
  • Pong - Classic two-paddle arcade game
  • Snake - Eat food and grow longer without hitting walls
  • Space Shooter - Shoot down enemies in space
  • Tetris - Stack falling blocks to clear lines
  • Whack-a-Mole - Hit the moles as they pop up

Action & Reflexes

  • Balloon Pop - Pop balloons as fast as you can
  • Boom - Explosive action game
  • Catch the Ball - Catch falling balls
  • Catch The Dot - Click the moving dot quickly
  • Endless Runner - Run infinitely avoiding obstacles
  • Grass Defense - Defend your territory
  • Island Survival - Survive on a deserted island
  • Reaction Timer - Test your reaction speed
  • Shadow Catcher - Catch the moving shadows
  • Tap Reveal - Tap to reveal hidden items
  • Tap the Bubble - Pop bubbles by tapping
  • The Godzilla Fights - Epic monster battle game
  • Tower Defense - Defend against waves of enemies
  • World's Easiest Game - Deceptively challenging game

Strategy & Logic

  • 8 Ball Pool - Play pool/billiards
  • Connect Four - Four-in-a-row strategy game
  • Rock Paper Scissors - Classic hand game
  • Tic Tac Toe - Classic X's and O's game

Memory & Pattern Games

  • Color Clicker - Click matching colors
  • Color Guessing Game - Guess the RGB color value
  • Memory - Match pairs of cards
  • Odd One Out - Find the different item
  • Simon Says Game - Repeat the pattern sequence
  • SimonSays - Follow the pattern game

Creative & Building

  • Burger Builder - Create custom burgers
  • Cozy Blocks - Build with cozy blocks
  • Meme Generator - Create funny memes
  • Pixel Art Creator - Draw pixel art creations

Word & Trivia

  • Hangman - Guess the word letter by letter
  • Quiz Game - Answer trivia questions
  • Typing Test - Measure your typing speed and accuracy

Casual & Fun

  • Coin Toss Simulator - Flip a virtual coin
  • Find Hidden Object - Locate hidden objects in scenes
  • Line Game - Draw lines without crossing
  • Link Game - Connect matching items
  • Merge Lab - Merge similar items together
  • Number Guessing Game - Guess the secret number
  • Peglinko - Drop the ball through pegs
  • Quote - Display random inspirational quotes
  • Tileman - Tile-based adventure
  • Tiny Fishing - Relax with simple fishing

Total: 58 Games and Growing! ๐ŸŽฎ

Each game is self-contained with its own HTML, CSS, and JavaScript files, making it easy to play, modify, or learn from.


๐Ÿš€ Getting Started

1. Clone the repository

git clone https://github.com/ritaban06/mini-js-games-hub.git
cd mini-js-games-hub

2. Run locally

Simply open index.html in your browser โ€” no setup needed!

3. How it works

The hub lists game cards from the games array in script.js. Each game entry includes:

  • name: The display name of your game
  • path: The relative path to your game's index.html file

๐Ÿ’ป Tech Stack

  • HTML5
  • CSS3
  • Vanilla JavaScript

๐Ÿค Contributing

We love contributions! โค๏ธ
To add your own game or fix an issue, please check the CONTRIBUTING.md file for detailed steps.


โœจ Contributors

Thanks to all the wonderful contributors ๐Ÿ’–

See full list of contributor contribution Contribution Graph


๐Ÿชช License

This project is licensed under the MIT License โ€” free to use and modify.


๐ŸŒŸ Show Your Support

If you like this project, give it a โญ on GitHub and share it with your friends!
Letโ€™s make learning web development fun together! ๐Ÿ•น๏ธ

About

A simple and exciting collection of mini-games made with HTML, CSS, and JavaScript.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Contributors 37