Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```