https://github.com/jameszoft/sokoban
Implementing Sokoban in Ruby using Curses
https://github.com/jameszoft/sokoban
Last synced: over 1 year ago
JSON representation
Implementing Sokoban in Ruby using Curses
- Host: GitHub
- URL: https://github.com/jameszoft/sokoban
- Owner: JamesZoft
- Created: 2017-12-08T15:42:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-08T16:13:48.000Z (over 8 years ago)
- Last Synced: 2025-01-08T00:20:18.915Z (over 1 year ago)
- Language: Ruby
- Size: 602 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
You'll need Ruby installed.
This comes by default on Mac, and is easy to install on Linux.
https://www.ruby-lang.org/en/documentation/installation/
You also need to install sdl2:
On Mac:
brew install sdl2
On linux:
Please follow the instructions here: https://github.com/gosu/gosu/wiki/Getting-Started-on-Linux
As this game uses Curses to print text to the terminal, this will not work on
Windows unless you run it inside a terminal emulator, as windows' cmd.exe
is not a real terminal.
To run:
ruby play_sokoban.rb
in the command prompt.