Skip to content

chrisDaniel/contra-2000

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Contra 2000

Here I was playing around with an Online Multiplayer game. The idea was multiplayer contra. Like the NES classic....with this spin: everybody would hop into the same level, play as the contra guy, and try to shoot each other.

These are the things I was wanting to try out ...

  • MelonJS - a framework for browser games (two thumbs up)
  • Spring 5 and Pivotal Reactor - server to handle the client connections (two more thumbs up)
  • Let my 7 year old help...he's been begging me to learn...and I think he might of learned a thing or two.

I havent worked on this for a few months...so Im calling it done for now. Hopefully somebody can make use of the source code. Here are a couple videos.

Video 1: Multiplayer - me vs my son

IMAGE ALT TEXT HERE

Video 2: Survivor - single player mode

IMAGE ALT TEXT HERE

Project Contents

Contra-Client

  • this folder holds the game client
  • runs with node builds with grunt
  • to run ... cd into the contra-client directory
    • npm i
    • grunt serve
  • the game will now be available at http://localhost:3000

Contra-Server

  • this folder holds the game server
  • runs with java builds with maven
  • to run ... cd into the contra-service directory
    • mvn package
    • sudo mvn spring-boot:run
  • the server will now be available at localhost:80
  • to verify the server is working ... http://localhost/game/sse-flow-test

Notes

I hosted this thing on a free AWS box. The performance was pretty solid...got several players playing together and it didnt lag...the bullets hit well.

About

Online Multiplayer Contra Game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages