Giter Site home page Giter Site logo

benletchford / stratego.io Goto Github PK

View Code? Open in Web Editor NEW
37.0 3.0 6.0 3.46 MB

Multiplayer HTML5 recreation of the classic game of Stratego.

Home Page: https://www.stratego.io

License: MIT License

CoffeeScript 11.75% Python 79.07% CSS 1.79% HTML 1.17% JavaScript 6.22%
stratego gae board-game multiplayer

stratego.io's Introduction

Multiplayer HTML5 Stratego.

Stratego.io preview

Built upon Pusher (for websockets) and Google App Engine.

In theory should work on anything that has a browser!

While this only supports the most basic gameplay, hopefully it'll get a lot better with time.

Contributing

Contrubutions are always welcome.

To setup your local instance you'll need the Google App Engine SDK.

You can install all the dependencies by doing:

$ npm install
$ bower install

You can run the front-end tests with:

$ grunt build:tests test

You can run the back-end tests with (uses nosegae):

$ pynt test

You can build the app with:

$ grunt build

You can build the graphics with:

$ grunt build:graphics

You can deploy the app to App Engine by doing (the grunt task will look for a gae.auth file which you must create yourself, see grunt-gae):

$ grunt deploy

You'll need to create js/PUSHER_CREDENTIALS.coffee, eg:

define (require) ->

  KEY: "YOUR_PUSHER_KEY"

You'll need to create gae/CONSTANTS/PUSHER_CREDENTIALS.py, eg:

APP_ID = "YOUR_APP_ID"
KEY = "YOUR_KEY"
SECRET = "YOUR_SECRET"

Piece Graphics

Pieces found at vector.gissen.nl

Issues

Any bugs or issues, please open an issue through github.

stratego.io's People

Stargazers

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

Watchers

 avatar  avatar  avatar

stratego.io's Issues

Change saved setup without playing

Hi,

I love this online version of the game, both simple and functional. However, I find it annoying that both players can't setup at the same time, and when playing with friends we have to wait for each other while we setup the pieces before the game. I think a relatively simple way to avoid this would be to give the player a menu entry to be able to change its saved setup without starting a game.

I don't know if you still work on this project. If not, I might try to implement this myself when I have some spare time.

François

not matching

The site stopped matching opponents. It just continually searches. The site has been down for a week.

Rules for Spies and Scouts aren't followed

I didn't explore this too much, but it seemed like the Spy was able to kill anything, instead of just the 10, and the scout could only move one space. Not sure what other rules aren't being followed.

Bombs don't explode

played a game of this but the bombs didn't destroy themselves when they exploded which made games where the flag is surrounded quite difficult!

Game isn't loading after setting up

Hi—my friend and I use your Stratego game often, thank you. We went on to play tonight and for both of us, it just says "Creating game" and the wheel is spinning forever. We just played a few days ago and it was working. Do you know what's going on? Thank you!

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.