Skip to content
sokoban game with opengl/console interface
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
config
lib
spec
test
.gitignore
.rspec
.rspec.swp
Gemfile
README
Rakefile
sokobanrb.gemspec

README


project goals: 
to build a game framework dedicates for porting an existed game for enother environment.

possible interfaces:
opengl /console / web(rails) 

possible workflow:
the first step will be to MVC-ing your game.
the second step will be to build another interface for it (consider using one of the examples:sokoban, tictactoe , etc.. ).

the benefits:
after one build his game which is most commonly interface with only one environment,
he has the game engine! which is the big fish.

..with some little extra work, he/she should be able to build another interface for it.

- one shouldn't be familiar with opengl for succeeding with building an opengl interface for his/her game - because there will be minor changes to make, when using the built-in framework examples.







opengl?
-------
about using opengl with different versions of Ruby:
#######################################
#if ruby 1.9.1 :
#install the gem : ruby-opengl
#
#got problems?   
#read: http://rubygamedev.wordpress.com/2010/04/16/ruby-opengl-on-ruby-1-9/


#if ruby 1.9.2 :
#install the gem: ffi-opengl 
########################################

                                               
framework examples:
------------------------
to play the game: sokoban
1. run the framework with:
bin/openglit sokoban 
2. keys:
as arrows: 
##u##
#hjk#
to quit: press esc or  q 
                          


DISCLAIMER:
work is in progress !
Something went wrong with that request. Please try again.