Giter VIP home page Giter VIP logo

g2048's Introduction

g2048 is yet another implementation of the 2048 game.

Written by Marc-Antoine Perennou

Default theme by Hugo Mougard

Doge theme taken from doge2048

g2048 accepts 3 optional arguments, --theme name (defaulting to "default"), --size s (defaulting to 4) and --target t (defaulting to 2048).

g2048 will look for themes in two places: ~/.local/share/g2048/themes/ and /usr/share/g2048/themes/ and use the first matching the requested theme, fallbacking to default.

Provided themes are

default
doge

You can make your own theme (and maybe submit it here) in a very simple way:

create a folder inside one of the two main themes folder mentioned above
(the name of the folder is the name of the theme)
in this folder, create as many images as you can, respecting the correct naming convention
(there should be at least twelve of them).

All images should be 100x100 sized, and their name should be the value of the corresponding tile, with no extension. All basic image formats are supported (png, jpg, animated gif...).

By default, the needed tiles are 0 (empty), 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024 and 2048.

Steps to install it after cloning (skip the ./autogen.sh part if you're building it from a tarball):

./autogen.sh
./configure
make
sudo make install

g2048's People

Contributors

keruspe avatar m09 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

icodein

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.