about summary refs log tree commit diff stats
path: root/README.org
blob: 9069d8a5ab17047c46f2f8003efdc2f67e7c604d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#+title: Antlia
#+subtitle: Antlia is a text based Rock paper scissors game
#+export_file_name: index
#+setupfile: ~/.emacs.d/org-templates/projects.org

| Website         | https://andinus.nand.sh/antlia             |
| Source          | https://git.tilde.institute/andinus/antlia |
| GitHub (mirror) | https://github.com/andinus/antlia          |

* Demo

This was recorded with ~asciinema~.

[[https://asciinema.org/a/410736][https://asciinema.org/a/410736.png]]

+ Antlia v0.1.0: https://asciinema.org/a/410736

* Installation

Antlia is released to CPAN, you can get it from there or install it from
source. In any case, ~zef~ is required to install the distribution.

You can run Antlia without ~zef~. Just run ~raku -Ilib bin/antlia~ from
within the source directory.

** Release

1. Run ~zef install antlia~.

Antlia should be installed, try running ~antlia --version~ to confirm.

** From Source

You can either download the release archive generated by cgit/GitHub or
clone the project if you have ~git~ installed.

*** Without ~git~

1. Download the release:
   - https://git.tilde.institute/andinus/antlia
   - https://github.com/andinus/antlia/releases
2. Extract the file.
3. Run ~zef install .~ in source directory.

*** With ~git~

All commits will be signed by my [[https://andinus.nand.sh/static/D9AE4AEEE1F1B3598E81D9DFB67D55D482A799FD.asc][PGP Key]].

#+begin_src sh
# Clone the project.
git clone https://git.tilde.institute/andinus/antlia
cd antlia

# Install octans.
zef install .
#+end_src

* Documentation

** Implementation

Just enter the player names & it'll print each throw along with scores.
Press enter to play another round.

** Options

*** players

Number of players. Default is 2, should be an integer equal to 2.
Support for more than 2 players will be added later.

* News

** v0.1.0 - 2021-04-29

Initial Implementation