Skip to content

Commit

Permalink
working on finite algebra maker; added new magmas
Browse files Browse the repository at this point in the history
  • Loading branch information
alreich committed Jul 10, 2021
1 parent b17e579 commit a1a7815
Show file tree
Hide file tree
Showing 7 changed files with 1,018 additions and 341 deletions.
8 changes: 8 additions & 0 deletions algebras/rock_paper_scissors.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{"type": "Magma",
"name": "RPS",
"description": "Rock, Paper, Scissors Magma",
"element_names": ["r", "p", "s"],
"mult_table": [["r", "p", "r"],
["p", "p", "s"],
["r", "s", "s"]]
}
10 changes: 10 additions & 0 deletions algebras/rock_paper_scissors_lizard_spock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{"type": "Magma",
"name": "RPSZK",
"description": "Rock, Paper, Scissors, Lizard, Spock",
"element_names": ["r", "p", "s", "z", "k"],
"mult_table": [[0, 1, 2, 3, 4],
[1, 1, 2, 3, 1],
[2, 2, 2, 2, 4],
[3, 3, 2, 3, 3],
[4, 1, 4, 3, 4]]
}
Loading

0 comments on commit a1a7815

Please sign in to comment.