Commit graph

  • 683deb85cc
    GPLv3 main Gwenhael Le Moine 2024-03-06 10:10:19 +0100
  • 656ba3570c tweaking Gwenhael Le Moine 2024-03-05 22:25:09 +0100
  • 3a895a6907 () => {} Gwenhael Le Moine 2024-03-05 17:00:30 +0100
  • 6803f76b8d more plus cleaner Gwenhael Le Moine 2024-03-05 16:55:09 +0100
  • b6abbc809d cleaning, dropping modernizr and jquery Gwenhael Le Moine 2024-03-05 16:47:46 +0100
  • 8af70ce896 update repo url gwenhael 2017-04-08 17:09:37 +0200
  • 3de7966666 parametrable theme Gwenhael Le Moine 2011-07-16 14:33:18 +0200
  • 4de9f3eaee cosmetics Gwenhael Le Moine 2011-07-16 14:17:26 +0200
  • 1f1c9d0413 declare functions as var Gwenhael Le Moine 2011-07-16 13:55:58 +0200
  • d7134f4d12 forgotten parameter Gwenhael Le Moine 2011-07-16 12:45:13 +0200
  • 8a75d360ef load_sprites monkey-patch assets to put assets in it Gwenhael Le Moine 2011-07-16 12:44:17 +0200
  • 067d34e65c uncouple switch_actor from its display part Gwenhael Le Moine 2011-07-16 12:38:34 +0200
  • 373942d2c6 move back board update into make_a_move, it's still business, not view Gwenhael Le Moine 2011-07-16 12:33:08 +0200
  • 474197210e uncoupe move path finding from updating board and drawing Gwenhael Le Moine 2011-07-16 12:30:27 +0200
  • 8e3b318f63 path is an array Gwenhael Le Moine 2011-07-16 11:47:34 +0200
  • 564b69bafc get_pos returns an array; use switch_actor on click Gwenhael Le Moine 2011-07-16 11:44:36 +0200
  • 285017b767 we change state directly; save moves' path Gwenhael Le Moine 2011-07-16 11:39:02 +0200
  • 9df46b1116 get rid of start_loop; refactor load_level Gwenhael Le Moine 2011-07-15 21:26:08 +0200
  • 48692bb974 I reorganize and it's my joy Gwenhael Le Moine 2011-07-15 20:57:55 +0200
  • 5558486992 void -> empty, second try Gwenhael Le Moine 2011-07-15 12:28:25 +0200
  • c7d47d1b3a void is a js keyword Gwenhael Le Moine 2011-07-15 12:23:33 +0200
  • fa45c0ef10 add default Gwenhael Le Moine 2011-07-15 11:51:09 +0200
  • 60cf9e5e6e use jQuery() instead of $() Gwenhael Le Moine 2011-07-15 11:29:36 +0200
  • a7c5401f21 order (and discipline) Gwenhael Le Moine 2011-07-15 08:50:11 +0200
  • 164fcec321 use keycodes as values for direction enum, simplifies the switch Gwenhael Le Moine 2011-07-15 08:48:30 +0200
  • e4c429209c add optional level_index parameter Gwenhael Le Moine 2011-07-14 13:10:52 +0200
  • b810ee1687 show final alert only once, stop handling event then Gwenhael Le Moine 2011-07-14 12:57:51 +0200
  • 3d5f3d40bb highlight the mysterious nature of the display bug Gwenhael Le Moine 2011-07-14 12:48:57 +0200
  • 4e626743a4 display_level is called later anyway Gwenhael Le Moine 2011-07-14 12:48:01 +0200
  • ffd321d323 factorize event handling Gwenhael Le Moine 2011-07-14 12:47:10 +0200
  • 3d34335f50 factorized drawing cell on canvas Gwenhael Le Moine 2011-07-14 10:47:17 +0200
  • 9efab8a024 cosmetics Gwenhael Le Moine 2011-07-14 10:41:10 +0200
  • 77b9939606 move code around to try and make more sense Gwenhael Le Moine 2011-07-14 10:37:24 +0200
  • 518657b121 refactoring gone wrong (pulled too early) Gwenhael Le Moine 2011-07-14 10:31:23 +0200
  • 6b513ed5ba we know where to find the levels Gwenhael Le Moine 2011-07-14 10:29:20 +0200
  • 64196217cf refoctoring II more Gwenhael Le Moine 2011-07-14 10:28:36 +0200
  • a8c9232a87 refactoring II in progress Gwenhael Le Moine 2011-07-14 10:24:58 +0200
  • efc86e6993 refactoring II "moving things around" Gwenhael Le Moine 2011-07-14 09:58:21 +0200
  • 0670cb375e move things around (it's getting late, time to stop fiddling with this pointlessly) Gwenhael Le Moine 2011-07-13 23:00:02 +0200
  • 032996dd52 encapsulate everything in initialize_a_star() Gwenhael Le Moine 2011-07-13 22:57:02 +0200
  • 1c7c308c60 store dom container name into state Gwenhael Le Moine 2011-07-13 22:55:43 +0200
  • 9f5c19ee36 move sprites into state.board_infos + load_sprites() Gwenhael Le Moine 2011-07-13 22:42:48 +0200
  • af2c04d08c move board_infos into state ; remove options Gwenhael Le Moine 2011-07-13 22:36:20 +0200
  • 1bb267f698 increase timeout before drawing first level Gwenhael Le Moine 2011-07-13 22:21:45 +0200
  • 6e485e4b50 cosmetics Gwenhael Le Moine 2011-07-13 22:19:35 +0200
  • 3b1a365518 canvas adjustements : . only draw full board when loading level . draw only part of the bord each move . or when switching actors . + various tweaks Gwenhael Le Moine 2011-07-13 22:17:50 +0200
  • 1733b5c531 no need of dummy value Gwenhael Le Moine 2011-07-13 21:37:57 +0200
  • fa413b05ec useless Gwenhael Le Moine 2011-07-13 21:29:40 +0200
  • 0a449ca776 comment Gwenhael Le Moine 2011-07-13 20:53:52 +0200
  • ec1a87eb06 use jQuery instead of getElementById Gwenhael Le Moine 2011-07-13 20:52:59 +0200
  • 540e7d1c02 beau Gwenhael Le Moine 2011-07-13 20:51:27 +0200
  • 355f66b8a1 remove debugging stuff Gwenhael Le Moine 2011-07-13 20:50:32 +0200
  • 27eadd30c8 remove unused css classes Gwenhael Le Moine 2011-07-13 20:48:37 +0200
  • 131c836aeb refactorign Gwenhael Le Moine 2011-07-13 20:27:10 +0200
  • 6b803219ca load star when document's ready Gwenhael Le Moine 2011-07-13 20:26:33 +0200
  • bbffd9444a if html skeleton hasn't been pushed in the DOM it's rather difficult to operate on #facepalm Gwenhael Le Moine 2011-07-13 20:18:39 +0200
  • e27392d803 FIXME: don't display board until the first move is played Gwenhael Le Moine 2011-07-13 18:38:28 +0200
  • 02cb44a000 now using canvas Gwenhael Le Moine 2011-07-13 18:34:03 +0200
  • 976b6a1f40 canvas work in progress Gwenhael Le Moine 2011-07-13 18:17:38 +0200
  • e8999bd386 pre-canvas, board_infos is global Gwenhael Le Moine 2011-07-13 18:10:16 +0200
  • 9f739c7f04 refactor display code, only refresh changed elements Gwenhael Le Moine 2011-07-13 16:49:47 +0200
  • bf7f37a683 one function initialize_a_star as the entry point Gwenhael Le Moine 2011-07-13 16:45:02 +0200
  • 1ce575bdeb emphasis on level's state Gwenhael Le Moine 2011-07-13 16:31:47 +0200
  • 2d4e27737c add style for index.html proper Gwenhael Le Moine 2011-07-13 16:25:31 +0200
  • 10694b3c5c head and foot Gwenhael Le Moine 2011-07-13 16:25:15 +0200
  • e85b06ccc0 increase width of panels Gwenhael Le Moine 2011-07-13 16:17:24 +0200
  • 2e49cb0cf2 height known too Gwenhael Le Moine 2011-07-13 16:15:08 +0200
  • 9fd9f0498b it's a div already Gwenhael Le Moine 2011-07-13 16:11:23 +0200
  • f9378153f2 the exact width is know Gwenhael Le Moine 2011-07-13 15:45:27 +0200
  • d98f692218 check if level is over when playing by mouse Gwenhael Le Moine 2011-07-12 19:05:21 +0200
  • 0415c35176 unalign Gwenhael Le Moine 2011-07-12 18:17:13 +0200
  • cf14f8fa8c refactor the code to make it a bit more readable Gwenhael Le Moine 2011-07-12 18:16:42 +0200
  • ce217fc216 simplify on-click if{} Gwenhael Le Moine 2011-07-12 18:05:52 +0200
  • 542eb3fcc4 control the actor by mouse-clicks Gwenhael Le Moine 2011-07-12 17:31:09 +0200
  • ed71c19619 give focus in star.js Gwenhael Le Moine 2011-07-12 16:46:04 +0200
  • 07b26c8e57 emphasis keys in help Gwenhael Le Moine 2011-07-07 14:31:09 +0200
  • 748a724b15 help on the left, board centered Gwenhael Le Moine 2011-07-07 14:26:29 +0200
  • 62e1b4c184 make this more readable Gwenhael Le Moine 2011-07-07 14:23:35 +0200
  • c398f18c38 add help Gwenhael Le Moine 2011-07-07 09:16:32 +0200
  • c5da8b640c add 'r' key to reload the level Gwenhael Le Moine 2011-07-07 09:10:00 +0200
  • f25dead85a store the dom element where star will be displayed Gwenhael Le Moine 2011-07-07 09:09:07 +0200
  • 2a7194de98 split css into themes files + common file Gwenhael Le Moine 2011-07-07 08:45:51 +0200
  • bc650ae7a0 alignment Gwenhael Le Moine 2011-07-06 23:42:40 +0200
  • 0097778ceb fix width of info panel Gwenhael Le Moine 2011-07-06 23:30:16 +0200
  • 55b659d678 add info panel displaying game's state Gwenhael Le Moine 2011-07-06 23:28:36 +0200
  • 098b744301 put star in a div Gwenhael Le Moine 2011-07-06 23:13:25 +0200
  • 38f4e81838 display_level builds a self-contained html part Gwenhael Le Moine 2011-07-06 23:08:41 +0200
  • b746e83909 displaying characters is optional and off by default Gwenhael Le Moine 2011-07-06 23:04:46 +0200
  • f7625fb704 OMG graphics!! Gwenhael Le Moine 2011-07-06 22:47:58 +0200
  • ee2ed49d7f remove Makefile Gwenhael Le Moine 2011-07-06 22:40:36 +0200
  • 1da5b7325c import ngstar themes Gwenhael Le Moine 2011-07-06 22:40:12 +0200
  • 043a496756 externalize css Gwenhael Le Moine 2011-07-06 22:39:48 +0200
  • 3479387310 same, moves -> distance_travelled Gwenhael Le Moine 2011-07-06 13:46:01 +0200
  • 1e35d4e313 alignment Gwenhael Le Moine 2011-07-05 13:46:17 +0200
  • 8e76404378 indentation Gwenhael Le Moine 2011-07-05 13:45:13 +0200
  • c71a6ecd6f Chrom{e,ium} doesn't know for each -.- Gwenhael Le Moine 2011-07-05 11:37:15 +0200
  • a3a7506099 fixed some jslint complaints Gwenhael Le Moine 2011-07-05 11:12:30 +0200
  • dcd895f1e0 replace if by string.replace Gwenhael Le Moine 2011-07-05 10:39:56 +0200
  • c372de0e76 format_level using regexp replace (a bit over-the-top maybe) Gwenhael Le Moine 2011-07-05 10:14:15 +0200
  • 1decb5d98b let's declare our variables Gwenhael Le Moine 2011-07-05 09:54:13 +0200