A free and open-source clone of the puzzle game HuniePop using WebAssembly. https://mb2g17.github.io/fosspop/
Go to file
Matthew Barnes 51200cc058
continuous-integration/drone/push Build is passing Details
Change drone to ci in README
2023-02-12 18:09:12 +00:00
assets Changed max multiplier sound (+ gh deployment) 2021-10-01 22:08:31 +01:00
docs Changed max multiplier sound (+ gh deployment) 2021-10-01 22:08:31 +01:00
include Changed max multiplier sound (+ gh deployment) 2021-10-01 22:08:31 +01:00
public Added multiplier 2021-07-07 17:35:00 +01:00
src Changed max multiplier sound (+ gh deployment) 2021-10-01 22:08:31 +01:00
tests Add sound effects and SDL2_mixer 2021-09-30 00:18:00 +01:00
.drone.yml Updated drone.yml to install sdl2-mixer 2021-09-30 00:22:06 +01:00
.gitattributes Added rough sprites + git lfs 2021-02-19 22:12:34 +00:00
.gitignore Tweaked grid test cases 2021-06-18 11:52:59 +01:00
CMakeLists.txt Bump gtest version 2021-09-30 00:18:11 +01:00
Dockerfile.tests Add sound effects and SDL2_mixer 2021-09-30 00:18:00 +01:00
LICENSE Changed licence to AGPLv3 2021-10-17 16:26:53 +00:00
Makefile Restructured project (again) 2021-02-21 00:00:28 +00:00
README.md Change drone to ci in README 2023-02-12 18:09:12 +00:00
logo.png Improved readme 2021-07-08 19:18:04 +01:00
ss1.png Improved readme 2021-07-08 19:18:04 +01:00
ss2.png Improved readme 2021-07-08 19:18:04 +01:00

README.md

FossPop

Build Status Available on GitHub License: AGPL v3

Table of contents

About

This project is a watered-down, free-and-open-source (FOSS) clone of the game HuniePop, created to test the waters of Emscripten and WebAssembly.

This clone takes out all the dating aspects of HuniePop, leaving just the puzzle gameplay.

Demo

A demo of the game can be played on the GitHub Pages site.

Setup (Manual)

The prerequisites for this project are:

  • A C++ compiler (obviously)
  • CMake
  • Emscripten SDK
  • SDL2
  • SDL2_image
  • SDL2_mixer

Project

First, pull the repository, enter it, and create a folder to compile the project in.

> mkdir cmake_build
> cd cmake_build

To compile the project, run CMake on the 'src' folder and provide the Emscripten toolchain file path. Your path may differ, but generally, it's emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake.

> mkdir cmake_build
> cd cmake_build
> cmake ../src -DCMAKE_TOOLCHAIN_FILE=<Emscripten toolchain file path>

Now, simply make the project and point a HTTP server to the 'dist' folder.

> make all
> http-server dist

Unit Tests

First, pull the repository, enter it, and create a folder to compile the unit tests in.

> mkdir cmake_tests
> cd cmake_tests

To compile the unit tests, run CMake on the root of the project. No Emscripten toolchain files are required.

> cmake ..

Now, simply make the unit tests and run the executable.

> make all
> ./tests/FossPop_Tests

Setup (Docker)

Unit Tests

> docker build -t fosspop-tests -f Dockerfile.tests .
> docker run fosspop-tests

Images

Desktop

Screenshot 1

Mobile

Screenshot 2