The Sandwiches game, or JDB (Juego De los Bocadillos, in spanish), is an ability 2D game where the player have to combine multiple tools in order to remove the dangers that travel on delicious sandwiches. Background
JDB's story focuses on Jacob, a young boy and its ambition to get a world record: eating the most sandwiches never seen, thanks to a giant grinder he has just built. The only problem is that in his rush for glory, our hero has made the sandwiches in the garage. No one can imagine what disagreeable surprises could have been added to the sandwiches!
As our hero's best friend Marcos, your mission with consist in removing all the threats from the sandwiches before they get the grinder and damage the protagonist, preventing him from archieve victory.
The action in The Sandwiches game focuses on the conveyor belt carrying the dangers-infected sandwiches to the giant grinder and our hero. The player will have to combine multiple tools in order to remove the dangers from the sandwiches before they get to the giant grinder and damage his/her best friend.
There is a total of 4 tools for player to combine them and remove dangers.
- Hand
- Extinguisher
- Lighter
- Gavel
- See dangers.md for a complete list.
The Sandwiches games has two game modes: campaign and survival.
-
Campaign mode consists of a sequence of levels with time limit. In order to win, the player must prevent Jacob from dying before archieving his goal. Level after level, new dangers will make things more difficult.
-
In survival mode the player will have to protect Jacob as long as possible. Like in campaign mode, new dangers will appear to increase difficulty.
-
Open a terminal and clone the last version of this repository.
git clone https://github.com/moisesjbc/sandwiches-game.git
-
Enter into the project's directory.
cd sandwiches-game
-
Build dependencies using the script provided.
./build_deps_ubuntu_14_04_x86_64.sh
-
Build and install the game.
cmake . sudo make install
-
Run the game and enjoy!
sandwiches-game
Currently I buid The Sandwiches Game for Windows from Ubuntu using MXE
-
Open a terminal and clone the last version of this repository.
git clone https://github.com/moisesjbc/sandwiches-game.git
-
Enter into the project's directory.
cd sandwiches-game
-
Build dependencies using the script provided.
./build_deps_win32_from_ubuntu.sh
-
Build and install the game.
i686-w64-mingw32.static-cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_USING_MXE=1 . sudo make install
-
Run the game from Windows or using Wine
wine bin/sandwiches-game.exe
This repository comes with a Dockerfile for building a Docker image for continuous integration. This image includes all the required packages and dependencies for building The Sandwiches Game.
To build the image, run the following on the top directory of the repository:
sudo docker build -t moisesjbc/ubuntu-base-for-sandwiches-game:0.1 .
Those third-party dependencies not installed from repository are present in the directory /opt/third-party in the Docker image.