2048.cpp - 🎃 Hacktoberfest is here! — 🎮 Terminal version of the game "2048" written in C++ 11

  •        29

Terminal version of the game "2048" written in C++. The game and code is natively made to run on the GNU/Linux and macOS platforms, but cross-platform compatibility for Windows has been added too.

https://github.com/plibither8/2048.cpp

Tags
Implementation
License
Platform

   




Related Projects

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.

2048-android - The android port of the 2048 game (for offline playing)

  •    Java

This is the android port of the 2048 game made by Gabriele Cirulli https://github.com/gabrielecirulli/2048 It's nothing fancy, just a webview that loads the locally stored html files of the original game. I just wanted to make it instantly playable without Internet (the app doesn't require any permissions) and with a quick access icon for my smartphone. Feel free to contribute with pull requests to the original project by Gabriele or to this one if you have any android specific improvements in mind.

2048 - 2048 Game with Kivy

  •    Java

This game has been created from the game 2048 by Gabriele Cirulli, itself based on 1024 by Veewo Studio conceptually similar to Threes by Asher Vollmer.. This implementation use only Kivy framework, and can be played on mobile with swipes or desktop with keyboard.

iOS-2048 - iOS drop-in library presenting a 2048-style game

  •    Objective-C

iOS drop-in library presenting a clean-room Objective-C/Cocoa implementation of the game 2048. The included sample app demonstrates the game. Simply tap the button to play. Swipe to move the tiles. For additional fun try tweaking the parameters in F3HViewController.


2048-ai - AI for the 2048 game

  •    C++

AI for the 2048 game. This uses expectimax optimization, along with a highly-efficient bitboard representation to search upwards of 10 million moves per second on recent hardware. Heuristics used include bonuses for empty squares and bonuses for placing large values near edges and corners. Read more about the algorithm on the StackOverflow answer. in a terminal. Any relatively recent C++ compiler should be able to build the output.

dao-2048 - 2048 game

  •    CSS

2048 game

swift-2048 - 2048 for Swift

  •    Swift

A working port of iOS-2048 to Apple's new Swift language. Like the original Objective-C version, swift-2048 does not rely upon SpriteKit. See the description for iOS-2048 for more information.

bash2048 - Bash implementation of 2048 game

  •    Shell

Bash implementation of popular 2048 game. Controlled with arrow keys.

RakNet - RakNet is a cross platform, open source, C++ networking engine for game programmers.

  •    C

------------------------------------------ See Help\swigtutorial.html Upgrading from version 3 ------------------------------------------ See 3.x_to_4.x_upgrade.txt Windows users (Visual Studio 2008 and 2010) ----------------------------------------- Load RakNet_VS2008.sln and convert if necessary.After the project conversion, if you encounter error MSB4006,follow the steps below to fix it:1. Open project properties2. Click on "Common Properties"3. Click on "Framework and References"4. Look

term2048 - :tada: 2048 in your terminal

  •    Python

term2048 is a terminal-based version of 2048. Then use arrow keys to move. Since version 0.2.1 VI keys (h,j,k,l) are also supported.

cpprestsdk - The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design

  •    C++

The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.For other platforms, install options, how to build from source, and more, take a look at our Documentation.

modern-cpp-features - A cheatsheet of modern C++ language and library features.

  •    

Many of these descriptions and examples come from various resources (see Acknowledgements section), summarized in my own words. Also, there are now dedicated readme pages for each major C++ version.

rang - A Minimal, Header only Modern c++ library for terminal goodies 💄✨

  •    C++

rang only depends on C++ standard library, unistd.h system header on unix and windows.h & io.h system headers on windows based systems. In other words, you don't need any 3rd party dependencies. rang is a single header-only library. Put rang.hpp in the include folder directly into the project source tree or somewhere reachable from your project.

ponder - C++ reflection library

  •    C++

V1 replaced Boost with C++11. V2 added Lua bindings. V3 refactored to remove some warts, ease future development, and re-add serialisation. API is evolving. Ponder is a C++ multi-purpose reflection library. It provides an abstraction for most of the high-level concepts of C++: classes, enumerations, functions, properties.

2048 - A small clone of 1024 (https://play.google.com/store/apps/details?id=com.veewo.a1024)

  •    CSS

A small clone of 1024, based on Saming's 2048 (also a clone). Anna Harren and sigod are maintainers for this repository.

BigShow1949 - iOS教学/各类知识点总结:运行时/贝塞尔曲线/水纹/粒子发射器/核心动画/渐变色/网络请求/按钮/标签/视图布局/视图效果/文字视图/表情键盘/旋转动画/2048/网易/微信/猿题库/阿里巴巴/设计模式/数据持久化/多次点击按钮/微信注册按钮/展开按钮/跑马灯/闪烁文字/球形滚动标签/自动布局标签/快播动态标签/水平滚动布局/瀑布流布局/浏览卡/半圆布局/滑动标题/抽卡效果/百度视图切换/领英动画/折卡效果/卡牌拖动翻页/滚动悬浮视图/侧滑形变效果/评分条/打印机特效/Masonry/生命周期/响应者链条/引导页/通知中心/抖动密码框/余额宝数字跳动/UIDynamic/碰撞行为/捕捉行为/推动行为/附着行为/动力元素行为/GCD/KVC&KVO/多继承/消息转发/二维码/MVC/MVP/MVVM/Router

  •    Objective-C

iOS教学/各类知识点总结:运行时/贝塞尔曲线/水纹/粒子发射器/核心动画/渐变色/网络请求/按钮/标签/视图布局/视图效果/文字视图/表情键盘/旋转动画/2048/网易/微信/猿题库/阿里巴巴/设计模式/数据持久化/多次点击按钮/微信注册按钮/展开按钮/跑马灯/闪烁文字/球形滚动标签/自动布局标签/快播动态标签/水平滚动布局/瀑布流布局/浏览卡/半圆布局/滑动标题/抽卡效果/百度视图切换/领英动画/折卡效果/卡牌拖动翻页/滚动悬浮视图/侧滑形变效果/评分条/打印机特效/Masonry/生命周期/响应者链条/引导页/通知中心/抖动密码框/余额宝数字跳动/UIDynamic/碰撞行为/捕捉行为/推动行为/附着行为/动力元素行为/GCD/KVC&KVO/多继承/消息转发/二维码/MVC/MVP/MVVM/Router

entt - Gaming meets modern C++ - a fast and reliable entity-component system (ECS) and much more

  •    C++

Consider it a work in progress. The whole API is also fully documented in-code for those who are brave enough to read it. Currently, EnTT is tested on Linux, Microsoft Windows and OS X. It has proven to work also on both Android and iOS. Most likely it will not be problematic on other systems as well, but has not been sufficiently tested so far.