taeril / blind-cowboys Goto Github PK
View Code? Open in Web Editor NEWEntry for Gynvael's Winter GameDev Challenge 2017
Entry for Gynvael's Winter GameDev Challenge 2017
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.