Commit graph

  • e939026242 add info panel displaying game's state Gwenhael Le Moine 2011-07-06 23:28:36 +0200
  • 5a24e218d1 put star in a div Gwenhael Le Moine 2011-07-06 23:13:25 +0200
  • 9ff67413b5 display_level builds a self-contained html part Gwenhael Le Moine 2011-07-06 23:08:41 +0200
  • aad2f4a3e0 displaying characters is optional and off by default Gwenhael Le Moine 2011-07-06 23:04:46 +0200
  • 3c79be7be4 OMG graphics!! Gwenhael Le Moine 2011-07-06 22:47:58 +0200
  • 469cae4bc1 remove Makefile Gwenhael Le Moine 2011-07-06 22:40:36 +0200
  • 8df8821c4f import ngstar themes Gwenhael Le Moine 2011-07-06 22:40:12 +0200
  • a8a9c607eb externalize css Gwenhael Le Moine 2011-07-06 22:39:48 +0200
  • 62f57ef3b6 remove debug ; small refactoring Gwenhael Le Moine 2011-07-06 18:03:47 +0200
  • ff61256dff increment distance Gwenhael Le Moine 2011-07-06 18:01:55 +0200
  • 912952c300 work on before_kata version Gwenhael Le Moine 2011-07-06 18:01:02 +0200
  • b80b182ad0 major refactor of star.rb Gwenhael Le Moine 2011-07-06 18:00:35 +0200
  • df26d55ad4 count distance. not moves Gwenhael Le Moine 2011-07-06 16:32:11 +0200
  • 250752603a add Todo list Gwenhael Le Moine 2011-07-06 13:51:06 +0200
  • f865fa5b20 add .gitignore Gwenhael Le Moine 2011-07-06 13:47:06 +0200
  • c9155cb341 grammar (?) Gwenhael Le Moine 2011-07-06 13:46:27 +0200
  • b0651c3261 same, moves -> distance_travelled Gwenhael Le Moine 2011-07-06 13:46:01 +0200
  • 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." Gwenhael Le Moine 2011-07-06 13:44:59 +0200
  • a8a00b2ec0 refactor get_pos to move result holder at the end of the parameters Gwenhael Le Moine 2011-07-06 13:38:26 +0200
  • f77ff767c9 alignment Gwenhael Le Moine 2011-07-05 13:46:17 +0200
  • 8eb840bb4c indentation Gwenhael Le Moine 2011-07-05 13:45:13 +0200
  • a5e70504df Chrom{e,ium} doesn't know for each -.- Gwenhael Le Moine 2011-07-05 11:37:15 +0200
  • 975cf4f6e1 fixed some jslint complaints Gwenhael Le Moine 2011-07-05 11:12:30 +0200
  • 98f5851b47 replace if by string.replace Gwenhael Le Moine 2011-07-05 10:39:56 +0200
  • c0d82707cc format_level using regexp replace (a bit over-the-top maybe) Gwenhael Le Moine 2011-07-05 10:14:15 +0200
  • 59108f4491 let's declare our variables Gwenhael Le Moine 2011-07-05 09:54:13 +0200
  • f5b2f1300d use for each Gwenhael Le Moine 2011-07-05 09:47:40 +0200
  • f3fce15101 [ "", "" ].join( '' ) is faster than "" + "" http://code.google.com/p/jslibs/wiki/JavascriptTips#Multiple_string_concatenation Gwenhael Le Moine 2011-07-05 09:45:14 +0200
  • f775d6ec8e single loop in format_level Gwenhael Le Moine 2011-07-05 09:32:38 +0200
  • 575f1b92f5 use [] instead of charAt() Gwenhael Le Moine 2011-07-05 09:18:27 +0200
  • 5275c5221e typo Gwenhael Le Moine 2011-07-04 21:18:20 +0200
  • bb2cee5dff removing an ugly switch by adding an ugly array :/ Gwenhael Le Moine 2011-07-04 21:17:14 +0200
  • f14b429b17 ; to amek js2-mode happy Gwenhael Le Moine 2011-07-04 21:10:44 +0200
  • 0eb514274b correct width of #blackboard Gwenhael Le Moine 2011-07-04 17:56:53 +0200
  • 1cb2bba63b center Gwenhael Le Moine 2011-07-04 17:54:17 +0200
  • 1153e88fd6 OMG with colors and ungodly slowliness Gwenhael Le Moine 2011-07-04 17:53:00 +0200
  • ff42619fcd refoctoring to have state always as first argument ; fix end of game test Gwenhael Le Moine 2011-07-04 17:23:22 +0200
  • 69c1e5d0f5 indentation Gwenhael Le Moine 2011-07-04 17:19:39 +0200
  • 56d0ef5335 old C code Gwenhael Le Moine 2011-07-04 17:19:22 +0200
  • b8af3517d8 add n and p to move among levels ; end of game alert Gwenhael Le Moine 2011-07-04 16:51:03 +0200
  • dfba38b71b set focus Gwenhael Le Moine 2011-07-04 16:43:20 +0200
  • 424a25cb26 import html5boilerplate Gwenhael Le Moine 2011-07-04 16:41:02 +0200
  • 103e17f838 fully functional Gwenhael Le Moine 2011-07-04 16:40:15 +0200
  • a692c31ba7 starting javascript version (for world domination) Gwenhael Le Moine 2011-07-04 16:11:42 +0200
  • e67b6382c7 explicit exit codes Gwenhael Le Moine 2011-07-04 10:39:00 +0200
  • a4130d1526 use exit Gwenhael Le Moine 2011-07-04 10:38:03 +0200
  • 88a5ca8e1c remove uselesss break Gwenhael Le Moine 2011-07-04 10:37:18 +0200
  • a738393ba6 fix passing item_coord ; check malloced pointers before using them Gwenhael Le Moine 2011-07-04 10:36:43 +0200
  • 373979459b one less malloc Gwenhael Le Moine 2011-07-04 10:33:46 +0200
  • 6dcb17eff3 add {} Gwenhael Le Moine 2011-07-04 10:30:56 +0200
  • 2206c6bb71 remove superfluous break Gwenhael Le Moine 2011-07-04 10:29:13 +0200
  • 38ebb91d8d remove unused variables Gwenhael Le Moine 2011-07-04 10:28:53 +0200
  • 86df23a64b typo Gwenhael Le Moine 2011-07-04 09:56:46 +0200
  • dd3f3558f7 unused --argument Gwenhael Le Moine 2011-07-04 09:56:22 +0200
  • dfdd3c9883 refined make_a_move to make the vector manipulation more visible Gwenhael Le Moine 2011-07-04 09:49:42 +0200
  • 630842effe make get_pos more generic Gwenhael Le Moine 2011-07-04 09:12:58 +0200
  • 5553ee3706 adjustments Gwenhael Le Moine 2011-07-04 08:57:56 +0200
  • a3cdd30291 bug no more Gwenhael Le Moine 2011-07-04 08:36:14 +0200
  • 622a3334b7 comment Gwenhael Le Moine 2011-07-03 23:06:22 +0200
  • 8240c631c7 add fixme Gwenhael Le Moine 2011-07-03 23:05:31 +0200
  • b7e495630c restore nl before leaving Gwenhael Le Moine 2011-07-03 23:04:12 +0200
  • 48f2cc5541 comment Gwenhael Le Moine 2011-07-03 23:01:45 +0200
  • 9585ed44d3 introduce some naughtiness, use ncurses' KEY_ codes to define direction Gwenhael Le Moine 2011-07-03 23:01:02 +0200
  • 73717a08a0 display a end-game message Gwenhael Le Moine 2011-07-03 22:56:00 +0200
  • 02795db58a indent Gwenhael Le Moine 2011-07-03 22:39:58 +0200
  • 39e7222cf1 free options too Gwenhael Le Moine 2011-07-03 22:38:40 +0200
  • 88129f01ea remove useless call to display Gwenhael Le Moine 2011-07-03 22:38:20 +0200
  • 6e21e84181 document Gwenhael Le Moine 2011-07-03 22:38:00 +0200
  • 0e22f03d41 -l needs a lower limit too Gwenhael Le Moine 2011-07-03 22:24:05 +0200
  • d794acf4a4 upper limit for -l, starting from 1 ; number levels Gwenhael Le Moine 2011-07-03 22:22:38 +0200
  • a3da293035 dead code is dead Gwenhael Le Moine 2011-07-03 22:13:41 +0200
  • ce6cd3a726 there's no -v argument Gwenhael Le Moine 2011-07-03 22:12:40 +0200
  • b47723c590 add arguments parsing usgin getopt, -l to set the level, -b for no colors, -h for help, with --long options too Gwenhael Le Moine 2011-07-03 22:12:17 +0200
  • a4ae3a6f83 that inssane sh'ism compile if necessary and run this .c file. Comes from http://stackoverflow.com/questions/12830/most-elegant-amusing-or-strange-code-one-liners/12907#12907 Gwenhael Le Moine 2011-07-01 19:29:23 +0200
  • e5ea31e69e not necessary anymore, see first line of star.c Gwenhael Le Moine 2011-07-01 19:28:16 +0200
  • 81d4eca04b beau Gwenhael Le Moine 2011-07-01 19:21:02 +0200
  • 6cd428d31c what do I care? Gwenhael Le Moine 2011-07-01 19:14:35 +0200
  • bcccd3dfb2 unused variable Gwenhael Le Moine 2011-07-01 18:00:43 +0200
  • 1d92fb056f more functional, store state in state Gwenhael Le Moine 2011-07-01 17:59:38 +0200
  • 771f4ff155 comment about stdscr Gwenhael Le Moine 2011-07-01 17:35:03 +0200
  • 9c50fdb739 count moves + change a bit the display Gwenhael Le Moine 2011-07-01 17:31:01 +0200
  • b25a90e024 protect the colors Gwenhael Le Moine 2011-07-01 17:24:03 +0200
  • 6ffa3ef86d with colors! Gwenhael Le Moine 2011-07-01 17:22:14 +0200
  • d20d0885b4 request load after moving to next level in case of victory Gwenhael Le Moine 2011-07-01 17:11:15 +0200
  • a5956feff1 selected actor is bold Gwenhael Le Moine 2011-07-01 17:10:22 +0200
  • 6a36c45a6e add next/prev level and reload functionalities Gwenhael Le Moine 2011-07-01 17:04:23 +0200
  • 37f02c757d forgot to break Gwenhael Le Moine 2011-07-01 16:58:48 +0200
  • 10f64607e8 flexible count of levels Gwenhael Le Moine 2011-07-01 16:57:19 +0200
  • 524e4d223d go to next level when current one is won, number of level hardcoded Gwenhael Le Moine 2011-07-01 16:50:37 +0200
  • c8b4e33795 now with ncurses Gwenhael Le Moine 2011-07-01 16:32:45 +0200
  • a098bba42b playable with ncurses, no level management Gwenhael Le Moine 2011-07-01 16:32:15 +0200
  • e0734e9cd8 oops + playable (sort of) Gwenhael Le Moine 2011-07-01 15:57:33 +0200
  • 5726123ceb x is a more readable symbol for gifts than * Gwenhael Le Moine 2011-07-01 15:45:43 +0200
  • c27494e73d untabify Gwenhael Le Moine 2011-07-01 15:36:55 +0200
  • c5e974a15d readabler (?) Gwenhael Le Moine 2011-07-01 15:05:38 +0200
  • 6b7fb34084 . Gwenhael Le Moine 2011-07-01 15:03:50 +0200
  • 639b9eda4b use cell Gwenhael Le Moine 2011-07-01 12:29:04 +0200
  • 11f804d1cf add typedef'd enums, use direction's Gwenhael Le Moine 2011-07-01 12:27:57 +0200
  • 0aea5112e4 beautify level strings Gwenhael Le Moine 2011-07-01 12:19:23 +0200
  • e2005d8b12 straight struct, no typedef Gwenhael Le Moine 2011-07-01 11:55:06 +0200