Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ceribe/memory-game
Memory game made in OCaml and Bogue
https://github.com/ceribe/memory-game
bogue game memory-game ocaml poznan-university-of-technology
Last synced: 21 days ago
JSON representation
Memory game made in OCaml and Bogue
- Host: GitHub
- URL: https://github.com/ceribe/memory-game
- Owner: ceribe
- License: unlicense
- Created: 2022-05-15T10:55:44.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-06-18T09:10:16.000Z (over 2 years ago)
- Last Synced: 2024-11-19T13:44:08.598Z (3 months ago)
- Topics: bogue, game, memory-game, ocaml, poznan-university-of-technology
- Language: OCaml
- Homepage:
- Size: 549 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Memory Game
![]()
## How to run
Instructions below are for Arch Linux, but it should work on most distributions.
### 1. Install Opam (OCaml Package Manager)
Installing Opam will also install OCaml as a dependency so there is no need to install it separately.
```bash
sudo pacman -S opam #Or equivalent command for your distribution
```During instalation you may be asked if you want to edit ~/.bash_profile. Select "yes". If you are not asked or you chose "no" then every
time before running "make" with a new terminal you will need to run the eval command listed below.### 2. Install Dune (OCaml Build System)
To compile you will need "ocamlfind" command which is in "ocaml-findlib" package. Dune depends on that package.
If you do not want to install dune then installing "ocaml-findlib" should be enough, but I recommend installing dune as it will create less possible
problems.```bash
sudo pacman -S dune
```### 3. Install [Bogue](https://github.com/sanette/bogue)
```bash
sudo pacman -S pkg-config
opam install bogue
```During installation you will be asked to install additional packages. Install them.
Afterwards restart terminal and run:```bash
eval $(opam config env)
```### 4. Compile
```bash
make
```### 5. Run
```bash
./memory
```