Catalog npm
PACKAGE EXPLORERView in registry

4dsnake

npm

You've all seen snake, but let's bring it into the fourth D I M E N S I O N!

3d4denginegamejavascriptsnakethreethreejs
Versions collected2
Direct dependencies1From release 0.7.3
Last observed20 Oct, 20:08 UTC

README

Current package documentation

4DSnake Promo

"4D" Snake 🐍

To Play 4D Snake:
Github Favicon CLICK HERE
Heroku Favicon OR HERE
Status Issues License
NPM
---

You've all seen snake, but let's bring it into the true third (not really fourth) D I M E N S I O N!

📝 Table of Contents

🧐 About

After seeing Snake game after Snake game, I noticed that the trend was whenever it was adapted to 3D it always lacked Y-axis movement! Since I felt that was a total waste of a dimension that set me off to implement a version of it that wasn't constrained to two axes in JavaScript. After finding three.js I knew I would be able to complete my idea! Without futher ado:

🕹️ How to Play

4D Snake!

Control Scheme

PCMobile
LeftASwipe Left
RightDSwipe Right
UpWSwipe Up
DownSSwipe Down
Rotate CameraLeft ClickDrag Triple Touch
Zoom CameraMouse WheelDrag Double Touch

Installing

You can test and run this just by dragging public/index.html into the browser.

Feel free to install using NPM as well npm install 4dsnake.

🚀 Deployment

This project is deployed on Github Pages. By keeping the top level index.html file, it will automatically populate to github pages. The only thing you need to do is edit the route to your own public/index.html route hosted on github pages.

You can also host this project on any cloud deployment you like, I chose Heroku for its quick setup. It hosts the project using NodeJS a simple http-server that uses the $PORT environment variable (or defaults to 4000).

⛏️ Built Using

✍️ Authors

🎉 Acknowledgements

  • @Ironhack for supporting me during the project!
  • @bobbypwang - For keeping me sane throughout the project and helping me brainstorm the idea.
  • @crispinonicky - For helping me out with some radian math!

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 2

Collected releases
VersionPublishedDirect dependenciesOpen version
0.7.3Registry latest14 Apr 20201
0.7.211 Nov 20191

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
andresmweber/4dsnake

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:08 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:d2d44e3a88ea13ba0ad4e8cacc3610361c50c1ff134e1f72d4a8e31228169f56