{"id":25421252,"url":"https://github.com/hasanulmukit/endless-runner-nextjs","last_synced_at":"2026-05-04T01:33:11.870Z","repository":{"id":277455349,"uuid":"932481915","full_name":"hasanulmukit/endless-runner-nextjs","owner":"hasanulmukit","description":"An endless runner game that leverages modern web technologies to deliver an engaging, responsive, and visually appealing gaming experience.","archived":false,"fork":false,"pushed_at":"2025-02-14T01:37:48.000Z","size":1149,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T23:08:56.698Z","etag":null,"topics":["canvas","endless-runner","framer-motion","game","nextjs","tailwindcss","webgame"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hasanulmukit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-14T01:29:14.000Z","updated_at":"2025-02-14T06:47:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"382e02b5-3710-4bbd-ade0-2b43eb9d6d7d","html_url":"https://github.com/hasanulmukit/endless-runner-nextjs","commit_stats":null,"previous_names":["hasanulmukit/endless-runner-nextjs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hasanulmukit/endless-runner-nextjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasanulmukit%2Fendless-runner-nextjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasanulmukit%2Fendless-runner-nextjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasanulmukit%2Fendless-runner-nextjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasanulmukit%2Fendless-runner-nextjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hasanulmukit","download_url":"https://codeload.github.com/hasanulmukit/endless-runner-nextjs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasanulmukit%2Fendless-runner-nextjs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263607168,"owners_count":23487747,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["canvas","endless-runner","framer-motion","game","nextjs","tailwindcss","webgame"],"created_at":"2025-02-16T20:25:23.931Z","updated_at":"2026-05-04T01:33:06.843Z","avatar_url":"https://github.com/hasanulmukit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Endless Runner Game\n\nAn endless runner game built with **Next.js** and **Tailwind CSS** that leverages modern web technologies to deliver an engaging, responsive, and visually appealing gaming experience. The game features parallax background effects, sprite-based characters and obstacles, audio effects, particle effects on collisions, and a high score system stored in local storage.\n\n## Table of Contents\n\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Technologies](#technologies)\n- [Project Structure](#project-structure)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Features\n\n- **Responsive Design:** The canvas automatically adjusts to different screen sizes while maintaining a 2:1 aspect ratio.\n- **Parallax Background:** Multiple canvas layers create a depth effect using moving background images.\n- **High Score System:** High scores are stored locally to track your best performance.\n- **Particle Effects:** Visual particle explosions occur on collision events for a dynamic effect.\n- **Modern UI Animations:** Framer Motion is used to animate UI elements like buttons for a smooth user experience.\n\n## Installation\n\nMake sure you have [Node.js](https://nodejs.org/) installed, then follow these steps:\n\n1. **Clone the Repository:**\n\n   ```bash\n   git clone https://github.com/yourusername/endless-runner-game.git\n   cd endless-runner-game\n   ```\n\n2. **Install Dependencies:**\n\n   ```bash\n   npm install\n   ```\n\n3. **Run the Development Server:**\n\n   ```bash\n   npm run dev\n   ```\n\n4. **Open Your Browser:**\n\nVisit http://localhost:3000 to play the game.\n\n## Usage\n\n- Controls:\n\n1. Press Space or Arrow Up to jump.\n2. Press P to pause/resume the game.\n\n## Objective:\n\nKeep your character running, dodge obstacles, and collect power-ups to score points. Your high score is saved automatically.\n\n## Technologies\n\n- Next.js: React framework for production.\n- Tailwind CSS: Utility-first CSS framework for styling.\n- HTML5 Canvas: Rendering the game graphics.\n- Framer Motion: For UI animations.\n- JavaScript (ES6+): Game logic and interactivity.\n\n## Project Structure\n\n- endless-runner-game/\n- ├── app/\n- │ ├── layout.jsx // Global layout and metadata\n- │ └── page.jsx // Home page that renders the game\n- ├── components/\n- │ └── GameCanvas.jsx // Main game component with game logic\n- ├── public/\n- │ ├── audio/ // Audio files (jump, collision, power-up)\n- │ ├── images/ // background images\n- │ └── favicon.ico\n- ├── styles/\n- │ └── globals.css // Global CSS including Tailwind directives\n- ├── package.json\n- └── README.md\n\n### Contributing\n\nContributions are welcome! Please fork this repository and create a pull request with your changes. For major changes, please open an issue first to discuss what you would like to change.\n\n- Fork the project.\n- Create your feature branch: git checkout -b feature/my-feature\n- Commit your changes: git commit -am 'Add new feature'\n- Push to the branch: git push origin feature/my-feature\n- Open a pull request.\n\n### License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasanulmukit%2Fendless-runner-nextjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhasanulmukit%2Fendless-runner-nextjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasanulmukit%2Fendless-runner-nextjs/lists"}