NCurses (PDCurses) Zombies game

I found the source code for a small game here: http://pastie.org/3001157
The code didn't work for me - it displayed "You lost" right away after the main menu.

I spent quite some time trying to re-write the game in a better way and hopefully fix that bug. I couldn't do it... Eventually I messed up quite a bit of things, but I think whatever I wrote is easier to fix than the original code.

Here it is: http://pastie.org/7828209 (There's too much code to paste it directly)

I added quite a lot of comments. Can anyone help me fix this game?

To-do list:
- Fix zombies not spawning correctly. (which causes the "You lost" right away)
- Fix the map, which is not displayed correctly. (Crazy symbols appear on the bottom)
- Overall improvements.
Last edited on
Topic archived. No new replies allowed.