Secret Hitler for mobile devices.
Building this so my friends and I can play this awesome board game even if we don't have the physical game.
The game and rules are not mine. All taken from the actual board game "Secret Hilter"
Secret Hilter was created by Mike Boxleiter, Tommy Maranges, Max Temkin, and Mac Schubert
I built this web app, Secret Hitler as a Meteor.js learning project. Uses MongoDB and Handlebars
Lobby View / Seating View / Game View
- MeteorJS
- Handlebars
- MongoDB
- app deployed on Heroku
function cleanUpDatabase() {
// remove old rooms and players
let cutOffTime = moment().subtract(8, 'hours').toDate().getTime();
let numRoomsRemoved = Rooms.remove({
createdAt: {$lt: cutOffTime}
});
let numPlayersRemoved = Players.remove({
createdAt: {$lt: cutOffTime}
});
}
// Cron Job to remove old rooms and players
let MyCron = new Cron(60000);
MyCron.addJob(5, cleanUpDatabase);