Commit graph

213 commits

Author SHA1 Message Date
Gwenhael Le Moine
089d294359
moved star.js to its own jsstar repo
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
2024-03-06 10:39:31 +01:00
Gwenhael Le Moine
523b1ee75a
tweaking 2024-03-05 22:25:09 +01:00
Gwenhael Le Moine
8f4af8e6ec
() => {} 2024-03-05 17:00:30 +01:00
Gwenhael Le Moine
204648e3a4
more plus cleaner 2024-03-05 16:55:09 +01:00
Gwenhael Le Moine
a9bf8fdb79
cleaning, dropping modernizr and jquery 2024-03-05 16:47:46 +01:00
gwenhael
a859c644b5 update repo url 2017-04-08 17:09:37 +02:00
Gwenhael Le Moine
e1c92e4475 beautify debugDisplay 2011-08-17 16:21:10 +02:00
Gwenhael Le Moine
4e433bbbdc cosmetics 2011-08-17 15:58:47 +02:00
Gwenhael Le Moine
ebb20523d2 functional engine 2011-08-17 15:49:00 +02:00
Gwenhael Le Moine
7023a5a879 (re)start work on Java (ultimately Android) version 2011-08-17 15:02:09 +02:00
Gwenhael Le Moine
cb0e7734c9 ignore .class 2011-08-17 15:01:45 +02:00
Gwenhael Le Moine
af1c37e377 more todo 2011-07-18 17:39:39 +02:00
Gwenhael Le Moine
4dad893e86 first characters of a CoffeeScript version 2011-07-18 17:38:12 +02:00
Gwenhael Le Moine
0b55fbcfaf JS version todo 2011-07-18 17:37:15 +02:00
Gwenhael Le Moine
67b58796fc parametrable theme 2011-07-16 14:33:18 +02:00
Gwenhael Le Moine
6cf00416fb cosmetics 2011-07-16 14:17:26 +02:00
Gwenhael Le Moine
18bdc16797 declare functions as var 2011-07-16 13:55:58 +02:00
Gwenhael Le Moine
c8611eb1af forgotten parameter 2011-07-16 12:45:13 +02:00
Gwenhael Le Moine
613b34eda7 load_sprites monkey-patch assets to put assets in it 2011-07-16 12:44:17 +02:00
Gwenhael Le Moine
6ae7f9fbbd uncouple switch_actor from its display part 2011-07-16 12:38:34 +02:00
Gwenhael Le Moine
56c25cdfb3 move back board update into make_a_move, it's still business, not view 2011-07-16 12:33:08 +02:00
Gwenhael Le Moine
62f88f1fd8 uncoupe move path finding from updating board and drawing 2011-07-16 12:30:27 +02:00
Gwenhael Le Moine
104918e0b8 path is an array 2011-07-16 11:47:34 +02:00
Gwenhael Le Moine
cc34d45d15 get_pos returns an array; use switch_actor on click 2011-07-16 11:44:36 +02:00
Gwenhael Le Moine
a97729493a we change state directly; save moves' path 2011-07-16 11:39:02 +02:00
Gwenhael Le Moine
127218e20a get rid of start_loop; refactor load_level 2011-07-15 21:26:08 +02:00
Gwenhael Le Moine
bcbfac8502 I reorganize and it's my joy 2011-07-15 20:57:55 +02:00
Gwenhael Le Moine
a9214894a1 void -> empty, second try 2011-07-15 12:28:25 +02:00
Gwenhael Le Moine
1a206770fe void is a js keyword 2011-07-15 12:23:33 +02:00
Gwenhael Le Moine
dcd0c7aaf3 add default 2011-07-15 11:51:09 +02:00
Gwenhael Le Moine
245475656f use jQuery() instead of $() 2011-07-15 11:29:36 +02:00
Gwenhael Le Moine
6e59e385ea order (and discipline) 2011-07-15 08:50:11 +02:00
Gwenhael Le Moine
bcda3f4b2a use keycodes as values for direction enum, simplifies the switch 2011-07-15 08:48:30 +02:00
Gwenhael Le Moine
2bd110a87b add optional level_index parameter 2011-07-14 13:10:52 +02:00
Gwenhael Le Moine
396cefca7d show final alert only once, stop handling event then 2011-07-14 12:57:51 +02:00
Gwenhael Le Moine
b7bb9f32d6 highlight the mysterious nature of the display bug 2011-07-14 12:48:57 +02:00
Gwenhael Le Moine
0a59d7ba9d display_level is called later anyway 2011-07-14 12:48:01 +02:00
Gwenhael Le Moine
7d2bf35c5a factorize event handling 2011-07-14 12:47:10 +02:00
Gwenhael Le Moine
257ff69520 factorized drawing cell on canvas 2011-07-14 10:47:17 +02:00
Gwenhael Le Moine
7113035f06 cosmetics 2011-07-14 10:41:10 +02:00
Gwenhael Le Moine
3e192ee910 move code around to try and make more sense 2011-07-14 10:37:24 +02:00
Gwenhael Le Moine
0534ab04a2 refactoring gone wrong (pulled too early) 2011-07-14 10:31:23 +02:00
Gwenhael Le Moine
d34666810a we know where to find the levels 2011-07-14 10:29:20 +02:00
Gwenhael Le Moine
435498c074 refoctoring II more 2011-07-14 10:28:36 +02:00
Gwenhael Le Moine
92ca178370 refactoring II in progress 2011-07-14 10:24:58 +02:00
Gwenhael Le Moine
f03dfbe4b2 refactoring II "moving things around" 2011-07-14 09:58:21 +02:00
Gwenhael Le Moine
0d07ddd09f move things around (it's getting late, time to stop fiddling with this pointlessly) 2011-07-13 23:00:02 +02:00
Gwenhael Le Moine
42baf07f03 encapsulate everything in initialize_a_star() 2011-07-13 22:57:02 +02:00
Gwenhael Le Moine
fb35f9a22c store dom container name into state 2011-07-13 22:55:43 +02:00
Gwenhael Le Moine
240233cc0e move sprites into state.board_infos + load_sprites() 2011-07-13 22:42:48 +02:00