Skip to content

mishalzaman/terminal-rpg-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tile Map in a Terminal

tile map game

  • Loads map data from a JSON file
  • Displays the map and tiles
  • Camera to display a portion of the map
  • Performs player collision detection
  • Saves player's current position to a file, and loads it

Future considerations

  • Add objects to interact with
  • Add enemies to fight

Setup

Ruby v2.4.6

To run the game, write the following command:

ruby game.rb

I tested this on a mac. It should work in a Windows Environment, but might be a bit slow. I only tested on a windows VM, so that could be it?

Controls

Player

w Up

d Right

s Down

a Left

Menu

tab Menu

w Up

s Down

enter Confirm action in menu

Quit

q Down

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages