RSokoban 0.71

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc ADDED
@@ -0,0 +1,47 @@
1
+ = Welcome to RSokoban !
2
+
3
+ RSokoban is a clone of the famous {Sokoban game}[http://en.wikipedia.org/wiki/Sokoban].
4
+ I wrote this program just to improve my skills in Ruby. Currently, you can play only in a console
5
+ window.
6
+
7
+ #####
8
+ # #
9
+ #$ #
10
+ ### $##
11
+ # $ $ #
12
+ ### # ## # ######
13
+ # # ## ##### ..#
14
+ # $ $ ..#
15
+ ##### ### #@## ..#
16
+ # #########
17
+ #######
18
+
19
+ Enjoy the game.
20
+
21
+ == Documentation
22
+ Players can look at {the wiki}[https://github.com/lkdjiin/RSokoban/wiki].
23
+
24
+ Developpers can look at Level and Game.
25
+
26
+
27
+ == Dependancies
28
+ Ruby >= 1.9
29
+
30
+ == Installing RSokoban
31
+ Installing via a gem is easy.
32
+ Go to the RSokoban folder and build the gem :
33
+
34
+ gem build rsokoban.gemspec
35
+
36
+ Then install it :
37
+
38
+ gem install RSokoban-x-xx.gem
39
+
40
+ Now start playing :
41
+
42
+ rsokoban
43
+
44
+ == Questions and/or Comments
45
+ Feel free to email {Xavier Nayrac}[mailto:xavier.nayrac@gmail.com]
46
+ with any questions.
47
+
data/TODO ADDED
@@ -0,0 +1,34 @@
1
+
2
+ --- v0.71 ---
3
+
4
+ (done)CursesConsole
5
+ (done)--portable
6
+ (done)--curses (default)
7
+ (done)--help-output
8
+ (done)curses: level completed (yes/no) > y or n
9
+ (done)gem
10
+
11
+ wiki installing
12
+
13
+ wiki curses console
14
+
15
+ Picture must be a class
16
+
17
+ --- v0.90 ---
18
+
19
+ undo
20
+
21
+ --- v1.0 ---
22
+
23
+ --tk
24
+
25
+ skining
26
+
27
+ --- next ---
28
+
29
+ format fichier niveau xml (.slc)
30
+ --windows ?
31
+ --gnome ?
32
+ --kde ?
33
+ --fxruby ?
34
+ save, reload
data/bin/rsokoban ADDED
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ $LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'
4
+ $RSOKOBAN_DATA_PATH = File.expand_path(File.dirname(__FILE__) + '/../data')
5
+ require 'rsokoban'
6
+
7
+ option = Option.new
8
+
9
+ game = RSokoban::Game.new option[:ui]
10
+ game.run