Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jimmyyhwu/shape-battles
Shape Battles: The Final Frontier
https://github.com/jimmyyhwu/shape-battles
javascript threejs
Last synced: 3 months ago
JSON representation
Shape Battles: The Final Frontier
- Host: GitHub
- URL: https://github.com/jimmyyhwu/shape-battles
- Owner: jimmyyhwu
- License: mit
- Created: 2020-04-28T04:00:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T03:41:49.000Z (about 2 years ago)
- Last Synced: 2024-07-30T20:53:31.261Z (6 months ago)
- Topics: javascript, threejs
- Language: JavaScript
- Homepage: https://shape-battles.onrender.com
- Size: 5.32 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# shape-battles
Course project for [Princeton COS 426: Computer Graphics, Spring 2019](https://www.cs.princeton.edu/courses/archive/spring19/cos426/)
Authors: Derek Sawicki, Hector Solis, Jimmy Wu
Live demo: https://shape-battles.onrender.com
## Running Locally
```bash
brew install mongodb
npm install
mkdir -p data/db
mongod --dbpath=data/db
node server
```## Deploying to Heroku
```bash
heroku create
heroku addons:create mongolab
heroku open
```## Database Management
```bash
mongo
db.leaderboard.find({playerName: 'spammer'})
db.leaderboard.remove({playerName: 'spammer'})
```## Heroku Database Management
```bash
heroku addons:open mongolab
```