Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jenspapenhagen/pigmess
Online Calucator for the boardgame Schweinerei
https://github.com/jenspapenhagen/pigmess
java lambda-functions mircoservice quarkus
Last synced: 1 day ago
JSON representation
Online Calucator for the boardgame Schweinerei
- Host: GitHub
- URL: https://github.com/jenspapenhagen/pigmess
- Owner: jenspapenhagen
- Created: 2021-12-26T15:18:29.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-11-16T06:14:20.000Z (4 days ago)
- Last Synced: 2024-11-16T07:20:10.720Z (4 days ago)
- Topics: java, lambda-functions, mircoservice, quarkus
- Language: Java
- Homepage:
- Size: 436 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# pigmess
Online Calucator for the game of dice "Schweinerei"The english Wikipedia:
https://en.wikipedia.org/wiki/Pass_the_Pigs![Plastikschweine, die als Würfel benutzt werden.](/images/Pig_dice.jpg?raw=true "Plastikschweine, die als Würfel benutzt werden.")
by Arjan Verweij - http://membres.lycos.fr/arjan/NEW DATASET:
DOI: [10.1080/10691898.2006.11910593](https://doi.org/10.1080/10691898.2006.11910593)
Raw frequencies|Black Pig Position|(Dot Up) |(Dot Down) |(Trotter)|(Razorback)|(Snouter)|(Leaning Jowler)|
|------------------|--------------------------------|---------------------------|----------|-----------|---------|----------------|
|**(Dot Up)** |573 |656 |139 |360 |56 |12 |
|**(Dot Down)** |623 |731 |185 |449 |58 |17 |
|**(Trotter)** |155 |180 |45 |149 |17 |5 |
|**(Razorback)** |396 |473 |124 |308 |45 |8 |
|**(Snouter)** |54 |67 |13 |47 |2 |1 |
|**(Leaning Jowler)**|10 |10 |0 |7 |1 |1 |(hint: these are only 5977 dice rolls, the missing result from 23 dice rolls are resulted in the two pigs touching each other)
OLD DATASET:
Es wurde zur Berechnung der Wahrscheinlichkeiten auf die Datengrundlage von:
„Schweinereien“ – Grundschüler untersuchen einen asymmetrischen Zufallsgenerator
SANDRA SCHNABEL, MARBURG & BERND NEUBERT, GIESSEN
zugegriffen.
![Screenshot](/images/schweinewahrscheinlichkeit.png?raw=true "Screenshot aus dem Paper.")Zum Starten:
```bash
./mvnw compile quarkus:dev
wget --header="Content-Type: text/json" http://localhost:8080/pigmess
```For getting this Response
```json
{
"points":1,
"rollFirst":"FEEDS_UP",
"rollSecond":"LAY_RIGHT"
}
```