GithubHelp home page GithubHelp logo

snakes-and-ladders's Introduction

Ships and Islands

Set up steps

-This is a variation on Snakes and Ladders.

-Start by choosing a username, logging in to a previously created username, or logging in as a guest.

-Choose your player piece, and how many tiles you want on the board.

Game Rules

-Your starting stamina is the number of tiles on the board - 1. Your points start at 0.

-However, you can trade stamina for points (1 for 1) during setup to start with more points.

-Moving forward subtracts stamina based on the numebr of tiles moved. Exploring an island uses 1 stamina.

-Resting recovers stamina by half the amount on the die, rounded down.

-Each turn you take (either exploring or resting) subtracts 1 point.

-When you explore an island, you may gain points, but you may also lose points. (Sometimes nothing happens at all!)

-If you run out of stamina before arriving at the final tile, you lose.

-If you arrive at the final tile, you get to keep your score.

Running locally

-This is a pretty standard React Node application, though it is using Vite for the Dev server. Clone, install dependencies, and use 'npm run dev' to run locally.

-In your .env file, put in the following for your DB: --PG_USER=The DB user name --PG_PASS=The DB Password --PG_PORT=The DB port --PG_DB=The DB name --PG_HOST=The DB Host

snakes-and-ladders's People

Contributors

takodakko 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.