Submission to GitHub Game Off 2025

Overview

Grav Sync is a browser-based game built with p5.js that challenges players to synchronize gravitational waves under time pressure. The game features circular wave patterns that wrap around an animated Earth sprite, requiring precise parameter adjustments to achieve perfect wave alignment.

Game Concept

Players control gravitational wave parameters to match a target wave pattern with randomized frequency. The objective is to achieve constructive interference resonance by adjusting:

  • Amplitude: The height/intensity of the wave oscillations
  •  Frequency: The number of wave oscillations around the central Earth

The synchronization system weights frequency matching at 80% and amplitude matching at 20%, emphasizing the importance of frequency alignment.

Waves are rendered as concentric, radially oscillating rings around Earth using the mathematical formula:

r(θ) = r₀ + A · sin(n·θ + φ)

Where `r₀` is the base radius, `A` is amplitude, `n` is frequency, and `φ` is phase shift.

Controls

InputAction
W/SIncrease/decrease wave amplitude
A/DIncrease/decrease wave frequency
SPACEReset all parameters to initial values

Controls support both instant key presses and continuous input for fine-tuning.

Devlogs

  1. https://bstz.it/p/devlog-%231-gravsync/
  2. https://bstz.it/p/devlog-adding-dynamic-waves-and-animated-sprites-to-grav-sync/
  3. https://bstz.it/p/adding-interactive-cockpit-controls-to-grav-sync/


GitHub repository: https://github.com/basteez/grav-sync

Updated 3 hours ago
Published 7 days ago
StatusIn development
PlatformsHTML5
AuthorTiziano
GenrePuzzle
Made withp5.js
TagsSci-fi
Average sessionA few seconds
LanguagesEnglish
InputsKeyboard

Leave a comment

Log in with itch.io to leave a comment.