Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VR Arcade

Welcome to VR Arcade, an interactive Virtual Reality project built in Unity. This project serves as a sandbox for various VR mechanics, physical interactions, and AI integrations, all housed within a central virtual arcade room.

Features & Mini-Games

The project utilizes the Unity XR Interaction Toolkit to provide smooth headset tracking, locomotion, and hand/controller interactions across several distinct experiences.

♟️ VR Chess against Stockfish

A fully playable, physically interactive chess game located in the main arcade room.

  • Stockfish AI: Uses the world-class Stockfish engine running as a background process to calculate moves.
  • Adjustable Difficulty: Configurable AI profiles ranging from beginner to Grandmaster (Levels 1-10), with adjustable search depths and think times.
  • VR Mechanics: Players can physically grab and place chess pieces. Illegal moves are automatically rejected, and the piece smoothly animates back to its original square.
  • Full Chess Rules: Fully supports castling, en passant, pawn promotion (with VR UI panels), and 50-move/threefold repetition draw detection.

🎳 Bowling Alley

A physical bowling simulator where players can grab, aim, and throw a bowling ball down the lane.

  • Dynamic Audio: The bowling ball plays realistic rolling sounds when moving across the floor and hit sounds upon colliding with pins.
  • Automatic Scoring: A live scoreboard tracks how many pins have been knocked down.
  • Quick Reset: A dedicated reset button clears the lane, respawns a fresh set of pins, and resets the score to zero.

❌⭕ Tic-Tac-Toe vs Minimax AI

A spatial version of the classic game.

  • Minimax Algorithm: The AI opponent uses the Minimax algorithm to ensure it never loses.
  • Physical Input: Players make their moves by physically colliding with the designated cubes on the board.
  • Auto-Reset: The game detects wins, losses, or ties and automatically resets the board after a brief delay.

🎯 Physics Experiments & Toys

  • Sticky Arrows: An archery-style physics script (stick.cs) that causes objects to freeze and stick perfectly to any surface they collide with, aligning to the surface normal.
  • Procedural Generation: A chessboard generator (board_maker.cs) that spawns the board piece-by-piece in a nanobot-style assembly animation.

Getting Started

  1. Requirements: Unity Editor (configured for VR development), a compatible VR Headset (e.g., Meta Quest), and the Oculus/XR Interaction Toolkit packages installed.
  2. Main Scene: Open Assets/Scenes/main.unity to explore the primary VR Arcade Room which houses the Chess and Bowling experiences.
  3. Prefabs: Additional games like Tic-Tac-Toe can be found in the Assets/prfaps folder and dropped into any scene.

Technologies Used

  • Unity Engine
  • Unity XR Interaction Toolkit
  • Meta Voice SDK / Oculus Integration
  • Stockfish Chess Engine (Executable integrated via standard I/O streams)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages