Code Monkey home page Code Monkey logo

contra-2000's Introduction

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.

contra-2000's People

Contributors

chris-daniel-sharecare avatar chrisdaniel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

contra-2000's Issues

Missing Feature

Hey Chris

Thanks for your amazing contribution,

Please note that it is missing a lot feature regarding 'single player' game,

When the fighter goes right, the map / world is not moving,

The fighter disappears without being able to continue the game,

Your help is appreciated

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.