Giter Club home page Giter Club logo

blind-cowboys's Introduction

Blind Cowboys is entry to Gynvael's Winter GameDev Challenge 2017
http://gynvael.coldwind.pl/?id=668

Resources

WebAssembly uses tinflate library by Joergen Ibsen
https://bitbucket.org/jibsen/tinf

Game uses Nandaka Western font by Goma Shin
https://www.dafont.com/nandaka-western.font

Ugliness of images is due to my lack of skill with Inkscape :)


Synthetising kick, snare and hi-hat sounds is based on:
https://sonoport.github.io/synthesising-sounds-webaudio.html
https://codepen.io/aqilahmisuary/pen/BjdxEE

How to make shoot sound I got from:
http://webaudioapi.com/samples/procedural/
http://webaudio.prototyping.bbc.co.uk/gunfire/


How to play

There are two players. As game grew around idea of WebRTC we can call
them client and server. But WebRTC stuff - based on example from
https://github.com/owebio/serverless-webrtc-chat - turned out not to
work offline. Therefore I made version using window.open where one
window act like message broker and gameplay take place in windows
spawn by it.
Due to it's origin some things may look a little out of place.

At start client waits for server who have few settings tweak:
1. Size of field - game take place on square of specified size
2. Number of cowboys - how many characters each player control
3. Number of obstacles on field
4. Required number of times each player have to shoot per round

Each round have three phases:
1. Move - each cowboy can take one step to up, down, left or right
2. Fire - then cowboys can or must fire their guns
3. View - after both players end their turn they see/hear number of
          all moves in round followed by flashes and bangs for each
		  shoot in round.
		  If cowboys stepped on same place they are startled and 
		  unconditionally shoot eliminating both of them.

Game ends when one side eliminated all opponents.


btw. do you know Konami Code?

blind-cowboys's People

Contributors

taeril avatar

Watchers

 avatar

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.