Skip to content

lunatikub/lunatris

Repository files navigation

Lunatris

Build Status

Tetris Bot with AI.

Table of content

Getting Started

Prerequisites

We are using the Meson Build System to build lunatris project. Meson is an open source build system meant to be both extremely fast, and even more importantly, as user friendly as possible.

Getting Meson

Meson is implemented in Python 3, and requires 3.5 or newer. If your operating system provides a package manager, you should install it with that.

apt-get install python3 python3-pip
yum install python3 python3-pip

Ninja

Meson needs the ninja executable. It is a small build system with a focus on speed. You can use the version provided by your package manager if possible, otherwise download the binary executable from the Ninja project's release page.

apt-get install ninja
yum install ninja

Installing Meson with pip

You can use the following to install meson for your user and does not require any special privileges. This will install the package in ~/.local/, so you will have to add ~/.local/bin to your PATH.

pip3 install --user meson

Installing

Create a build directory by the simple following command from the root directory.

meson <build-dir-name>

Compile the lunatris project.

cd <build-dir-name>
ninja

Install the lunatris project.

cd <build-dir-name>
ninja install

Running the tests

To run all the tests.

cd <build-dir-name>
ninja test

Built with

  • googletest: google Test is a unit testing library for the C/C++ programming language.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is under a proprietary License - see the LICENSE file for details.

Releases

No releases published

Packages

No packages published