Black Lives Matter For Linux

From LinuxReviews
Jump to navigationJump to search
Joystick-icon.png

Black Lives Matter For Linux is a exclusive original LinuxReviews-produced game that will turn your screen black for 8 minutes and 46 seconds in solidarity with the Marxist #blacklivesmatter movement. Our simple C implementation uses OpenGL to create a fine black screen. We are also offering a three line shell script implementation. The Windows version of this game available in the Steam store is a commercial product that is only available at a price. Our versions are free as in free software. Please enjoy.

written by 윤채경 (Yoon Chae-kyung)  2020-07-24 - last edited 2020-07-25. © CC BY

George floyd 2020-05-29.jpg
This "game" will create a fine black screen and show it to you for exactly eight minutes and forty six seconds in solidarity with drug addict George Floyd who, sadly, died in police custody after being held on the ground with a knee on his neck for that long.

The "Black Lives Matter" video game(?), available from the Steam store at $0.92 or 0,79€, is only available for the Windows platform. There is no Linux version. We decided to do something about that even though the "Black Lives Matter" game is not a very exciting game and it has mostly received very negative reviews on steam:

Black lives matter game floyd comment.jpg

Looted-store.jpg

We decided to re-implement this game using OpenGL and we are offering it to you as free software.

We proudly present to you the GNU/Linux version of the "Black Lives Matter" game:

File: blacklivesmatter.c
 1/*
 2 *  Copyright (c) 2020 https://linuxreviews.org/
 3 *  Free software available under the GNU GPL v3.
 4 *  Compile with:
 5 *  gcc -lGL -lglut -o blacklivesmatter blacklivesmatter.c
 6 */
 7
 8#include <GL/glut.h>
 9#include <unistd.h>
10#include <stdio.h>
11
12void crash(int time)
13{
14    sleep (time);
15    exit(0);
16}
17
18void display(void)
19{
20    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
21    glutSwapBuffers();
22}
23
24static void keyboardinput( unsigned char key, int x, int y )
25{
26    (void) x; (void) y;
27    switch (key) {
28        case ' ':
29        exit(0);
30        break;
31        case 27:
32        exit(0);
33        break;
34    }
35}
36
37int main(int argc, char **argv)
38{
39    /* Drug addict George Floyd was held on the ground for 
40     * 8 minutes and 46 seconds before he died in police 
41     * custody with "other significant conditions" such as
42     * "fentanyl intoxication" and "recent methamphetamine use" */
43    int sleeptime=((8*60)+46)*1000;
44    printf("Showing a black screen for 8 minutes and 46 seconds (%i)ms\n", sleeptime);
45    glutInit(&argc, argv);  
46    glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH);
47    glutCreateWindow("Black Lives Matter For Linux");
48    glutFullScreen();
49    glutDisplayFunc(display);
50    glutTimerFunc(sleeptime, crash, 0);
51    /* Allow users to quit by pressing esc or space
52     * even though that is cheating. */
53    glutKeyboardFunc(keyboardinput);
54    glutMainLoop();  
55    return 0;
56}

You can compile this fine game, if you save it to a blacklivesmatter.c file and you have gcc and the freeglut headers (gcc and freeglut-devel) installed, by using this very fine command:

gcc -lGL -lglut -o blacklivesmatter blacklivesmatter.c

You can now run and enjoy the "game"(?) with ./blacklivesmatter

The game will, as mentioned, turn your screen black for eight minutes and 46 seconds. This is what you can expect to see:

Black.png
The Black Lives Matter For Linux game will show you a black square like this one for 8 minutes and 46 seconds.

We have implemented a cheat in our version of the game: You can press space or esc to quit if you get impatient before the 526000 ms it waits until it exists are up.

We have made a binary with the OpenGL C implementation (which includes the source) available for your enjoyment:

We can, additionally, offer you this very fine shell script implementation:

File: blacklivesmatter.sh
1#!/bin/bash
2xset s activate
3# 8 minutes and 46 seconds
4sleep 5260s
5xset s off

The shell script implementation does not need to be compiled. You can simply copy-paste that into a file called blacklivesmatter.sh and make it executable with chmod u+x blacklivesmatter.sh and run it with ./blacklivesmatter.sh

You can donate using PayPal or digital currencies if you, for some reason we can't phantom, enjoyed playing this "game".

5.00
(one vote)


avatar

Anonymous (694cc65dfd)

27 months ago
Score 0
BLM niggers
avatar

Anonymous (4077023eb9)

18 months ago
Score 0

SOLVE THIS PUZZLE

N_____
avatar

Anonymous (e86b3a92f7)

5 months ago
Score 0
Fuck Niggers and Kikes
Add your comment
LinuxReviews welcomes all comments. If you do not want to be anonymous, register or log in. It is free.