Git Product home page Git Product logo

42-wong_kar_wai's Introduction

42 wong kar wai

This project was carried out as part of the school 42. The objective is to recreate the game 2048 using the C language and the ncurses library.

2048 is a puzzle game in which the player combines numbered tiles to reach the 2048 tile and win. The game takes place on a 4x4 grid where new tiles appear after each move by the player. The player can move the tiles in four directions: up, down, left, and right. If two tiles with the same number collide during a move, they merge to form a tile with double the value.

Usage

Local

Ncurses is required โš ๏ธ

make run

Docker

make build_docker_image
make run_docker_container
2048

Controls

  • Use the arrow keys to move the tiles in the game.
  • Also, use the arrow keys to navigate through the menus.
  • Press the 'Enter' key to confirm a selection in the menus.
  • Press the 'ESC' key to quit the game at any time.

Demo

demo

42-wong_kar_wai's People

Contributors

tdameros avatar unrenardquidab avatar

Stargazers

 avatar

Watchers

 avatar

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.