Gwenhael Le Moine
|
4053fcee3a
|
canvas work in progress
|
2011-07-13 18:17:38 +02:00 |
|
Gwenhael Le Moine
|
1323c934ba
|
pre-canvas, board_infos is global
|
2011-07-13 18:10:16 +02:00 |
|
Gwenhael Le Moine
|
ee96e8f271
|
refactor display code, only refresh changed elements
|
2011-07-13 16:49:47 +02:00 |
|
Gwenhael Le Moine
|
aa465179f8
|
one function initialize_a_star as the entry point
|
2011-07-13 16:45:02 +02:00 |
|
Gwenhael Le Moine
|
c2f5154137
|
emphasis on level's state
|
2011-07-13 16:31:47 +02:00 |
|
Gwenhael Le Moine
|
f1fb8acfde
|
add style for index.html proper
|
2011-07-13 16:25:31 +02:00 |
|
Gwenhael Le Moine
|
180e6cf156
|
head and foot
|
2011-07-13 16:25:15 +02:00 |
|
Gwenhael Le Moine
|
e9086f56e6
|
increase width of panels
|
2011-07-13 16:17:24 +02:00 |
|
Gwenhael Le Moine
|
59b0f96dd5
|
height known too
|
2011-07-13 16:15:08 +02:00 |
|
Gwenhael Le Moine
|
492595db8a
|
it's a div already
|
2011-07-13 16:11:23 +02:00 |
|
Gwenhael Le Moine
|
53f7834a90
|
the exact width is know
|
2011-07-13 15:45:27 +02:00 |
|
Gwenhael Le Moine
|
046fbf63fe
|
working on a ncurses Ruby version, not finished
|
2011-07-12 19:07:56 +02:00 |
|
Gwenhael Le Moine
|
84133b8ec4
|
check if level is over when playing by mouse
|
2011-07-12 19:05:21 +02:00 |
|
Gwenhael Le Moine
|
7aa6186c68
|
unalign
|
2011-07-12 18:17:13 +02:00 |
|
Gwenhael Le Moine
|
7b017fb2c8
|
refactor the code to make it a bit more readable
|
2011-07-12 18:16:42 +02:00 |
|
Gwenhael Le Moine
|
c4965fca1e
|
simplify on-click if{}
|
2011-07-12 18:05:52 +02:00 |
|
Gwenhael Le Moine
|
e106f42fc3
|
control the actor by mouse-clicks
|
2011-07-12 17:31:09 +02:00 |
|
Gwenhael Le Moine
|
7b77ed6a09
|
give focus in star.js
|
2011-07-12 16:46:04 +02:00 |
|
Gwenhael Le Moine
|
df5fd1535a
|
update todo
|
2011-07-11 09:08:06 +02:00 |
|
Gwenhael Le Moine
|
e31b3466e8
|
emphasis keys in help
|
2011-07-07 14:31:09 +02:00 |
|
Gwenhael Le Moine
|
9ef10bf62e
|
help on the left, board centered
|
2011-07-07 14:26:29 +02:00 |
|
Gwenhael Le Moine
|
9172550416
|
make this more readable
|
2011-07-07 14:23:35 +02:00 |
|
Gwenhael Le Moine
|
4de6c90c71
|
add help
|
2011-07-07 09:16:32 +02:00 |
|
Gwenhael Le Moine
|
834591a9d5
|
add 'r' key to reload the level
|
2011-07-07 09:10:00 +02:00 |
|
Gwenhael Le Moine
|
9d060fd25f
|
store the dom element where star will be displayed
|
2011-07-07 09:09:07 +02:00 |
|
Gwenhael Le Moine
|
3565772ffb
|
split css into themes files + common file
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
|
2011-07-07 08:45:51 +02:00 |
|
Gwenhael Le Moine
|
9ed8e81e0a
|
Merge branch 'master' of https://github.com/cycojesus/c-urs_-toil-s
|
2011-07-07 08:24:31 +02:00 |
|
Gwenhael Le Moine
|
99900da161
|
alignment
|
2011-07-06 23:42:40 +02:00 |
|
Gwenhael Le Moine
|
f5f24b4437
|
fix width of info panel
|
2011-07-06 23:30:16 +02:00 |
|
Gwenhael Le Moine
|
e939026242
|
add info panel displaying game's state
|
2011-07-06 23:28:36 +02:00 |
|
Gwenhael Le Moine
|
5a24e218d1
|
put star in a div
|
2011-07-06 23:13:25 +02:00 |
|
Gwenhael Le Moine
|
9ff67413b5
|
display_level builds a self-contained html part
|
2011-07-06 23:08:41 +02:00 |
|
Gwenhael Le Moine
|
aad2f4a3e0
|
displaying characters is optional and off by default
|
2011-07-06 23:04:46 +02:00 |
|
Gwenhael Le Moine
|
3c79be7be4
|
OMG graphics!!
|
2011-07-06 22:47:58 +02:00 |
|
Gwenhael Le Moine
|
469cae4bc1
|
remove Makefile
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
|
2011-07-06 22:40:36 +02:00 |
|
Gwenhael Le Moine
|
8df8821c4f
|
import ngstar themes
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
|
2011-07-06 22:40:12 +02:00 |
|
Gwenhael Le Moine
|
a8a9c607eb
|
externalize css
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
|
2011-07-06 22:39:48 +02:00 |
|
Gwenhael Le Moine
|
62f57ef3b6
|
remove debug ; small refactoring
|
2011-07-06 18:03:47 +02:00 |
|
Gwenhael Le Moine
|
ff61256dff
|
increment distance
|
2011-07-06 18:01:55 +02:00 |
|
Gwenhael Le Moine
|
912952c300
|
work on before_kata version
|
2011-07-06 18:01:02 +02:00 |
|
Gwenhael Le Moine
|
b80b182ad0
|
major refactor of star.rb
|
2011-07-06 18:00:35 +02:00 |
|
Gwenhael Le Moine
|
df26d55ad4
|
count distance. not moves
|
2011-07-06 16:32:11 +02:00 |
|
Gwenhael Le Moine
|
250752603a
|
add Todo list
|
2011-07-06 13:51:06 +02:00 |
|
Gwenhael Le Moine
|
f865fa5b20
|
add .gitignore
|
2011-07-06 13:47:06 +02:00 |
|
Gwenhael Le Moine
|
c9155cb341
|
grammar (?)
|
2011-07-06 13:46:27 +02:00 |
|
Gwenhael Le Moine
|
b0651c3261
|
same, moves -> distance_travelled
|
2011-07-06 13:46:01 +02:00 |
|
Gwenhael Le Moine
|
4018177e11
|
renamed s->moves into s->distance_travelled and change its meaning.
It makes more sense to me now, I can define the goal of the game as "collect all the gifts while travelling the least possible."
|
2011-07-06 13:44:59 +02:00 |
|
Gwenhael Le Moine
|
a8a00b2ec0
|
refactor get_pos to move result holder at the end of the parameters
|
2011-07-06 13:38:26 +02:00 |
|
Gwenhael Le Moine
|
f77ff767c9
|
alignment
|
2011-07-05 13:46:17 +02:00 |
|
Gwenhael Le Moine
|
8eb840bb4c
|
indentation
|
2011-07-05 13:45:13 +02:00 |
|