npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@atomnext/whack-a-wolf

v1.0.1

Published

狂拍灰太狼是一款快节奏的Web游戏,旨在通过点击动画中出现的灰太狼来获得分数,同时避免点击小灰灰以免扣分。

Downloads

11

Readme

🎮 游戏概述

"狂拍灰太狼"是一款快节奏的Web游戏,旨在通过点击动画中出现的灰太狼来获得分数,同时避免点击小灰灰以免扣分。游戏具有简单直观的操作方式,适合所有年龄段的玩家进行休闲娱乐。

💻 技术栈

  • HTML: 用于构建游戏的基础结构。
  • CSS: 用于美化游戏界面。
  • JavaScript (依赖于 jQuery): 用于处理游戏逻辑和动画效果。

📁 文件结构

  • index.html: 游戏的主页面文件,包含了游戏的基本结构和链接到CSS样式表及JavaScript文件。
  • css/index.css: 游戏的样式文件,定义了游戏元素的外观和布局。
  • js/jquery-1.12.4.js: jQuery库文件,提供了便捷的DOM操作方法,加速开发过程。
  • js/index.js: 游戏的主要逻辑文件,包含了游戏启动、进度条处理、灰太狼动画及游戏规则的实现。

📜 游戏规则

  • 游戏时间限定为30秒。
  • 点击灰太狼会增加10分,点击小灰灰会减少10分。
  • 每当玩家的得分达到30分的倍数时,游戏时间会增加3秒,帮助玩家获得更高的分数。
  • 游戏结束时,会显示“GAME OVER”界面,并提供“重新开始”按钮。

🕹️ 操作说明

  • 开始游戏: 点击“开始游戏”按钮开始游戏,进度条和灰太狼动画随即启动。
  • 游戏进行中: 点击出现的灰太狼和小灰灰,根据游戏规则增减分数。
  • 查看游戏规则: 点击“游戏规则”打开规则说明,再次点击“[关闭]”可关闭规则说明。
  • 游戏结束: 当进度条走完或者点击“重新开始”后,可以重新开始游戏。