[X] The "/vmpk/vmpk-0.2.5-setup.exe" file could not be found or is not available. Please select another file.

Share

More
Hangman for DOS/Linux Icon

Hangman for DOS/Linux

beta

by bigmike160


A GPLd hangman clone that runs in both dos and Linux, made to fulfill a project requirement in our Computer Programming class. It currently allows for hanging of different characters, and eventually 2 player mode in the future.


http://hangit.sourceforge.net





Separate each tag with a space.

Release Date:

2003-08-02

Topics:

License:

Ratings and Reviews

Be the first to post a text review of Hangman for DOS/Linux. Rate and review a project by clicking thumbs up or thumbs down in the right column.

Project Feed

  • DOS version is uploaded

    I finally got a cross-compiler for DJGPP working, so I can make DOS versions of this program from within Linux! Another example of the coolness that is Free software.

    posted by bigmike160 2290 days ago

  • File released: /hangit/hangit-0.7.0/hangit-0.7.0linux.tar.gz

    posted 2290 days ago

  • File released: /hangit/hangit-0.7.0/hangit-0.7.0dos.zip

    posted 2290 days ago

  • hangit hangit-0.7.0 file released: hangit-0.7.0dos.zip

    2003-06-29 Michael W. Olson <olsonm@bethelcollege.edu> * hangit: released as v0.7.0 * src/game.c (get_user_params): - new routine, replaces get_difficulty - wait for ENTER to be pressed (or ESC) and then set global vars based upon user entry - finally different drawings can be chosen (end_game): extend message-display ability * src/main.c (main): - new routine get_user_params will be called - now makes provision for commandline parameters, though nothing is done with them yet - removed all instances of 'hanglist' and 'hangchar' (process_params): new function will eventually handle commandline parameters (draw_graphics): needed to refresh hang_win 2003-06-28 Michael W. Olson <olsonm@bethelcollege.edu> * src/graphics.h: add prototypes for different figures * src/graphics.c (print_art): - add bounds check - new method of drawing stages (print_score): move score display back 4 spaces * src/main.c (init_hangit): use new LIVES_AVAIL const (make_screens): - adjust ascii window and coords - add hang_win window for easy display of gallows * src/defs.h (LIVES_AVAIL): new constant defining number of lives available * src/wordlist.c: removed debugging junk from wordlist defs 2003-05-28 Michael W. Olson <olsonm@bethelcollege.edu> * src/main.c: changed instances of __LINUX__ to ALLOW_RESIZING when dealing with portions of code that implemented resizing the screen * src/game.c: ditto * src/graphics.c: ditto * src/defs.h: ditto 2002-12-16 Michael W. Olson <mike@gnu.162036> * hangit: v0.6.0 released 2002-08-12 Michael W. Olson <mike@saved> * src/main.c: removed global var 'i' * src/*: indicated that a function took no parameters by putting 'void' in between the paretheses 2002-08-02 Michael W. Olson <mike@saved> * src/extutil.c (xfree): new function to safely free a var * src/graphics.c - got rid of 'screen' variable and used stdscr instead, which caused major change in the cose of other programs as well (init_curses): moved routine over from main.c (global_resize_screen): found the "one true" bit of code that finds the size of a terminal, taken from Ian Jackson's dpkg source * src/extutil.c: removed snprintf routine from this and all other files that used to require it. I realized that I had no real need of snprintf due to the impossibility of buffer overflow in my situation. 2002-02-01 Michael W. Olson <bigmike160@yahoo.com> * hangit: v0.5.3 released * src/game.c (get_difficulty): - centered screen - added SIGWINCH handling (diff_resize_screen): new function to resize screen * src/main.c (draw_graphics): removed duplicate line (game_resize_screen): new function to handle resize while playing game * src/graphics.c (global_resize_screen): new function, replaces 'resize_screen' (restore_terminal): pruned unnecessary code 2002-01-30 Michael W. Olson <bigmike160@yahoo.com> * src/extutil.c (get_rand): use '%' operator to trim range of random number instead of dividing 2002-01-12 Michael W. Olson <bigmike160@yahoo.com> * src/game.c (get_difficulty): no parameters needed now * src/main.c (handle_word): - put 'box' command here - refresh screen before calling get_difficulty 2002-01-11 Michael W. Olson <bigmike160@yahoo.com> * src/main.c: - added reinit_hangit to clear everything between games - successful test of 'play again' capability in DOS * hangit: v0.5.1 released 2002-01-09 Michael W. Olson <bigmike160@yahoo.com> * src/main.c: complete structure change, separated 'main' into many smaller functions 2002-01-07 Michael W. Olson <bigmike160@yahoo.com> * src/main.c: - changed all 'refresh' to 'doupdate' - added handler for SIGWINCH (screen resize). * src/graphics.c - add routine for resize_screen here 2001-12-10 Michael W. Olson <bigmike160@yahoo.com> * src/extutil.c: some cleanups, moved old snprintf to 'old.c' (strnlen): new func from Linux src (skip_atoi): ditto (number): ditto (vsnprintf): imported from Linux src to replace old one (snprintf): ditto * src/extutil.h: added prototypes * src/main.c (main): make individual test for word too large 2001-12-08 Michael W. Olson <bigmike160@yahoo.com> * hangit: sucessful builds in Linux and dos, releasing as v0.5.0 * src/graphics.c (print_underscores): free pointer * src/*.h: eliminated recursive behavior * src/extutil.c (fatal): detect if stdscr exists before calling 'restore_terminal' (getrand): make 'rand_init' static local instead of global (shandler): new function to handle signals * src/game.c: - changed all 'wrefresh' to 'wnoutrefresh' as suggested by tutorial - removed all 'echo' & 'noecho' commands as they are obselete * src/graphics.c (print_score): - Change comment style - Change buffers to not use malloc, since it is not necessary - Verify 'restore_terminal' sub (print_letter_list): - eliminate need for all_letters parameter - make buffer static to save time (print_score): why pass score? it's already global * src/main.c (main): - Fix letter_list re-implementation error - Add curses routines from the tutorial - Free up vars made by malloc - use strnlen to make sure word isn't too big for screen (__TEST__): add testing section for snprintf * hangit: v0.4.3 will not be released, changing version to 0.5.0 for development time * src/extutil.c (vsnprintf): - Fix '||' usage to '|' for flags - Not using malloc now * Makefile (install): Added man-handling <grin> * man/hangit.4: Add manpage for hangit * README (FUTURE): Tidy up the goal list * TODO: Made goals for v0.6.x 2001-12-02 Michael W. Olson <bigmike160@yahoo.com> * src/extutil.c: - Added 'vsnprintf' and 'snprintf' from glibc 2.2.4 source - Updated header requirements - Kept other snprintf declarations under 'NEED_OTHER_SNPRINTF' * src/extutil.h: Updated header requirements 2001-11-26 Michael W. Olson <bigmike160@yahoo.com> * hangit: v0.4.2 released * Makefile: - Pretty-up the commentary - Updated 'DOCS' list * README: Added 'FUTURE' message & goals 2001-11-23 Michael W. Olson <bigmike160@yahoo.com> * Makefile: - Gave up trying to be smart about clean building - Separated each buildable target - 'test' makes 'testit' exe, not 'test' (name conflict) - 'test' does not need -lcurses anymore * all_sources: - Changed all mention of __DEBUG__ to __TEST__ - Forced __TEST__ to not use 'curses.h' or 'graphics.h' 2001-11-03 Michael W. Olson <bigmike160@yahoo.com> * Makefile: - Added 'workin' and 'workout' targets. - Add stuff to junk - Tweak export and dist - Remove dependency on 'TOPDIR' - Everything rearranged - New method that checks for nonmatching targets - Refuses to compile .o files, why?? - Changed 'mrproper' to 'distclean' * .cvsignore: - Remove self from list - Added 'ltarget' to list * src/wordlist.c (find_word): Fixed early-truncation error (at last) by setting last=-1 2001-10-26 Michael W. Olson <bigmike160@yahoo.com> * hangit: v0.4.0 released * wordlist.c (choose_word) [__DEBUG__]: Correct number of parameters * graphics.c (restore_terminal): Added clear & refresh functions for dos * graphics.c (print_score): Got rid of '0' because it confused my snprintf routine Local Variables: mode:change-log End:

    posted 2291 days ago

  • hangit hangit-0.7.0 file released: hangit-0.7.0linux.tar.gz

    2003-06-29 Michael W. Olson <olsonm@bethelcollege.edu> * hangit: released as v0.7.0 * src/game.c (get_user_params): - new routine, replaces get_difficulty - wait for ENTER to be pressed (or ESC) and then set global vars based upon user entry - finally different drawings can be chosen (end_game): extend message-display ability * src/main.c (main): - new routine get_user_params will be called - now makes provision for commandline parameters, though nothing is done with them yet - removed all instances of 'hanglist' and 'hangchar' (process_params): new function will eventually handle commandline parameters (draw_graphics): needed to refresh hang_win 2003-06-28 Michael W. Olson <olsonm@bethelcollege.edu> * src/graphics.h: add prototypes for different figures * src/graphics.c (print_art): - add bounds check - new method of drawing stages (print_score): move score display back 4 spaces * src/main.c (init_hangit): use new LIVES_AVAIL const (make_screens): - adjust ascii window and coords - add hang_win window for easy display of gallows * src/defs.h (LIVES_AVAIL): new constant defining number of lives available * src/wordlist.c: removed debugging junk from wordlist defs 2003-05-28 Michael W. Olson <olsonm@bethelcollege.edu> * src/main.c: changed instances of __LINUX__ to ALLOW_RESIZING when dealing with portions of code that implemented resizing the screen * src/game.c: ditto * src/graphics.c: ditto * src/defs.h: ditto 2002-12-16 Michael W. Olson <mike@gnu.162036> * hangit: v0.6.0 released 2002-08-12 Michael W. Olson <mike@saved> * src/main.c: removed global var 'i' * src/*: indicated that a function took no parameters by putting 'void' in between the paretheses 2002-08-02 Michael W. Olson <mike@saved> * src/extutil.c (xfree): new function to safely free a var * src/graphics.c - got rid of 'screen' variable and used stdscr instead, which caused major change in the cose of other programs as well (init_curses): moved routine over from main.c (global_resize_screen): found the "one true" bit of code that finds the size of a terminal, taken from Ian Jackson's dpkg source * src/extutil.c: removed snprintf routine from this and all other files that used to require it. I realized that I had no real need of snprintf due to the impossibility of buffer overflow in my situation. 2002-02-01 Michael W. Olson <bigmike160@yahoo.com> * hangit: v0.5.3 released * src/game.c (get_difficulty): - centered screen - added SIGWINCH handling (diff_resize_screen): new function to resize screen * src/main.c (draw_graphics): removed duplicate line (game_resize_screen): new function to handle resize while playing game * src/graphics.c (global_resize_screen): new function, replaces 'resize_screen' (restore_terminal): pruned unnecessary code 2002-01-30 Michael W. Olson <bigmike160@yahoo.com> * src/extutil.c (get_rand): use '%' operator to trim range of random number instead of dividing 2002-01-12 Michael W. Olson <bigmike160@yahoo.com> * src/game.c (get_difficulty): no parameters needed now * src/main.c (handle_word): - put 'box' command here - refresh screen before calling get_difficulty 2002-01-11 Michael W. Olson <bigmike160@yahoo.com> * src/main.c: - added reinit_hangit to clear everything between games - successful test of 'play again' capability in DOS * hangit: v0.5.1 released 2002-01-09 Michael W. Olson <bigmike160@yahoo.com> * src/main.c: complete structure change, separated 'main' into many smaller functions 2002-01-07 Michael W. Olson <bigmike160@yahoo.com> * src/main.c: - changed all 'refresh' to 'doupdate' - added handler for SIGWINCH (screen resize). * src/graphics.c - add routine for resize_screen here 2001-12-10 Michael W. Olson <bigmike160@yahoo.com> * src/extutil.c: some cleanups, moved old snprintf to 'old.c' (strnlen): new func from Linux src (skip_atoi): ditto (number): ditto (vsnprintf): imported from Linux src to replace old one (snprintf): ditto * src/extutil.h: added prototypes * src/main.c (main): make individual test for word too large 2001-12-08 Michael W. Olson <bigmike160@yahoo.com> * hangit: sucessful builds in Linux and dos, releasing as v0.5.0 * src/graphics.c (print_underscores): free pointer * src/*.h: eliminated recursive behavior * src/extutil.c (fatal): detect if stdscr exists before calling 'restore_terminal' (getrand): make 'rand_init' static local instead of global (shandler): new function to handle signals * src/game.c: - changed all 'wrefresh' to 'wnoutrefresh' as suggested by tutorial - removed all 'echo' & 'noecho' commands as they are obselete * src/graphics.c (print_score): - Change comment style - Change buffers to not use malloc, since it is not necessary - Verify 'restore_terminal' sub (print_letter_list): - eliminate need for all_letters parameter - make buffer static to save time (print_score): why pass score? it's already global * src/main.c (main): - Fix letter_list re-implementation error - Add curses routines from the tutorial - Free up vars made by malloc - use strnlen to make sure word isn't too big for screen (__TEST__): add testing section for snprintf * hangit: v0.4.3 will not be released, changing version to 0.5.0 for development time * src/extutil.c (vsnprintf): - Fix '||' usage to '|' for flags - Not using malloc now * Makefile (install): Added man-handling <grin> * man/hangit.4: Add manpage for hangit * README (FUTURE): Tidy up the goal list * TODO: Made goals for v0.6.x 2001-12-02 Michael W. Olson <bigmike160@yahoo.com> * src/extutil.c: - Added 'vsnprintf' and 'snprintf' from glibc 2.2.4 source - Updated header requirements - Kept other snprintf declarations under 'NEED_OTHER_SNPRINTF' * src/extutil.h: Updated header requirements 2001-11-26 Michael W. Olson <bigmike160@yahoo.com> * hangit: v0.4.2 released * Makefile: - Pretty-up the commentary - Updated 'DOCS' list * README: Added 'FUTURE' message & goals 2001-11-23 Michael W. Olson <bigmike160@yahoo.com> * Makefile: - Gave up trying to be smart about clean building - Separated each buildable target - 'test' makes 'testit' exe, not 'test' (name conflict) - 'test' does not need -lcurses anymore * all_sources: - Changed all mention of __DEBUG__ to __TEST__ - Forced __TEST__ to not use 'curses.h' or 'graphics.h' 2001-11-03 Michael W. Olson <bigmike160@yahoo.com> * Makefile: - Added 'workin' and 'workout' targets. - Add stuff to junk - Tweak export and dist - Remove dependency on 'TOPDIR' - Everything rearranged - New method that checks for nonmatching targets - Refuses to compile .o files, why?? - Changed 'mrproper' to 'distclean' * .cvsignore: - Remove self from list - Added 'ltarget' to list * src/wordlist.c (find_word): Fixed early-truncation error (at last) by setting last=-1 2001-10-26 Michael W. Olson <bigmike160@yahoo.com> * hangit: v0.4.0 released * wordlist.c (choose_word) [__DEBUG__]: Correct number of parameters * graphics.c (restore_terminal): Added clear & refresh functions for dos * graphics.c (print_score): Got rid of '0' because it confused my snprintf routine Local Variables: mode:change-log End:

    posted 2291 days ago

  • Code committed

    bigmike160 committed patchset 19 of module hangit to the Hangman for DOS/Linux CVS repository, changing 28 files

    posted by bigmike160 2314 days ago

  • v0.7.0 released (multiple drawings to choose from, etc.)

    The highlights for this release are - multiple drawings to choose from (man, Tux the penguin, bill gate$, and a man from SCO, in honor of the recent lawsuit) - a brand new options screen with sensible defaults Problem: Since I'm currently _only_ using Linux, I still have to recompile gcc and binutils from scratch in order to build the dos versions of this program. In short: no dos version of the program has been posted yet. In a month's time, this should be corrected. If you have DJGPP, you could always build it from scratch, of course.

    posted by bigmike160 2314 days ago

  • Code committed

    bigmike160 committed patchset 18 of module hangit to the Hangman for DOS/Linux CVS repository, changing 1 files

    posted by bigmike160 2356 days ago

  • Code committed

    bigmike160 committed patchset 17 of module hangit to the Hangman for DOS/Linux CVS repository, changing 25 files

    posted by bigmike160 2356 days ago

  • Code committed

    bigmike160 committed patchset 16 of module hangit to the Hangman for DOS/Linux CVS repository, changing 10 files

    posted by bigmike160 2356 days ago

Rate and Review

Be the first person to add a text review.

Would you recommend this project?






<

Related Projects

Hangman for DOS/Linux Actions

Thanks for your rating!

Would you also like to write a review?





Skip Review