Zum Hauptinhalt springen
Intelligence View
⚡ tsecurity.de Intelligence

Solstice Crypt - Decrypt the Light

This is a submission for the June Solstice Game Jam What I Built A grid-based laser decryption puzzle where you rotate mirrors to route colored light through…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
CVE & Threat-Kontext · 8 Min. Lesezeit
Quelle: dev.to
Rubrik: Sichere Programmierung

This is a submission for the June Solstice Game Jam









What I Built




A grid-based laser decryption puzzle where you rotate mirrors to route colored light through portals, filters, and unstable "Solstice Drift" systems before the puzzle rearranges itself.




Solstice Crypt is a real-time optical decryption puzzle where players rotate mirrors to route and combine colored light beams through unstable grid systems. Built entirely in vanilla HTML/CSS/JS with zero dependencies, the game features 8 progressively challenging sectors, a Creative Lab level editor with shareable cipher codes, optic portals, wavelength filters, and a full procedural audio synthesizer.






How It Connects to the Theme



🌞 June Solstice - Light & Dark:

The core mechanic is light itself. Players manipulate beams of light across a dark grid. The signature "Solstice Drift" mechanic represents the instability of the solstice transition - certain mirror nodes automatically rotate over time, threatening to undo your carefully aligned paths. You must route active beams through drifting nodes to "lock" them in place with an Optical Lock, stabilizing light against encroaching darkness.



🏳️‍🌈 Pride - Color Synthesis:

The game's puzzle logic is built on additive color mixing - the physics of light itself. White light splits through prisms into Red, Green, and Blue. Players must then route and recombine these primary beams to synthesize secondary colors:




  • Red + Blue = Magenta

  • Red + Green = Yellow

  • Green + Blue = Cyan

  • All three = White



Each color is a bitwise flag (R=001, G=010, B=100), making the Pride spectrum a literal gameplay mechanic, not a cosmetic overlay.



💻 Alan Turing - Code-Breaking:

The entire UI is framed as a retro cryptographic terminal. Players "decrypt" each sector by solving optical logic gates. The narrative console displays Turing's quotes on computation and intelligence, contextualizing each puzzle as a code-breaking challenge. The grid itself functions like a physical Turing machine - deterministic, state-based, and solvable through systematic logic.







Video Demo




Screenshot



A visual walkthrough of all 8 sectors demonstrating: mirror rotation, prism splitting, color synthesis, portal tunneling, wavelength filtering, drift locking, and the Creative Lab level editor.








Code




GitHub Repository:







🌞 Solstice Crypt - Decrypt the Light 🏳️‍🌈



Solstice Crypt is a real-time, responsive optical decryption puzzle game built entirely in vanilla HTML5, CSS3, and JavaScript (ES Modules) with zero dependencies. The game is played inside a retro-futuristic terminal UI with gorgeous glassmorphic styling, glowing laser beams, CRT scanlines, and real-time audio synthesized procedurally using the Web Audio API.



Route and split colored light beams through a grid - using mirrors, prisms, portals, and filters - to match receiver requirements before the system drifts.





🎮 Play the Game






🧠 Core Gameplay Mechanics





  1. Optical Routing (Rotate Verb): Click or tap any highlighted grid tile to rotate it 90 degrees clockwise. This changes the direction of mirrors and splitter prisms.


  2. Color Decomposition (RGB Prisms): Guide white light into a prism to split it into its component wavelengths: Red, Green, and Blue.


  3. Additive…
















🚀 How to Play






Option 1: Run Locally






git clone https://github.com/kanyingidickson/SolsticeCrypt.git
cd SolsticeCrpty
npm install
npm run dev






Open the URL shown in terminal (typically http://localhost:5173/).






Option 2: Play Online




Live URL: https://kanyingidickson.github.io/SolsticeCrypt/







Controls





  • Click any highlighted tile to rotate it 90° clockwise


  • Arrow Keys to navigate the grid cursor


  • Space / Enter to rotate the selected tile


  • Goal: Route the correct color beam into each receiver


  • Watch the drift timer - lock drifting nodes before they rotate!

  • After completing Sector 08, unlock the Creative Lab to design your own puzzles









How I Built It






Tech Stack











































Layer Technology Why
Rendering HTML5 Canvas Zero-dependency 2D graphics
Logic Vanilla JavaScript (ES Modules) No framework overhead, instant iteration
Styling Vanilla CSS Glassmorphic terminal aesthetic with CRT scanlines
Audio Web Audio API Procedural sound synthesis - no audio files needed
Build Vite Fast dev server and production bundling
Fonts Google Fonts (Outfit + Share Tech Mono) Modern retro-futuristic typography





Core Engineering Decisions



1. Deterministic Raycasting Engine

The light propagation system uses an iterative BFS queue - not recursion - to trace every beam path. Each ray state is tracked as (x, y, dx, dy, color) in a visited set, which provides a hard guarantee against infinite reflection loops. The engine recalculates all beam paths on every single tile rotation, ensuring the player always sees a perfectly accurate, real-time simulation.



2. Bitwise Color Composition

Colors are represented as 3-bit flags:




RED   = 001 (1)
GREEN = 010 (2)
BLUE = 100 (4)






Mixing is a simple bitwise OR: RED | BLUE = 101 = MAGENTA. This makes color logic mathematically bulletproof - order-independent, idempotent, and immune to race conditions from overlapping beams.



3. Splitter Truth Table (Hardware Safeguard)

The prism/splitter component uses explicit CCW/CW vector rotation instead of nested function calls:




Input:  White Light (R=1, G=1, B=1)
Out1 (Left/CCW) → Red (001)
Out2 (Straight) → Green (010)
Out3 (Right/CW) → Blue (100)
Failsafe: Side-entry → Absorbed (High-Z)






4. Solstice Drift & Optical Lock

Driftable nodes rotate on a configurable timer. When any beam passes through a drifting node, it becomes "locked" - visually indicated by a green padlock icon and border shift. Locked nodes are immune to drift rotation but can still be manually rotated by the player. This creates the game's core tension loop: solve the puzzle AND maintain beam paths to prevent drift from undoing your solution.



5. Optic Portals

Portals are paired via a portalId channel system (Alpha, Beta, Gamma). When a beam enters a portal, it exits the matched partner portal traveling in the same direction. This enables non-linear puzzle layouts where beams can "quantum tunnel" across the grid.



6. Wavelength Filters

Filters use bitwise AND masking: incomingColor & filterColor. A Red filter (001) will strip Green and Blue from a White beam (111), passing only Red (001). This enables precise color isolation puzzles where players must route specific wavelengths through filtering gates.



7. Procedural Audio Synthesis

All audio is generated at runtime using Web Audio API oscillators:





  • Tile rotation → short square-wave click (800Hz → 100Hz, 50ms)


  • Console typewriter → randomized triangle-wave pips


  • Drift warning → sawtooth sweep (150Hz → 50Hz, 400ms)


  • Level complete → ascending C-major arpeggio (C4→E4→G4→C5→E5)


  • Ambient music → procedural pad chords (plays on by default)



No audio files. Zero asset overhead.



8. Creative Lab (Level Editor)

A full-featured level designer allowing players to:




  • Place all 8 element types (Emitter, Mirror, Splitter, Receiver, Wall, Portal, Filter, Empty)

  • Toggle between Design and Play modes for real-time testing

  • Auto-generate Base64 cipher share codes for puzzle distribution

  • Import other players' puzzles via cipher code

  • Built-in guide with element reference and a pre-loaded "Quantum Gateway" demo






Level Design Philosophy




































































Sector Name Purpose Mechanic
01 Solstice Dawn Teach the verb Mirrors only - click to rotate, guide beam to target
02 Turing's Prism Introduce decomposition Splitter breaks white into RGB components
03 Pride Synthesis Color combination Route Red + Blue into the same receiver = Magenta
04 Solstice Drift Controlled instability Drift timer + Optical Lock mechanic
05 Crypt-Breaker Mastery test All systems active: splitting + synthesis + drift
06 Quantum Tunnel Non-linear routing Optic Portals for beam teleportation
07 Spectral Sieve Precision filtering Wavelength Filters for color isolation
08 The Grand Solstice Final challenge 8×8 grid with all mechanics at maximum complexity
🛠 Creative Lab Player expression Design, test, and share custom puzzles


Each level introduces exactly one new concept. No information overload.









Prize Categories






🏅 Best Ode to Alan Turing



The game is structured as a cryptographic decryption exercise. Each sector is framed as a locked cipher that can only be "cracked" through systematic optical logic. The terminal UI displays Turing's own words:




"We can only see a short distance ahead, but we can see plenty there that needs to be done."




The grid itself functions as a physical computation machine - deterministic state transitions triggered by rotation inputs, with light beams acting as data signals flowing through logic gates (mirrors, splitters, receivers). The player isn't just solving a puzzle; they're operating a simplified Turing machine made of light.



The Creative Lab extends this further - players can design their own Turing-like optical circuits and share them as cipher codes, embodying Turing's vision of universal computation.






🏅 Best Google AI Usage



Developed entirely using the Antigravity IDE powered by Google AI. Gemini served as a "Game Jam Execution Director" throughout development:





  • Architecture Design: Used Gemini to stress-test multiple game concepts against strict jam-survival filters (Technical Stability, Cognitive Legibility, Attention Value, Expressive Depth) before writing a single line of code.


  • Engine Development: Gemini wrote and debugged the optical raycasting engine, including the cycle-detection system and bitwise color composition logic.


  • Feature Expansion: Gemini designed and implemented the Portal teleportation system, Wavelength Filter masking, and the full Creative Lab level editor with Base64 sharing.


  • Scope Control: Gemini actively pruned feature creep - rejecting secondary verb systems, unnecessary UI animations, and over-engineered level designs that would have jeopardized jam stability.


  • Bug Hardening: Gemini identified and fixed critical rendering bugs (missing beam path segments), unsolvable level layouts (receiver placement collisions), Level 8 autocomplete bug (mirror angle scrambling), and fragile splitter logic (replaced triple-nested rotation calls with a clean CCW helper function).


  • Test Suite: Gemini built an automated test runner (test_game.mjs) that brute-forces all mirror combinations to mathematically verify every level is solvable, plus unit tests for portals, filters, drift, and color composition.



The AI wasn't used as a code generator - it was used as a ruthless production engineer, ensuring every system survived simplicity pressure, debug pressure, and player confusion pressure.






Tags: #gamedev #indiedev #webdev #javascript #github #opensource #browsergames #gamedesign #indiegame #programming #creativecoding

Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:
✏️ Information ergänzen
🛡️ Versioniert via CMS-Revisions-Engine (Freigabe-Queue für Gäste)

💬 Topluluk tartışması ve yorumlar

🌐 Ana sohbete katıl

Tartışmayı başlat: Social Chat yayın akışı veya yukarıdaki ekleme formuyla uzman katkısı gönder.

🔍 CTI & Forensik

Siber Tehdit İstihbaratı ve Adli Bilişim

ATT&CK Gezgini · IoC Radarı · İstismar Kanıtları
MITRE ATT&CK Matrix Navigator
1 belegte Technik
T1110TA0006 · Credential Access
Brute Force
Mitigation: M1036 Account Use Policies
Quelle: Kontext-Klassifikation des Artikeltextes · Konfidenz 85%
MFA/Passkeys, sıkı hesap kilitleri ve şifre politikaları, giriş girişimleri.
Credential Access
CTI Threat Relationship Graph
Akteure · Techniken · Beziehungen
5 Knoten · 4 Relationen
CVE / Incident Threat Actor Software MITRE ATT&CK CWE Weakness IoC
Security Briefing Ücretsiz · Tek tıkla abonelikten çıkma

Zeka Digest - ücretsiz

Günlük en önemli güvenlik haberi · herhangi bir zamanda alınabilir

Community Rating & Social Proof
⭐ Okuyucu Puanı
–
Ø / 5.0
Hiçbir okuyucu henüz yorum yok
Bu makale yararlı mıydı?
0
Değerlendirmenizi gönderin
Detaylı değerlendirme (isteğe bağlı)
İçerik ve Kalite
Kaynak ve Güvenilirlik
Güncellik

İlgili Story Cluster & Kaynaklar (vector AI)

6 Cluster
19 Kaynaklar
Walmart's Black Friday deals are live — shop our top picks now
Latest from TechRadar 41 dakika önce
18 diğer kaynaklar
Latest from TechRadar40 dakika önceLive: Apple Black Friday deals — save on AirPods Pro 3, iPad 11-in, Apple Watch 12, AirTags & more WIRED45 dakika önceThe Best Early Black Friday MacBook Deals (2026) Latest from Windows Central45 dakika önceEssential Xbox Ally travel accessories drop their prices before Black Friday IT Security News42 dakika önceBeyond Black Friday: The Cyber Threats Retailers Need to Prepare for in 2026 Latest from TechRadar45 dakika önceBest Black Friday streaming deals from 99 cents: Apple TV, HBO Max, Paramount+, Peacock, and more CNET57 dakika önceThis Bissell Vacuum Tackles Tough Pet Hair and It’s Just $170 During the Black Friday Sales WIRED1 saat önceGPS Dog Collar for Less: Our Top Tested Picks From Fi’s Black Friday Sale (2026) Latest from Windows Central1 saat önceDell's excellent XPS laptops are up to 33% off in this early Black Friday sale WinFuture News1 saat önceBlack Friday bei VZMore: Bis 600 Euro Rabatt auf Power-Mini-PCs Latest from TechRadar1 saat önceThe best Black Friday turntable deals, as picked by an audio editor CNET12 gün önceUpgrade Your Home Security for Less. Score Up to 65% Off With These Black Friday Ring Deals Giga.de1 saat önceVor Black Friday zu viel bezahlt? Mit einem Trick könnt ihr doch noch sparen - Futurezone1 saat önceStreaming-Sticks zur Black Week: Mit diesen Deals sparst du bis zu 46 % t3n.de1 saat önceBlack Friday: Diese Samsung-Angebote bei Amazon und Media Markt lohnen sich netzwelt.de3 saat önceBlack-Friday-Kracher: Huawei-Smartwatch mit EKG für unter 150 Euro Golem.de1 saat önceAnzeige: Sony WH-1000XM6 Referenz-Kopfhörer am Black Friday zum Amazon-Bestpreis Macerkopf.de2 saat önceAmazon Black Friday: Apple Pencil, WISO Steuer 2027, Microsoft 365, iPhone 18 Cases und mehr Golem.de2 saat önceAnzeige: Fahrradcomputer von Garmin zum Black Friday reduziert bei Amazon
17 Kaynaklar
CVE-2026-99707 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 khugepaged collapse_file use after free
VulDB Updates 2 saat önce
16 diğer kaynaklar
VulDB Updates2 saat önceCVE-2026-99728 | Linux Kernel up to 7.3.4/7.4-rc1 Deferred Split Scan mm/huge_memory deferred_split_scan/deferred_split_folio race condition VulDB Updates2 saat önceCVE-2026-99715 | Linux Kernel up to 7.3.4/7.4-rc1 nvme-rdma nvme_rdma_queue_rq null pointer dereference VulDB Updates2 saat önceCVE-2026-99730 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 Filemap mm/filemap.c filemap_fault race condition VulDB Updates2 saat önceCVE-2026-99724 | Linux Kernel up to 7.3.4/7.4-rc1 NTFS ntfs_read_compressed_block out-of-bounds VulDB Updates2 saat önceCVE-2026-99725 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 CIPSO cipso_v4_delopt buffer overflow VulDB Updates2 saat önceCVE-2026-99735 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 MGLRU mm/mglru.c walk_pud_range/walk_pmd_range race condition VulDB Updates2 saat önceCVE-2026-99744 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 atl1c atl1c_clean_rfd length buffer overflow VulDB Updates2 saat önceCVE-2026-99746 | Linux Kernel up to 7.3.4/7.4-rc1 ASoC hda_sdw_bpt_close race condition VulDB Updates2 saat önceCVE-2026-99690 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 ocfs2 ocfs2_get_dentry_osb use after free VulDB Updates2 saat önceCVE-2026-99678 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 XFS xfs_iomap_write_direct integer overflow VulDB Updates2 saat önceCVE-2026-99680 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 XFS xfs_fs_map_blocks allocation of resources VulDB Updates2 saat önceCVE-2026-99688 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 sch_qfq net/sched/sch_qfq.c qfq_change_class use after free VulDB Updates2 saat önceCVE-2026-99679 | Linux Kernel up to 7.3.4/7.4-rc1 xfs xfs_iomap_write_unwritten allocation of resources VulDB Updates2 saat önceCVE-2026-99686 | Linux Kernel up to 6.18.63/7.3.4/7.4-rc1 vhost vhost_add_used_n_in_order integer overflow VulDB Updates2 saat önceCVE-2026-99697 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 memcontrol high_work_func use after free VulDB Updates2 saat önceCVE-2026-99685 | Linux Kernel up to 6.12.117/6.18.63/7.3.4/7.4-rc1 iommu/virtio viommu_probe use after free
Benzer katkılar
🔍 Verwandte News

Auch interessante Nachrichten Solstice Crypt - Decrypt the Light

Thematisch verwandte Begriffe: Solstice, Crypt, Decrypt, Light · 6 Treffer

Laden...

Videolar yükleniyor...

Laden...

Contributions yüklenir ...

Laden...

Videolar yükleniyor...

Laden...

Contributions yüklenir ...

Laden...

Videolar yükleniyor...

Laden...

Contributions yüklenir ...

Laden...

Videolar yükleniyor...

Laden...

Contributions yüklenir ...

Laden...

Videolar yükleniyor...

Yorumlar yüklenir..
Update to Update
Widgets & Topics
Loading widgets…
Nächster Beitrag