Gwenhael Le Moine
|
630842effe
|
make get_pos more generic
|
2011-07-04 09:12:58 +02:00 |
|
Gwenhael Le Moine
|
5553ee3706
|
adjustments
|
2011-07-04 08:57:56 +02:00 |
|
Gwenhael Le Moine
|
a3cdd30291
|
bug no more
|
2011-07-04 08:36:14 +02:00 |
|
Gwenhael Le Moine
|
622a3334b7
|
comment
|
2011-07-03 23:06:22 +02:00 |
|
Gwenhael Le Moine
|
8240c631c7
|
add fixme
|
2011-07-03 23:05:31 +02:00 |
|
Gwenhael Le Moine
|
b7e495630c
|
restore nl before leaving
|
2011-07-03 23:04:12 +02:00 |
|
Gwenhael Le Moine
|
48f2cc5541
|
comment
|
2011-07-03 23:01:45 +02:00 |
|
Gwenhael Le Moine
|
9585ed44d3
|
introduce some naughtiness, use ncurses' KEY_ codes to define direction
|
2011-07-03 23:01:02 +02:00 |
|
Gwenhael Le Moine
|
73717a08a0
|
display a end-game message
|
2011-07-03 22:56:00 +02:00 |
|
Gwenhael Le Moine
|
02795db58a
|
indent
|
2011-07-03 22:39:58 +02:00 |
|
Gwenhael Le Moine
|
39e7222cf1
|
free options too
|
2011-07-03 22:38:40 +02:00 |
|
Gwenhael Le Moine
|
88129f01ea
|
remove useless call to display
|
2011-07-03 22:38:20 +02:00 |
|
Gwenhael Le Moine
|
6e21e84181
|
document
|
2011-07-03 22:38:00 +02:00 |
|
Gwenhael Le Moine
|
0e22f03d41
|
-l needs a lower limit too
|
2011-07-03 22:24:05 +02:00 |
|
Gwenhael Le Moine
|
d794acf4a4
|
upper limit for -l, starting from 1 ; number levels
|
2011-07-03 22:22:38 +02:00 |
|
Gwenhael Le Moine
|
a3da293035
|
dead code is dead
|
2011-07-03 22:13:41 +02:00 |
|
Gwenhael Le Moine
|
ce6cd3a726
|
there's no -v argument
|
2011-07-03 22:12:40 +02:00 |
|
Gwenhael Le Moine
|
b47723c590
|
add arguments parsing usgin getopt, -l to set the level, -b for no colors, -h for help, with --long options too
|
2011-07-03 22:12:17 +02:00 |
|
Gwenhael Le Moine
|
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
|
2011-07-01 19:29:23 +02:00 |
|
Gwenhael Le Moine
|
e5ea31e69e
|
not necessary anymore, see first line of star.c
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
|
2011-07-01 19:28:16 +02:00 |
|
Gwenhael Le Moine
|
81d4eca04b
|
beau
|
2011-07-01 19:21:02 +02:00 |
|
Gwenhael Le Moine
|
6cd428d31c
|
what do I care?
|
2011-07-01 19:14:35 +02:00 |
|
Gwenhael Le Moine
|
bcccd3dfb2
|
unused variable
|
2011-07-01 18:00:43 +02:00 |
|
Gwenhael Le Moine
|
1d92fb056f
|
more functional, store state in state
|
2011-07-01 17:59:38 +02:00 |
|
Gwenhael Le Moine
|
771f4ff155
|
comment about stdscr
|
2011-07-01 17:35:03 +02:00 |
|
Gwenhael Le Moine
|
9c50fdb739
|
count moves + change a bit the display
|
2011-07-01 17:31:01 +02:00 |
|
Gwenhael Le Moine
|
b25a90e024
|
protect the colors
|
2011-07-01 17:24:03 +02:00 |
|
Gwenhael Le Moine
|
6ffa3ef86d
|
with colors!
|
2011-07-01 17:22:14 +02:00 |
|
Gwenhael Le Moine
|
d20d0885b4
|
request load after moving to next level in case of victory
|
2011-07-01 17:11:15 +02:00 |
|
Gwenhael Le Moine
|
a5956feff1
|
selected actor is bold
|
2011-07-01 17:10:22 +02:00 |
|
Gwenhael Le Moine
|
6a36c45a6e
|
add next/prev level and reload functionalities
|
2011-07-01 17:04:23 +02:00 |
|
Gwenhael Le Moine
|
37f02c757d
|
forgot to break
|
2011-07-01 16:58:48 +02:00 |
|
Gwenhael Le Moine
|
10f64607e8
|
flexible count of levels
|
2011-07-01 16:57:19 +02:00 |
|
Gwenhael Le Moine
|
524e4d223d
|
go to next level when current one is won, number of level hardcoded
|
2011-07-01 16:50:37 +02:00 |
|
Gwenhael Le Moine
|
c8b4e33795
|
now with ncurses
|
2011-07-01 16:32:45 +02:00 |
|
Gwenhael Le Moine
|
a098bba42b
|
playable with ncurses, no level management
|
2011-07-01 16:32:15 +02:00 |
|
Gwenhael Le Moine
|
e0734e9cd8
|
oops + playable (sort of)
|
2011-07-01 15:57:33 +02:00 |
|
Gwenhael Le Moine
|
5726123ceb
|
x is a more readable symbol for gifts than *
|
2011-07-01 15:45:43 +02:00 |
|
Gwenhael Le Moine
|
c27494e73d
|
untabify
|
2011-07-01 15:36:55 +02:00 |
|
Gwenhael Le Moine
|
c5e974a15d
|
readabler (?)
|
2011-07-01 15:05:38 +02:00 |
|
Gwenhael Le Moine
|
6b7fb34084
|
.
|
2011-07-01 15:03:50 +02:00 |
|
Gwenhael Le Moine
|
639b9eda4b
|
use cell
|
2011-07-01 12:29:04 +02:00 |
|
Gwenhael Le Moine
|
11f804d1cf
|
add typedef'd enums, use direction's
|
2011-07-01 12:27:57 +02:00 |
|
Gwenhael Le Moine
|
0aea5112e4
|
beautify level strings
|
2011-07-01 12:19:23 +02:00 |
|
Gwenhael Le Moine
|
e2005d8b12
|
straight struct, no typedef
|
2011-07-01 11:55:06 +02:00 |
|
Gwenhael Le Moine
|
4fcfc251a1
|
comment hairy conditional + remove debug print
|
2011-07-01 11:53:51 +02:00 |
|
Gwenhael Le Moine
|
9b190a3bd5
|
free
|
2011-07-01 11:48:08 +02:00 |
|
Gwenhael Le Moine
|
c9a3b8a7a6
|
add a Makefile
|
2011-07-01 09:06:14 +02:00 |
|
Gwenhael Le Moine
|
6ae0b7dcbc
|
add all levels of the levelset
|
2011-06-30 18:03:36 +02:00 |
|
Gwenhael Le Moine
|
d8c2f3114f
|
phew, working...
|
2011-06-30 17:53:59 +02:00 |
|