More Related Content
Similar to Splunk Toronto User Group - Feb 2024 - Laser Range Game (20)
Splunk Toronto User Group - Feb 2024 - Laser Range Game
- 1. © 2020 SPLUNK INC.
Laser Range Game
Andrei Kastulin
Cloud Architect
Splunk Canada
Veronica Kastulin
2nd year Computer Science student
Toronto Metropolitan University
- 2. © 2020 SPLUNK INC.
What is Laser Range?
Laser Guns are cool!
• Hand-eye coordination practice.
• Individual or team competition.
• Player gets haptic feedback; sounds and light effects
with each shot.
• Each gun id is encoded in laser beam!
• Multiple game scenarios and missions.
Laser targets are fun too!
• Multiple modes and light effects!
• Interactive behavior based on what gun was
shooting.
• They flush with variety of colors.
• Orchestrated by Splunk.
Competitive shooting game
• We can use Splunk to run the game!
• Splunk Edge Hub as a game server
• Score analytics.
• Battery levels.
- 3. © 2020 SPLUNK INC.
Laser Range Game
Developed for Splunk User Group
2023 – Montreal and Toronto
Played in:
• Splunk Live SFO, NY, Toronto
• Splunk Gov Summit Washington
• User groups: Toronto, Vancouver
• BOTS: Montreal, Toronto
• Montreal User Group 2023
Over 600 people played !
Art of possible: Splunk as a game server!
- 4. © 2020 SPLUNK INC.
Discover the range!
GREEN TEAM GUNS
BLUE TEAM GUNS
TARGETS
SCORES
SPLUNK>
• 24 WIFI enabled laser targets.
• 6 WIFI enabled laser guns.
• All devices talk to Splunk via
EdgeHub and MQTT protocol.
• Metrics, Logs and Analytics.
• Target and gun status and scores
monitoring.
• Game orchestration via custom
Splunk Command.
- 5. © 2020 SPLUNK INC.
Anatomy of the game. What is inside?
Haptic
feedback
Battery charger
Buzzer
Drone Battery
Connector
+ ESP8266
LED Laser
OLED Display LED Indicator
LED Ring
Light
Sensor
+ ESP8266
- 6. © 2020 SPLUNK INC.
Splunk EdgeHub
Pub Sub Hub
Built-in sensors:
→ Temperature change detection
→ Light change detection
→ Vibration detection
Connection:
→ Ethernet
→ WIFI Wireless
Capabilities include:
→ Stream data into Splunk platform instance
→ Rugged monitoring for Edge infrastructures
→ Extensible capabilities to accelerate data-centric
solutions
Application in the Laser Range Game:
→ Used as a MQTT broker
→ Receives data from targets and streams it
into Splunk for score display and additional
analytics.
→ Runs GameBoss web application in Docker
container
- 7. © 2020 SPLUNK INC.
GameBoss
Java Web app
Mqtt Pub Sub
Splunk>
Targets
Guns
HEC
Architecture Diagram
Mqtt Pub Sub
- 8. © 2020 SPLUNK INC.
Laser Games: Get to know our laser shooting games!
Death Match
→ Shoot as many
targets before they go
out.
Target Jumper
→ Hit the random
jumping target as fast
as possible.
Capture
Territory
→ Take over as many
targets as possible by
changing their colour.
Virus
→ Kill the virus before
it spreads to all the
targets
KillSnake
→ Shoot all the
targets making up the
moving snake
- 9. © 2020 SPLUNK INC.
Game AnalyticsReal-time game scores tracking
- 11. © 2020 SPLUNK INC.
Game Operations Real-time device monitoring