Coder Social home page Coder Social logo

4obe4e's Introduction

Не се сърди, човече!

build status

Game rules

https://bg.wikipedia.org/wiki/Не_се_сърди,_човече

Mockups and Design

-0--1--2--3--4--5--6--7--8--9--0--1--2--3--4--5--6--7--8-
-1-                                                   -1-
-2-                     (D)(E)(1)   [B][B]            -2-
-3-                     (C)<F>(2)   [B][B]            -3-
-4-                     (B)<G>(3)                     -4-
-5-   [R][R]   (7)(8)(9)(A)<H>(4)(5)(6)(7)            -5-
-6-   [R][R]   (6)         <I>{B}{B}   (8)            -6-
-7-            (5){R}{R}   <J>{B}{B}   (9)            -7-
-8-   (1)(2)(3)(4){R}{R}               (A)(B)(C)(D)   -8-
-9-   (E)<F><G><H><I><J>         <J><I><H><G><F>(E)   -9-
-0-   (D)(C)(B)(A)               {G}{G}(4)(3)(2)(1)   -0-
-1-            (9)   {Y}{Y}<J>   {G}{G}(5)            -1-
-2-            (8)   {Y}{Y}<I>         (6)   [G][G]   -2-
-3-            (7)(6)(5)(4)<H>(A)(9)(8)(7)   [G][G]   -3-
-4-                     (3)<G>(B)                     -4-
-5-            [Y][Y]   (2)<F>(C)                     -5-
-6-            [Y][Y]   (1)(E)(D)                     -6-
-7-                                                   -7-
-0--1--2--3--4--5--6--7--8--9--0--1--2--3--4--5--6--7--8-

[ home ] { target } ( path ) < finish >

How to move:

  • [ home ] - Home positions, each piece has its own position. When a player draws 6, can take one piece out of start position and move it to their corresponding (1)
  • ( path ) - Shared positions, one player's pieces can stack on top of each other. Pieces move clockwise. If a piece lands on one piece of another player, the hit piece returns to its start position. If the target cell has more than one pieces, I cannot move my piece there. Once a full circle is performed, the piece turns from (E) to and further
  • < finish > - Safe zone, other players cannot enter the safe zone of a player. Pieces can stack on top of each other. If a player draws more than it takes to get to their corresponding { finish }, the piece cannot move.
  • { target } - Target positions, each piece has its own position. Once all the pieces of a player are here, they win the game.

Setup

Git flow

# NB: Assuming you are in the project folder
$ git status
$ git stage .
$ git commit -m"<message>"
$ git pull
$ git push

Pipenv

# NB: Assuming you are in the project folder
$ export PIPENV_VENV_IN_PROJECT=true
$ pip3 install --upgrade pip
$ pip3 install pipenv
$ pipenv --python /usr/bin/python3
$ pipenv sync --dev
$ pipenv shell

4obe4e's People

Contributors

vkantsev avatar mapto avatar lankata avatar luchesar avatar

Watchers

James Cloos 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.