Displaying 1 to 7 from 7 results

2048.c - Console version of the game "2048" for GNU/Linux

  •    C

You can move the tiles in four directions using the arrow keys: up, down, left, and right. All numbers on the board will slide into that direction until they hit the wall and if they bump into each other then two numbers will be combined into one if they have the same value. Each number will only be combined once per move. Every move a new number 2 or 4 appears. If you have a 2048 on the board you have won, but you lose once the board is full and you cannot make a move.

2048-ai - An simple AI for the 2048 game.

  •    Go

AI for the 2048 game, implements by expectimax search, powered by Go. Then, you can access http://localhost:8080/ from the browser.

vue-2048 - An implementation of the 2048 game using Vue 2. Living Demo

  •    Javascript

An implementation of the 2048 game using Vue 2. Living Demo

twenty48 - 2048 game on CLI

  •    Go

Use up, down, left and right arrow keys to play, and ESC to quit. The default grid size is 8x8 which can be changed be setting -width and -height flags.




2048-deep-reinforcement-learning - Trained A Convolutional Neural Network To Play 2048 using Deep-Reinforcement Learning

  •    Jupyter

2048 is a single-player sliding block puzzle game designed by Italian web developer Gabriele Cirulli. The game's objective is to slide numbered tiles on a grid to combine them to create a tile with the number 2048; however, you can keep playing the game, creating tiles with larger numbers. 2048 is played on a gray 4×4 grid, with numbered tiles that slide smoothly when a player moves them using the four arrow keys.Every turn, a new tile will randomly appear in an empty spot on the board with a value of either 2 or 4. Tiles slide as far as possible in the chosen direction until they are stopped by either another tile or the edge of the grid. If two tiles of the same number collide while moving, they will merge into a tile with the total value of the two tiles that collided. The resulting tile cannot merge with another tile again in the same move. Higher-scoring tiles emit a soft glow.

2048 - My take on the 2048 game in C#. Console version.

  •    CSharp

My take the 2048 game in C#. Console version. The implementation is pretty customizable. You can tweak the size of the canvas and the probabilities of 2s and 4s, etc. Just compile and run from console. Should work with both .NET and Mono.