• Advertisement

Archived

This topic is now archived and is closed to further replies.

Source Code for simple games

This topic is 5994 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

This may be a rather silly question, but bear in mind that I am relatively new to Linux and programming (about 4 months on each.) Where do I find the source code for the X-Windows based games on my system (assuming it was loaded with the install.) I am interested in following the basic outline that was set forth in the "How do I make a game tutorial" of starting with Tetris and Breakout clones, but I would like to have something to compare my work to as I go.

Share this post


Link to post
Share on other sites
Advertisement
For one thing, it depends on whether you installed the source for each project. If you did, look in the installation directory (read the README.* files) for that information. If you still can''t find it:

prompt> find / -n filename.ext -p
(e.g ''find / -n greversi.* -p'')

Share this post


Link to post
Share on other sites
if your using a distro, source code usually isnt included on the main cd''s except the kernel. if the games come with X itself they would be in the source you get from www.xffree86.org.
If not, check out freshmeat.net and see if you can find where the games source is hosted.

saai

Share this post


Link to post
Share on other sites

  • Advertisement