Thread: Atlantis

  1. #1
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057

    Atlantis

    Atlantis: this is what I've been working on for the past little while. It's a clone of the board game Escape from Atlantis. As always, atlantis is open source, under the GPL v3.

    Get it here: http://dwks.theprogrammingsite.com/myprogs/atlantis.htm
    Run atlantis-2.1.2-1/atlantis (plus .exe for Windows).

    [edit] Check out this screen shot: http://dwks.theprogrammingsite.com/m...antis-ss-1.png [/edit]

    Please download atlantis and try it out! Let me know what you think of it.

    Unlike most of my projects, atlantis is reasonably complete at the moment. I guess it's probably a pretty boring game as computer games go, but I thought I'd post it here anyway. Check out the README: http://dwks.theprogrammingsite.com/m...tlantis/README

    Atlantis is built on top of a new library of mine that I call mundus, which is basically xuni in C++. If you download atlantis, try running atlantis-2.1.2-1/src/mundus/space (.exe if you got the windows version). It's mundus's test program. (Though I guess atlantis itself is a mundus test program.)

    Together, mundus and atlantis (both C++) total over 6000 lines, by far my largest C++ project ever. Not in xuni's league yet, but still. I started mundus less than two months ago.

    I'm using git for version control. The git repository isn't online at the moment. CMake is my build system, but I had to build the Windows version without it.

    Note: I'm pretty sure that in the real atlantis game, you sink the island before moving animals. I haven't gotten around to fixing that yet.

    I made all of the atlantis artwork in blender. Great fun.

    Note: I don't have permission from the publisher of Escape from Atlantis to make a clone of their game. On the other hand, it's a pretty old game, and I do own a physical copy of it.
    Last edited by dwks; 09-03-2008 at 01:08 PM.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  2. #2
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    Update: I've uploaded the git repositories for atlantis and mundus. If you have a Linux system, you can download the -git archive and follow these instructions: http://dwks.theprogrammingsite.com/m...git-unpack.htm

    [edit] I've also created a screenshot of atlantis, so you can be amazed by its graphics and download it immediately.
    http://dwks.theprogrammingsite.com/m...antis-ss-1.png
    [/edit]

    [edit=2] I created a new Windows archive in .ZIP format with all of the required DLLs (get it here). I just tried it on a virtually clean Windows XP system, and it worked. The only thing is, the Windows version refuses to go out of fullscreen mode. I imagine it's my fault, probably an uninitialized bool fullscreen variable or something. [/edit]

    [edit=3] Yeah, the fullscreen variable is uninitialized. But still, it should work after the first toggle. Oh well, who knows. [/edit]
    Last edited by dwks; 09-03-2008 at 01:08 PM.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  3. #3
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    I managed to compile a 32-bit Linux binary in case anyone's interested. (Under Debian etch.)
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  4. #4
    C/C++ Learner & Lover
    Join Date
    Aug 2008
    Location
    Argentina
    Posts
    193
    Looks really interesting, mmm the only thing it seems to be lack of is a nicer ambient, I mean a nicer background like the original one, so it can be more friendly and change the strong colors to lighter ones, so the ship and the people won't confuse the players because of it's colors.
    Mmm.. it's another point of view and just a recommendation.. the program itself looks great keep it going

  5. #5
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    Yes, I just whipped up the artwork in a few minutes. The blue people are much too similar to the ocean, for example.

    I think I will try to get a fancier background in eventually. Recently I've been trying to make it more efficient -- mundus repaints the whole screen 30 times per second (if it can), which really isn't necessary. But it's turned out to be pretty difficult to do. I don't really expect to get it done in a reasonable period of time -- I'm far too busy at the moment.

    I guess the main gameplay issue is that you can't move a unit onto the same hexagon (like to put a swimmer onto a boat, or to take a unit off of a dolphin, for example). I was planning on implementing this sooner or later, too. It shouldn't be too difficult, but then I haven't done it yet.

    Anyway, glad you liked what I have so far . . . .

    [edit] Oh, and the 32-bit Linux binary package I mentioned? It doesn't work. I think I uploaded the wrong archive. [/edit]
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  6. #6

    Join Date
    May 2005
    Posts
    1,042
    I think it's unfortunate you didn't get more replies. I just wanted to say good job, and keep up the good work man. A lot of people have a very difficult time getting this far.
    I'm not immature, I'm refined in the opposite direction.

  7. #7
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    Thanks, I really appreciate it.

    Atlantis wasn't really as difficult as it looks. There were some tricky parts, of course. For one thing, it's C++, not C. I'd never done A-star pathfinding before, but it was straightforward to implement. The hexagonal board presented some difficulties as well. Plus lots of other things that I've forgotten by now.

    I think the hardest part of Atlantis was making sure I'd implemented the whole game, and that it didn't break when you did strange things. Even with such a simple world, there are an unbelievable number of corner cases. And the trickiest part of mundus was designing the classes, which I didn't do a very good job on. Oh well.

    Side note: I think that no one looks at this forum (the Projects one that is). It's my theory, anyway.
    Last edited by dwks; 10-15-2008 at 05:07 PM.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  8. #8
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    I read it, I just didn't have time for a side project when you posted it. Now I do have more time, but already got tagged to do two side projects. Usually, just in case you don't know me that well dwks. If you want me to do a side-project with you and you have received zero response from me, just personally asking me wears me down quickly.

  9. #9
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273
    >> Side note: I think that no one looks at this forum (the Projects one that is). It's my theory, anyway.
    Well this thread has 7 replies and 666 views ... so I guess you're right. Nobody reads 'em.

    Edit: Now 8 replies.

  10. #10
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by dwks View Post
    Side note: I think that no one looks at this forum (the Projects one that is). It's my theory, anyway.
    Well, I just open whatever posts catch my attention, whatever forum it's in.
    Good luck with that project.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  11. #11
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    >> Well this thread has 7 replies and 666 views ... so I guess you're right. Nobody reads 'em.

    I would make a religious joke but it would either go over everyone's head or not go over anyones head and start flaming.

    >> Well, I just open whatever posts catch my attention, whatever forum it's in.

    I usually just read whatever is unread. Where ever that may be.

  12. #12
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by master5001 View Post
    >> Well, I just open whatever posts catch my attention, whatever forum it's in.

    I usually just read whatever is unread. Where ever that may be.
    Yes, that is what I mean by whatever catches my interest.
    Unread threads that catch my interest, whichever forum that may be in
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  13. #13
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    I have to admit though, and this may be ubber dorky of me, but as a C guy I always save the C forums for last since I like that forum best.

  14. #14
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    I have to admit though, and this may be ubber dorky of me, but as a C guy I always save the C forums for last since I like that forum best.
    What's dorky about saving the best for last?

    As for me, I tend to read threads I have replied in first, and then recent threads with very few or lots of replies.

    I read it, I just didn't have time for a side project when you posted it. Now I do have more time, but already got tagged to do two side projects. Usually, just in case you don't know me that well dwks. If you want me to do a side-project with you and you have received zero response from me, just personally asking me wears me down quickly.
    Don't worry about it -- the thread wasn't directed at you personally or anything.

    >> Side note: I think that no one looks at this forum (the Projects one that is). It's my theory, anyway.
    Well this thread has 7 replies and 666 views ... so I guess you're right. Nobody reads 'em.

    Edit: Now 8 replies.
    Mmm hmm, and half of those eight replies were me.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  15. #15
    /*enjoy*/
    Join Date
    Apr 2004
    Posts
    159
    i try it -- so i doint undestand , how can i win :d


    i joke

    good work dwks ,

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Post your games here...
    By Hammer in forum Game Programming
    Replies: 132
    Last Post: 02-28-2013, 09:29 AM