Code Monkey home page Code Monkey logo

coding-badly-relay's Introduction

Coding Badly Relay

This is the Coding Badly Relay Snake. Each episode of Coding Badly, a new guest works on the snake, adding their own code and strategies. At the end of that episode, it's handed on, for the next person.

The Relay snake started out as the Battlesnake Javascript Starter. Where will it end up?

Check below for the schedule!

Schedule

All shows are on the Battlesnake Twitch at 7pm UTC. Find your timezone.

Date Guest Final commit
3rd February coreyja
17th February masonegger
3rd March geeh
17th March nhcarrigan
7th April penelope_zone
21st April
5th May
19th May

Joining the show

Want to be a guest in the relay? Contact Joe or Kevin. Each guest will be building on the snake built in the show prior. You'll have approximately two weeks warning to know what terrible nonsense the last holder of the baton has gotten up to, to work out what you're going to do about it. Shows are live, broadcast on Twitch, via Streamyard. Every guest will be accompanied by at least one (usually both) of the hosts.

Coding Badly strives to be a low-pressure, fun environment to enjoy silly code that does useless things. That isn't to say we don't welcome good code, but it is to say that if this is your first time live coding on a stream, or your first time using Javascript, or your first time seeing Battlesnake: do not worry, this is the space for you.

All guests will be expected to abide by the Battlesnake Code of Conduct, both on air and in their submitted code.

Technologies Used (so far)

Handoffs

coreyja

We decided to do some WASM! We compiled the Battlesnake Rules repo, written in Go, to WASM and are including it in our node snake. We expose a Go function that can be used to check if a given set of moves will cause death for a starting board state. We return the elimination cause and an empty string implies that the snake survived.

To compile the Go source to a WASM file there is a go/build.sh script. Run this from the go subdirectory to compile the main.wasm file and copy the Go Exec JS file.

cd go
./build

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.