Solving 2048 game using LEGO EV3 robot. This repository contains two projects:
- The game itself, coming with AI solver for the puzzle;
- Controller for an EV3-based robot.
- Original game idea and design – Italian web developer Gabriele Cirulli;
- LEGO Mindstorms EV3 API for .NET – Brian Peek, Clint Rutkas, Dan Fernandez;
- AForge.NET library.
2D visual game written in C++. It allows user to play the game, controlling the tiles with arrow keys. At any moment during the game you can turn on AI solver (based on alpha-beta pruning). Computer usually archives ~100000 points score.
The project contains C++ solving unit, which is used in C# robot control project. The unit should be build as standalone DLL for using in robot control.
C# desktop application, using LEGO EV3 .NET API for robot control. AForge.NET library is used for capturing images from camera and processing them. Digit recognition is based on simple pattern matching. It is assumed that «2048» is running on smartphone or pad. EV3 robot performs slides by fully rotating its motors (2 motors used).
These projects were developed as part of «Intellectual systems» course in Artificial intelligence and robotics lab, Institute of mathematics, mechanics and computer science named after I.I. Vorovich, Southern Federal University.