Skip to content

ngallagher87/fireteam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

114 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fireteam

Master status:

🔥 👬 ...Thats the two emojis for fireteam… obviously

Ideally this will become a decent game where you control a small team of soldiers to fight other soldiers, but the cool part is that the user will program the soldier AI.

To install this you need node/npm.

To install dependencies, use this:

npm install

To start the app, use this:

node app.js

Module summary

Fireteam runs on Express. It uses Passport for auth (currently github is our only provider), and it uses ejs for templating.

MongoDB drives the database, and Mongoose is used as middleware. Fireteam also utilize async to help with code flow.

Current routes:

If you're running this local, server = 127.0.0.1

http://SERVER:3000/login

Authenticates a user thru GitHub (currently our only auth provider)

http://SERVER:3000/account

Renders a simple account page

http://SERVER:3000/battle

Finds an opposing fireteam to fight, and battles them! The view just says who won and who lost... but if you look at the node console there will be details on what happened in the fight.

About

A team combat game built using node.js

Resources

Stars

Watchers

Forks

Packages

No packages published