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 🙏

© 2025 – Pkg Stats / Ryan Hefner

sword-game-engine

v0.1.1

Published

[हिन्दी के लिए यहाँ क्लिक करे](readme-HN.md) # Sword Engine ## The Simplest Game Engine ![sword-engine-logo](./se.png) ***

Downloads

8

Readme

हिन्दी के लिए यहाँ क्लिक करे

Sword Engine

The Simplest Game Engine

sword-engine-logo


Hello Guys!

I am so glad to see that you are interested in this project and reading this. I was really afraid to start this project because I was not sure if I could make it work.

But Here we are today!

I made it work.. And It is just working.. You know? Because I completed this project in a week, There are certainly some bugs, but I am not sure if they are all fixed. And the biggest of them is that You can't build the production, you can only work in the development. using

pnpm dev OR npm run dev

It is not the problem of the engine, but the problem of the bulid tool that I used.(ViteJS)

I will try to make it work in the future. But for now, I will just say that it is working.

You can click the link below to see the basic documentation that I generated using the tsdocs, and It looks decent enought to at least read

Click here for basic documentation

Alright Moving On..

This project basically contains the utilities that will help you to build your game or atleast minigame. It uses the html canvas to draw the game frames. Uses only a single thread of the CPU because javascript is single threaded programming language by default.

It contains classes like : Vector, Particle, Shape, Rectangle (for collision), GameObject (only abstract class), Bezier Curves etc. that's it, also a few other classes that will help you to build your game and a utility object called utils.

I have put some working examples in the samples folder. That contains :

  • Simulations
    • Solor System
    • Raining
    • Beziér Curve
  • Games
    • Snake
    • Space Wars
    • Flappy Bird
  • DSA Simulation
    • 0-1 Knapsack Problem

Alright Moving On..

All the code is open source and you can find it on github that you are probably reading this from.

The src folder contains the source code of the engine. you will see a utils folder that contains all the utility classes.

You can use any build tool to implement it.

BUT I Prefer that you don't use my game engine, because I want you to make your own game engine.

You got me!

I will tell you this later that How can you make your own game engine? Alight.. That's it for this readme. See ya.

Made By Vedik Dev - Himanshu Jangid

Thanks For Reading! VCF Loves You!