Skip to content

myumura/druby-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dRuby Maze Game

A real-time 3D multiplayer maze game built with Ruby, DRb, WebSocket, and Three.js. Players take on the roles of Hunters and Survivors in a thrilling chase game.

Game Rules

  • Survivors: Collect 3 keys(🔑) and escape through the exit point
  • Hunters: Catch survivors before they escape
  • Controls: Use arrow keys to move around the maze
  • Timer: 5-minute game sessions

Requirements

  • Ruby 3.4.0 or later
  • Bundler
  • Modern web browser with WebGL support

Installation

  1. Clone the repository:
git clone https://github.com/myumura/druby-game.git
cd druby-game
  1. Install dependencies:
bundle install

Running the Game

  1. Start the game server (DRb server on port 8787):
./bin/game_server
  1. In a new terminal, start the web server (port 4567):
bundle exec rackup
  1. Open your browser and navigate to:
http://localhost:4567

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •