Coder Social home page Coder Social logo

lsl's Introduction

Last Stick Loses

Introduction

Last Stick Loses is a pen-and-paper game where a pyramid of sticks is drown as the board

2 players take turns to strike out adjacent sticks. Each player must strike out at least one stick in each turn and she can strike as many as she wants as long as they are on the same row. The player who strikes the last stick loses the game.

Example

Board P1 Turn P2 Turn P1 Turn P2 Turn P1 Turn
I I I I I +
I I I I I I I + +-+ +-+
I I I I I I +-+-+ +-+-+ +-+-+ +-+-+
I I I I I +-+-+ I +-+-+ I +-+-+ I +-+-+ I +-+-+
P2 lost the game

This application

This project is an Erlang application that hosts a RESTful API through which you can play Last Stick Loses either against a machine (also coded in Erlang) or against another user.

Additional Goals

This project will also be used as an excercise for those candidates who want to work at Inaka

RESTful API

Check the documentation of the system's RESTful API in its own file.

Contact Us

For questions or general comments regarding the use of this library, please use our public hipchat room.

If you find any bugs or have a problem while using this library, please open an issue in this repo (or a pull request :)).

And you can check all of our open-source projects at inaka.github.io

lsl's People

Contributors

elbrujohalcon avatar euen avatar spike886 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.