Note
All issues & PRs raised after 10 PM Kolkata, India time will not be considered as per the Open Odyssey event rules.
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 ๐
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 ๐
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
This repository currently features 58 interactive mini-games built with HTML, CSS, and JavaScript:
- 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
- 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
- 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
- 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
- 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
- Burger Builder - Create custom burgers
- Cozy Blocks - Build with cozy blocks
- Meme Generator - Create funny memes
- Pixel Art Creator - Draw pixel art creations
- Hangman - Guess the word letter by letter
- Quiz Game - Answer trivia questions
- Typing Test - Measure your typing speed and accuracy
- 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.
git clone https://github.com/ritaban06/mini-js-games-hub.git
cd mini-js-games-hubSimply open index.html in your browser โ no setup needed!
The hub lists game cards from the games array in script.js. Each game entry includes:
name: The display name of your gamepath: The relative path to your game's index.html file
- HTML5
- CSS3
- Vanilla JavaScript
We love contributions! โค๏ธ
To add your own game or fix an issue, please check the CONTRIBUTING.md file for detailed steps.
See full list of contributor contribution Contribution Graph
This project is licensed under the MIT License โ free to use and modify.
If you like this project, give it a โญ on GitHub and share it with your friends!
Letโs make learning web development fun together! ๐น๏ธ