Skip to content

The goal of this project is to use a BeagleBone-Black as a joystick for the "Tetris-For-Terminal" game remotely, via TCP.

Notifications You must be signed in to change notification settings

pentalpha/remote-joystick-for-tetris

Repository files navigation

Remote Joystick for Tetris

Objective: To explore theoretical and practical aspects of sockets, modifying a Tetris game.

Actual game:

./tcp-controlled-game (more info. about it there)

Classic mode in tetris-on-terminal

Joystick:

./tcp-controller (more info. about it there)

Joystick on Beaglebone Black

Description:

In the previous project, Tetris-On-Terminal-BeagleBone-Version, we explored the use of GPIO and ADC on the BeagleBoneBlack, using threads and priorities. A joystick as implemented for a game running on the BBB. Now, the idea is to add new features, such as socket communication.

    1. The project has 2 programs, a client and a server;
    1. One is the game (server) and the other one, the joystick (client);
    1. Sockets: The communication between the programs, running on different machines, uses TCP sockets;
    1. The joystick uses Python 2, while the game is made in C++ and uses a class for sockets made in C++11;
    1. Threads are used both in the joystick and game to manage the communication. In the joystick, they are also used to read data from the analogic inputs;

About

The goal of this project is to use a BeagleBone-Black as a joystick for the "Tetris-For-Terminal" game remotely, via TCP.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published