{"_id":"4dsnake","_rev":"2-241c9408e15542405f6f1b2949d55ebf","name":"4dsnake","dist-tags":{"latest":"0.7.3"},"versions":{"0.7.2":{"name":"4dsnake","version":"0.7.2","description":"You've all seen snake, but let's bring it into the fourth D I M E N S I O N!","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"cd public && http-server . --cors -c-1 -p ${PORT:-4000}"},"repository":{"type":"git","url":"git+https://github.com/AndresMWeber/4DSnake.git"},"keywords":["snake","4D","3D","three","threejs","javascript","game","game","engine"],"author":{"name":"Andres Weber"},"license":"ISC","bugs":{"url":"https://github.com/AndresMWeber/4DSnake/issues"},"homepage":"https://github.com/AndresMWeber/4DSnake#readme","dependencies":{"http-server":"^0.11.1"},"gitHead":"8bbcaf5385e38811ef71b1758ebf09b89f422d4d","_id":"4dsnake@0.7.2","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-Ff9Xj18PUOCIoS+7xPDyv/rR3QOWbaDwThJuWNKQs1RgZfc80B0sc4NIoEx9KdYYTWjauqN6imUDXRrv1d2dLw==","shasum":"20325f03ced46e08968a05d76fcb69d2a645e47d","tarball":"https://registry.npmjs.org/4dsnake/-/4dsnake-0.7.2.tgz","fileCount":32,"unpackedSize":20350433,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyeJfCRA9TVsSAnZWagAAH/YP/1G89/5ZJX5K27OtLKnQ\nfQkFZ6AGYayhqWwO+txzmDc6fmgGdRxssoDX+rqhLTyCXZ9IRkVSg8t5WYG4\nkMY2h8v5uTHSG1kLYwt/byaWRwb9wdCyfXOFdFZ2baSBZ0BEdHfA97h87Pyn\nadLut7Za0kCTIR+MWSgIZkedwCVTFNSTtZYqNbRr+PuIHJrJU9ktIqKEnY5T\n+koa38bkjUvfkP4D4Sv7T4xQ7dqqPKX3W8Mwp42WoxtkvT2qBtp2MfmF54uv\nvEe8kWvK9JMpDh4Fc46k8ox7sQEaQvd8x8dG9dqw10jTMOxkqk3oGqo/glHf\nH4qyJ3OzGShFV25rch35qX7XTbD73tzUCNLHu3SZISXoFXcopUgvrogDyHCu\nXIswi1E0dc/XB2PRfV4hgMDK+Bbx7wZJPGUuSnDgvQupkinq5tBPMJD73I8s\nDHhrmK8ivDnndADOz0BATED4EIF8CrB99vvtb/dUGkdU78/EWxos7xjjsMcr\nTgZoun2X54kL0VzIN2I9IE/7zZMsrB3E5896EjjWmuRSlfltQMDWg/4hw8Ft\nXT+bk0oT9IGgUJ5Adwdjejz8Zf0MztPxnl12tbYHm5ytkyWjxaE1bWzVBVPH\nm8LWNLfVCKvuTokXX+Ad4D0et8x8R1PM1VxRqsiF8kkbxIedx+gkVCJTUtfY\nAI3f\r\n=HtFP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhD5bcjK99VHljz02U66ZbusSxr94fuCEjTS5G+En16QIgMW5J93gnFSCVQ9g6fZPTz3ZH8y68ZR9gQMVog3uf9SM="}]},"maintainers":[{"name":"andresmweber","email":"andresmweber@gmail.com"}],"_npmUser":{"name":"andresmweber","email":"andresmweber@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4dsnake_0.7.2_1573511774563_0.4881626877860905"},"_hasShrinkwrap":false},"0.7.3":{"name":"4dsnake","version":"0.7.3","description":"You've all seen snake, but let's bring it into the fourth D I M E N S I O N!","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"http-server ./public --cors -c-1 -p ${PORT:-4000}"},"repository":{"type":"git","url":"git+https://github.com/AndresMWeber/4DSnake.git"},"keywords":["snake","4D","3D","three","threejs","javascript","game","game","engine"],"author":{"name":"Andres Weber"},"license":"ISC","bugs":{"url":"https://github.com/AndresMWeber/4DSnake/issues"},"homepage":"https://github.com/AndresMWeber/4DSnake#readme","dependencies":{"http-server":"^0.12.1"},"gitHead":"2dfe6e5036c92e622e35627ca70d900b36a332ba","_id":"4dsnake@0.7.3","_nodeVersion":"12.13.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-YmaXbgSoDx2+4NxHda2GI0Cz2Tt2ES3Dt73LoUoo7JrY6SpGOA1FpdfTGe9Oz4pwHu9QACj33GI6Np6HCvlmqw==","shasum":"5ad27122ffdf3e930decfcd4d6f9f4901b2f5c76","tarball":"https://registry.npmjs.org/4dsnake/-/4dsnake-0.7.3.tgz","fileCount":32,"unpackedSize":20351860,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeleCiCRA9TVsSAnZWagAA5cQP/ipsGvh5l65uWrjEa+hW\nAunTDFvlHKSeOnMZJgLALIBqK7KE2/eFExF8112RKPDY7A6k0hsjuA514sMO\neesoyQhRIDkavAfAcbfAJY9jkH4ktfTIRW9/884zrwchObbHt03x1XOutCU1\nvnwUJVUzLyBomwz6TOJ7Sc/wceR/drvy91v7q8cvnirWNULUoFEXbZQhTPGf\ndoiuWp+72Pu5+V/pEZ6MqAhqefTL97q8x3yoaVPhY6NouU4OTPyKFjb22hfL\nKARzMQKNNOIxANZH2JorHukQuC909KaqkXdFpry+l6/zHthePceBID5hSWMj\nF82Fqj2XbkVhbjlJzlxkJe8BERikUoKbsNaQ2+RFbeg2bLKbLtT6I6ti6FqM\n4MhxNzcnUwuSQ44u27GjwXZmdeaIadv9Iq7HD1ok02MchvdarSZ9mWG2aUmW\ny+TeDKnZlx/ht5rKmy0MrX2pxpmENGY3NoD94YOaIqhZCADAF+WBJtyd4L9B\nfO5HFYynYdlzYdhanePMBIj4mIdWXxuBtvELVGPZy/BKcB/Yhpv1MuwI/Ovp\n2inhqD7lgNpVgvdYigwr4AylD5cFw9dhAGhHxi4acVT7+w0m6Nzd+DmM3kyk\nJyrhUq92U235aesdALSVYgY9hQF9g/KgCJ/+GFT6Y/JFs1Jy16JFi1cA7IY/\nmaLa\r\n=ZGYi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICzeZYjNKGudZ30/N0LAAU9YGhF+rS81tmaJUylWbaIGAiBPwl2H8f9D7kTlHYjn/G6cQpyhjd764WUa0gs63FBtyA=="}]},"maintainers":[{"name":"andresmweber","email":"andresmweber@gmail.com"}],"_npmUser":{"name":"andresmweber","email":"andresmweber@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4dsnake_0.7.3_1586880673360_0.36205007112135235"},"_hasShrinkwrap":false}},"time":{"created":"2019-11-11T22:36:14.562Z","0.7.2":"2019-11-11T22:36:15.147Z","modified":"2022-04-04T10:22:29.249Z","0.7.3":"2020-04-14T16:11:14.116Z"},"maintainers":[{"name":"andresmweber","email":"andresmweber@gmail.com"}],"description":"You've all seen snake, but let's bring it into the fourth D I M E N S I O N!","homepage":"https://github.com/AndresMWeber/4DSnake#readme","keywords":["snake","4D","3D","three","threejs","javascript","game","game","engine"],"repository":{"type":"git","url":"git+https://github.com/AndresMWeber/4DSnake.git"},"author":{"name":"Andres Weber"},"bugs":{"url":"https://github.com/AndresMWeber/4DSnake/issues"},"license":"ISC","readme":"<p align=\"center\">\n    <a href=\"https://andresmweber.github.io/4DSnake/\" rel=\"noopener\">\n        <img width=300px height=300px src=\"https://raw.githubusercontent.com/andresmweber/4dsnake/master/presentation/promotional/promo.png \" alt=\"4DSnake Promo\">\n    </a>\n</p>\n\n<h2 align=\"center\">\"4D\" Snake 🐍</h2>\n\n<h5 align=\"center\">To Play 4D Snake:</h5>\n\n<h5 align=\"center\">\n    <img width=14px alt=\"Github Favicon\" src=\"https://github.githubassets.com/favicon.ico\" />\n    <a href=\"https://andresmweber.github.io/4DSnake/\">CLICK HERE</a>\n</h5>\n\n<h5 align=\"center\">\n    <img width=14px alt=\"Heroku Favicon\" src=\"https://www.herokucdn.com/favicons/favicon.ico\" />\n    <a href=\"https://fourdsnake.herokuapp.com/\">OR HERE</a>\n</h5>\n\n<div align=\"center\">\n    <img alt=\"Status\" src=\"https://img.shields.io/badge/status-active-success.svg\" />\n    <img alt=\"Issues\" src=\"https://img.shields.io/github/issues/andresmweber/4DSnake.svg\" />\n    <img alt=\"License\" src=\"https://img.shields.io/badge/License-BSD%203--Clause-blue.svg\" />\n</div>\n<div align=\"center\">\n    <img alt=\"NPM\" src=\"https://nodei.co/npm/4dsnake.png?compact=true\" />\n</div>\n---\n\n<p align=\"center\"> 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!\n    <br> \n</p>\n\n## 📝 Table of Contents\n- [About](#about)\n- [How To Play](#howto)\n- [Installing](#installing)\n- [Deployment](#deployment)\n- [Built Using](#built_using)\n- [Authors](#authors)\n- [Acknowledgments](#acknowledgement)\n\n## 🧐 About <a name = \"about\"></a>\nAfter 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](https://threejs.org/) I knew I would be able to complete my idea! Without futher ado:\n\n## 🕹️ How to Play <a name = \"howto\"></a>\n\n<div align=\"center\">\n    <table>\n        <tr width=400px>\n        <td>\n            <img width=400px src=\"https://github.com/AndresMWeber/4DSnake/blob/master/presentation/demo.gif?raw=true\" alt=\"4D Snake!\" />\n        </td>\n        <td valign=\"top\">\n          <table width=400px>\n                <tr>\n                    <td align=\"center\" colspan=\"3\"><h3>Control Scheme</h3></td>\n                </tr>\n                <tr>\n                    <td></td>\n                    <td><b>PC</b></td>\n                    <td><b>Mobile</b></td>\n                </tr>\n                <tr>\n                    <td><b>Left</b></td>\n                    <td>A</td>\n                    <td>Swipe Left</td>\n                </tr>\n                <tr>\n                    <td><b>Right</b></td>\n                    <td>D</td>\n                    <td>Swipe Right</td>\n                </tr>\n                <tr>\n                    <td><b>Up</b></td>\n                    <td>W</td>\n                    <td>Swipe Up</td>\n                </tr>\n                <tr>\n                    <td><b>Down</b></td>\n                    <td>S</td>\n                    <td>Swipe Down</td>\n                </tr>\n                <tr>\n                    <td><b>Rotate Camera</b></td>\n                    <td>Left Click</td>\n                    <td>Drag Triple Touch</td>\n                </tr>\n                <tr>\n                    <td><b>Zoom Camera</b></td>\n                    <td>Mouse Wheel</td>\n                    <td>Drag Double Touch</td>\n                </tr>\n            </table>\n        </td>\n        </tr>\n    </table>\n</div>\n\n### Installing\nYou can test and run this just by dragging ```public/index.html``` into the browser.\n\nFeel free to install using NPM as well ```npm install 4dsnake```.\n\n## 🚀 Deployment <a name = \"deployment\"></a>\nThis 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. \n\nYou 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```).\n\n## ⛏️ Built Using <a name = \"built_using\"></a>\n- [NodeJS](https://www.nodejs.org/) - Web Server\n- [JavaScript](https://www.javascript.com/) - Front End\n- [ThreeJS](https://threejs.org/) - 3D Engine\n- [CSS](https://www.w3.org/Style/CSS//) - Styling\n- [Maya](https://www.autodesk.com/products/maya/overview) - 3D Content\n\n## ✍️ Authors <a name = \"authors\"></a>\n- [@andresmweber](https://github.com/andresmweber) - Idea & Completed work\n\n## 🎉 Acknowledgements <a name = \"acknowledgement\"></a>\n- [@Ironhack](https://github.com/ironhack) for supporting me during the project!\n- [@bobbypwang](https://github.com/bobbypwang) - For keeping me sane throughout the project and helping me brainstorm the idea.\n- [@crispinonicky](https://github.com/crispinonicky) - For helping me out with some radian math!\n","readmeFilename":"README.md"}