?
Solved

C source code required

Posted on 2000-02-19
7
Medium Priority
?
554 Views
Last Modified: 2010-04-30
I am interested in programming a MS - DOS based game in the text mode (not in the graphics mode) using C programming language.

I have thought of programming "Nibbles" (this is a dos based game where a snake tries to crunch numbers from 1 to 9 at each level without hitting the walls or itself).
As the snake eats each number it's tail goes on increasing in length.

Rules:
1.  The snake can't hit it's own body.
2.  The snake can't hit the walls of the interface.

So what I need is a working source code of any game developed in C (in text mode graphics i.e.  80x25) which is similar nibbles so that I get a feel of it.

This game should make heavy use of data structures like link lists, queues, stacks, etc...

Please e-mail the source code to the following address

remie_antao@yahoo.com

Thank You.
0
Comment
Question by:Shylesh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +1
7 Comments
 

Author Comment

by:Shylesh
ID: 2538198
Urgent !!!
0
 
LVL 10

Expert Comment

by:paasky
ID: 2548336
Hi Shylesh,

See page (find text "Ring Worm")
http://www.onr.com/user/mitchell/code.html

There you can download a source of "worm game".

Hope this helps,
Paasky
0
 
LVL 2

Accepted Solution

by:
Resonance earned 225 total points
ID: 2608478
The Ring Worm example listed above is a VGAish game, from the description on the page, using the Allegro library.  Of greater use is probably the worm.c program from the BSD games collection.  It was written for unix curses, but is definitely a text mode interface.  The source for the entire BSD games collection can be found in a number of places, the one that comes to mind most quickly is in the bsdgames package that can be found on the Debian GNU/Linux website (http://www.debian.org, look through the packages)

Since that collection is fairly hefty, I've mailed a copy of just the worm segment (program and makefiles) to the address given.
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Expert Comment

by:AUTHORICED
ID: 2831058
i mailed u my version of nibbles/snake:
no unix, no VGA but a working DOS game in txt mode with C source ;] (code may be a bit dirty sometimes, but hell, it works)
(the 'game' itself can also be found at http://authoriced.cjb.net ->progsG)
enjoy (;p])
0
 
LVL 2

Expert Comment

by:Resonance
ID: 2831195
I'd just like you to know that I think you're pathetic.  This question was answered *months* ago, credit awarded, and only some bug has apparantly prevented it from being closed properly -- and when you find it, instead of contacting an administrator that it needs to be closed, you go for the off chance that it will be autoclosed again.
0
 

Expert Comment

by:AUTHORICED
ID: 2831396
*u really think i look at the date of a question or care about points? all i see here is a non-accepted answer, and if that is a bug how the * should i know that. all i want to do is try to help people okay so if u think thats pathetic so be it. im very very very vEry sorry;
greetings. Mr Pathetic.  
0
 
LVL 10

Expert Comment

by:paasky
ID: 2831992
I heard that Auto-Grader will be run today (testing it)... it has been off after EE moved their servers two months ago because the script was not working properly anymore.

Regards,
paasky
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are interested in the gaming world and want to try World of Warcraft, I'd recommend this basic set of add-ons to get you started.  All add-ons are available either by Google search or on Curse.com. For the person who doesn't want to get in…
For those of you searching for a fun but also medium paced MMORPG game I would highly suggest Ragnarok Online. This MMORPG is a bit older than World of Warcraft and in a way is extremely different. Compared to WoW's 3D environment and massive wor…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question