Skip to content

Instantly share code, notes, and snippets.

@localhostdotdev
Last active May 3, 2019 21:29
Show Gist options
  • Save localhostdotdev/fbff0e91d1b2d66bfd6dadfe84e01ccb to your computer and use it in GitHub Desktop.
Save localhostdotdev/fbff0e91d1b2d66bfd6dadfe84e01ccb to your computer and use it in GitHub Desktop.

Revisions

  1. localhostdotdev revised this gist May 3, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion dream game.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    - there is a fixed width/height rectangle board
    - players are circles
    - every player start at size 10 let's say
    - when somebody goes off the board (player A) the last player (A) who touched player A gets half of its "weight" added
    - when somebody goes off the board (player B) the last player (A) who touched player B gets half of its "weight" added
    - perimeter is `pi * r**2`
    - so the new perimeter is `(pi * rA**2) + (pi * rB**2)/2`
    - new radius is `pi * r**2 = (pi * rA**2) + (pi * rB**2)/2`
  2. localhostdotdev revised this gist May 3, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion dream game.md
    Original file line number Diff line number Diff line change
    @@ -13,4 +13,4 @@

    artist's impression :)

    ![](https://i.imgur.com/GnQccnh.png)
    ![](https://i.imgur.com/GnQccnhm.png)
  3. localhostdotdev revised this gist May 3, 2019. 1 changed file with 9 additions and 5 deletions.
    14 changes: 9 additions & 5 deletions dream game.md
    Original file line number Diff line number Diff line change
    @@ -2,11 +2,15 @@
    - players are circles
    - every player start at size 10 let's say
    - when somebody goes off the board (player A) the last player (A) who touched player A gets half of its "weight" added
    - perimeter is pi * r**2
    - so the new perimeter is (pi * rA**2) + (pi * rB**2)/2
    - new radius is pi * r**2 = (pi * rA**2) + (pi * rB**2)/2
    - r = sqrt(((pi * rA**2) + (pi * rB**2)/2)/2)
    - perimeter is `pi * r**2`
    - so the new perimeter is `(pi * rA**2) + (pi * rB**2)/2`
    - new radius is `pi * r**2 = (pi * rA**2) + (pi * rB**2)/2`
    - `r = sqrt(((pi * rA**2) + (pi * rB**2)/2)/2)`
    - acceleration is proportional to weight (so the larger the slower)
    - when touching another player forces are distributed by weight (e.g. small player can't push large player much)
    - they are bots that can easily be killed
    - anybody can join/leave anytime
    - anybody can join/leave anytime

    artist's impression :)

    ![](https://i.imgur.com/GnQccnh.png)
  4. localhostdotdev created this gist May 3, 2019.
    12 changes: 12 additions & 0 deletions dream game.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    - there is a fixed width/height rectangle board
    - players are circles
    - every player start at size 10 let's say
    - when somebody goes off the board (player A) the last player (A) who touched player A gets half of its "weight" added
    - perimeter is pi * r**2
    - so the new perimeter is (pi * rA**2) + (pi * rB**2)/2
    - new radius is pi * r**2 = (pi * rA**2) + (pi * rB**2)/2
    - r = sqrt(((pi * rA**2) + (pi * rB**2)/2)/2)
    - acceleration is proportional to weight (so the larger the slower)
    - when touching another player forces are distributed by weight (e.g. small player can't push large player much)
    - they are bots that can easily be killed
    - anybody can join/leave anytime