Classic video game revived with a new story, now available for your MySQL database.

Related tags

Game mysql-snake
Overview

mysql-snake

Classic video game revived with a new story, now available for your MySQL database.

A supermarket is giving out free buckets to visitors. Each receiver of a bucket shows their brand new pail to two friends, who naturally rush to the supermarket to get buckets of their own. Your task is to make sure nobody gets hurt as the entire town flocks to get their free bucket.

Fake testimonials

"Work has never been so fun." — Intern at some company

"What's up with our website?" — CEO at that same company

"Get a life." — Grandmother from Pihtipudas

How can I play?

Load the contents of bucket_game.sql into a MySQL database. Start the game loop by enabling the gameLoopEvent scheduled event. The game is initialized or restarted by calling the initGame stored procedure. gameLoopEvent is not automatically disabled when the game ends.

To change direction, set the direction column of the first row in the direction table to equal "UP", "DOWN", "LEFT", or "RIGHT".

How can I see what I play?

mysql-snake comes with a stored procedure, renderGame, that outputs the current game state represented with emojis in an UTF-8 string. renderGame can be used from any MySQL client, or with the snakeviewer program in this repository. To use snakeviewer, edit the connection information at the top of snakeviewer.c to fit where you want to connect, and then make && ./snakeviewer. snakeviewer calls renderGame 4 times per second and displays the result in a GTK TextView.

Dependencies

mysql-snake

MySQL 8.0 is required to run the game. MySQL 5.7 might work too but I have not tried it. A font with emojis is required to see the game.

snakeviewer

  • mysqlclient
  • gtk4
  • libbsd
Owner
Ville-Markus Yli-Suutala
Ville-Markus Yli-Suutala
GB Studio is a quick and easy to use retro adventure game creator for Game Boy available for Mac, Linux and Windows

GB Studio is a quick and easy to use retro adventure game creator for Game Boy available for Mac, Linux and Windows

Chris Maltby 6.3k Aug 6, 2022
C++17 exploration of a classic MUD like game

MUD++ - C++17 Simple MUD Engine MUD++ is a small attempt at building a C++17, modern version of a MUD server engine. Consider it half-serious (I wish

Joel Falcou 13 Jul 20, 2021
This is a list of different open-source video games and commercial video games open-source remakes.

This is a list of different open-source video games and commercial video games open-source remakes.

Ivan Bobev 95 Aug 8, 2022
Cute Framework (CF for short) is the cutest framework available for making 2D games in C/C++

Cute Framework (CF for short) is the cutest framework available for making 2D games in C/C++. CF comprises of different features, where the various features avoid inter-dependencies. In this way using CF is about picking and choosing which pieces are needed for your game

null 246 Jul 29, 2022
A clone of the classic QBasic Gorillas written in the Zig programming language

⚡ Zig Gorillas ?? A clone of the classic QBasic Gorillas written in the Zig programming language. Take turns in throwing an exploding banana at each o

Fabio Arnold 44 Jun 18, 2022
Minecraft Classic 0.0.30a reimplemented in C.

MinecraftC - A 0.0.30a implementation in C Features True to the original version Implemented fully in C using SDL2 and OpenGL 1.1 Two different binari

John Payne 193 Aug 10, 2022
Classic Tomb Raider open-source engine

Classic Tomb Raider open-source engine

Timur Gagiev 3.9k Aug 11, 2022
Minecraft Classic Clone in C

Minecraft Classic Clone in C This was my first large-scale OpenGL project. I've personally never used OpenGL, and so I apologize for any bizzare/slopp

null 2 Jan 25, 2022
Ncurses based omok game, execute omok game in your terminal

omok_game execute omok game in your terminal Omok game played by two people. 한국어 버전(korean version)

SunjungAn 2 Dec 6, 2021
This is 2048, the video game that was embodied in C language.

2048 This is 2048, the video game that was embodied in C language. How to use Main Page Operation keys Operation keys are used on the game page. △ - Y

이종민 1 Dec 31, 2021
MMORPG Video Game of the year 1999 created in Visual Basic 6.0 by Pablo Marquez (Morgolock)

Argentum Online C++ MMORPG Video Game of the year 1999 created in Visual Basic 6.0 by Pablo Marquez (Morgolock), this game is open source under the "G

Gastón Martínez 5 Jul 28, 2022
A video game I created for one of my CS classes.

Eclipse This is a video game I created for one of my CS classes. It game will run on Mac or Linux. Requirements This game requires that Mednafen be in

null 3 Dec 21, 2021
Perimeter is a real-time strategy video game with unique gameplay elements such as terraforming deformable terrain, morphing units, energy network, protective shield and surreal worlds.

Периметр | Perimeter About Perimeter is a real-time strategy video game with unique gameplay elements such as terraforming deformable terrain, morphin

null 402 Aug 6, 2022
Flexible, extensible, and scalable video game matchmaking.

Open Match is an open source game matchmaking framework that simplifies building a scalable and extensible Matchmaker. It is designed to give the game

GoogleForGames 2.6k Aug 11, 2022
Animation compression is a fundamental aspect of modern video game engines

Animation compression is a fundamental aspect of modern video game engines. Not only is it important to keep the memory footprint down but it is also critical to keep the animation clip sampling performance fast.

Nicholas Frechette 972 Aug 7, 2022
Improved version of the X-Ray Engine, the game engine used in the world-famous S.T.A.L.K.E.R. game series by GSC Game World.

OpenXRay OpenXRay is an improved version of the X-Ray Engine, the game engine used in the world-famous S.T.A.L.K.E.R. game series by GSC Game World. S

null 2k Aug 10, 2022
Stealthy way to hijack the existing game process handle within the game launcher (currently supports Steam and Battle.net). Achieve external game process read/write with minimum footprint.

Launcher Abuser Stealthy way to hijack the existing game process handle within the game launcher (currently supports Steam and Battle.net). Achieve ex

Ricardo Nacif 76 Jul 28, 2022
Game Boy, Game Boy Color, and Game Boy Advanced Emulator

SkyEmu SkyEmu is low level cycle accurate GameBoy, GameBoy Color and Game Boy Advance emulator that I have been developing in my spare time. Its prima

Sky 193 Aug 6, 2022
Simple Directmedia Layer, 1.2 branch ... ***DEPRECATED***, please use https://github.com/libsdl-org/SDL for new projects!

DEPRECATED The 1.2 branch of SDL is deprecated. While we occasionally collect fixes in revision control, there has not been a formal release since 201

Simple Directmedia Layer 38 Jul 25, 2022