awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
gabrielecirulli avatar

gabrielecirulli/2048

0
View on GitHub↗
13,276 星标·17,570 分支·JavaScript·MIT·6 次浏览play2048.co↗

2048

This is a browser-based puzzle game and HTML5 JavaScript application where players slide and merge numbered tiles on a grid to reach a target value. The game runs entirely on the client side, using web standard technologies to handle game logic and rendering directly in the browser.

The application is a mobile-compatible web app that translates touch-swipe gestures and keyboard inputs into directional commands. It includes a local storage score tracker to save and maintain a record of high scores across different sessions.

Features

  • Puzzle Games - Implements a logic-based puzzle game where players merge numbered tiles on a grid.
  • Client-Side Game Loops - Implements a client-side game loop that handles input and state updates without server communication.
  • Grid Simulation Engines - Ships a gameplay engine that simulates the sliding and merging of tiles on a grid.
  • Web-Based - Provides a fully playable interactive game that runs directly in the web browser.
  • Mobile-Compatible Web Apps - Provides a responsive interface that processes touch gestures and swipes for mobile devices and tablets.
  • Grid-Based State Management - Maintains the game board as a two-dimensional array to calculate tile positions and merge logic.
  • Touch Gesture Handlers - Implements swipe gestures on touchscreens to control the movement of game tiles.
  • HTML5 JavaScript Games - Built as a client-side application using HTML5 and JavaScript to render graphics and handle game logic.
  • Local Persistence - Saves player results locally to provide a persistent record of progress and competition.
  • Browser Storage Persistence - Saves the current game state and high scores using browser LocalStorage for cross-session persistence.
  • High Score Systems - A persistence system that saves high scores directly in the browser to maintain a record of performance.
  • CSS Transitions - Uses hardware-accelerated CSS transitions to animate tile movements and merges.
  • Gesture Navigation - Implements navigation and game control interactions driven by swiping on touch devices.
  • Event-Driven Input Handlers - Translates keyboard and touch events into directional commands using an event-driven input system.
  • Puzzle Games - Popular tile-sliding number puzzle game.

Star 历史

gabrielecirulli/2048 的 Star 历史图表gabrielecirulli/2048 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

2048 的开源替代方案

相似的开源项目,按与 2048 的功能重合度排序。
  • mango/slideoutmango 的头像

    mango/slideout

    7,881在 GitHub 上查看↗

    Slideout is a touch-gesture UI component and navigation menu designed for mobile web applications. It provides a side panel that slides across the screen to reveal navigation options, utilizing CSS transitions to animate the movement of the viewport. The component manages the expanded or collapsed state of the navigation menu and includes logic to restrict gestures for specific interface elements to prevent interaction conflicts. It employs a system for executing custom logic triggered by menu state transitions and user drag gestures.

    JavaScript
    在 GitHub 上查看↗7,881
  • ganlanyuan/tiny-sliderganlanyuan 的头像

    ganlanyuan/tiny-slider

    5,333在 GitHub 上查看↗

    Tiny-slider is a vanilla JavaScript carousel library used to create touch-enabled content sliders and accessible UI components without external dependencies. It functions as a responsive layout engine that adjusts slide visibility and dimensions based on viewport breakpoints. The library distinguishes itself through built-in lazy loading for images and media to improve page performance and a responsive system that automatically scales item counts and spacing according to the device screen size. It also supports nested slider instances, allowing for the creation of multi-directional scrolling

    HTMLcarouselslider
    在 GitHub 上查看↗5,333
  • ant-galaxy/oasis-engineant-galaxy 的头像

    ant-galaxy/oasis-engine

    5,791在 GitHub 上查看↗

    Oasis Engine is a web-based game engine and component-based game framework designed for creating real-time interactive 2D and 3D applications for web and mobile platforms. It functions as a real-time 3D renderer and a physics simulation engine capable of producing interactive visual environments. The framework includes a visual scene editor that allows artists and developers to build, layout, and export project scenes through a graphical interface. This system supports visual scene composition and converts these layouts into structured data for runtime reconstruction. The engine's capabiliti

    TypeScript
    在 GitHub 上查看↗5,791
  • hackiftekhar/iqkeyboardmanagerhackiftekhar 的头像

    hackiftekhar/IQKeyboardManager

    16,623在 GitHub 上查看↗

    IQKeyboardManager is an iOS keyboard management library and UI layout utility. It automatically adjusts screen layouts to prevent the software keyboard from covering text input fields. The project provides a customizable keyboard toolbar component with navigation buttons and action triggers. It enables focus management, allowing users to move between text fields via the return key or toolbar controls. The library covers keyboard layout coordination, including touch-based dismissal and offset configuration. It also includes a system for managing keyboard behaviors and appearance on a per-clas

    Swift
    在 GitHub 上查看↗16,623
查看 2048 的所有 30 个替代方案→

常见问题解答

gabrielecirulli/2048 是做什么的?

This is a browser-based puzzle game and HTML5 JavaScript application where players slide and merge numbered tiles on a grid to reach a target value. The game runs entirely on the client side, using web standard technologies to handle game logic and rendering directly in the browser.

gabrielecirulli/2048 的主要功能有哪些?

gabrielecirulli/2048 的主要功能包括:Puzzle Games, Client-Side Game Loops, Grid Simulation Engines, Web-Based, Mobile-Compatible Web Apps, Grid-Based State Management, Touch Gesture Handlers, HTML5 JavaScript Games。

gabrielecirulli/2048 有哪些开源替代品?

gabrielecirulli/2048 的开源替代品包括: mango/slideout — Slideout is a touch-gesture UI component and navigation menu designed for mobile web applications. It provides a side… ganlanyuan/tiny-slider — Tiny-slider is a vanilla JavaScript carousel library used to create touch-enabled content sliders and accessible UI… ant-galaxy/oasis-engine — Oasis Engine is a web-based game engine and component-based game framework designed for creating real-time interactive… shatyuka/zhiliao — Zhiliao is an Xposed Android app module designed to modify the behavior and interface of the Zhihu mobile application.… hackiftekhar/iqkeyboardmanager — IQKeyboardManager is an iOS keyboard management library and UI layout utility. It automatically adjusts screen layouts… fancyapps/fancybox — fancyBox is a jQuery-based lightbox plugin and JavaScript modal gallery used to render images and videos within a…