var mongoose = require('mongoose');
//assume Player and Board schemas are already made
var Player = mongoose.model('Player');
var Board = mongoose.model('Board');
//Each key in the schema is associated with schema type (ie. String, Number, Date, etc)
var gameSchema = new mongoose.Schema({
...