C Board  

Go Back   C Board > Community Boards > Projects and Job Recruitment

Reply
 
LinkBack Thread Tools Display Modes
Old 09-03-2008, 12:25 PM   #1
Frequently Quite Prolix
 
dwks's Avatar
 
Join Date: Apr 2005
Location: Canada
Posts: 7,629
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.
__________________
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, etc.

New project: nort

Last edited by dwks; 09-03-2008 at 01:08 PM.
dwks is offline   Reply With Quote
Old 09-03-2008, 12:43 PM   #2
Frequently Quite Prolix
 
dwks's Avatar
 
Join Date: Apr 2005
Location: Canada
Posts: 7,629
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]
__________________
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, etc.

New project: nort

Last edited by dwks; 09-03-2008 at 01:08 PM.
dwks is offline   Reply With Quote
Old 09-04-2008, 02:27 PM   #3
Frequently Quite Prolix
 
dwks's Avatar
 
Join Date: Apr 2005
Location: Canada
Posts: 7,629
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, etc.

New project: nort
dwks is offline   Reply With Quote
Old 09-23-2008, 07:52 PM   #4
C/C++ Learner & Lover
 
Join Date: Aug 2008
Location: Argentina
Posts: 172
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
lautarox is offline   Reply With Quote
Old 09-24-2008, 05:40 PM   #5
Frequently Quite Prolix
 
dwks's Avatar
 
Join Date: Apr 2005
Location: Canada
Posts: 7,629
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, etc.

New project: nort
dwks is offline   Reply With Quote
Old 10-15-2008, 02:16 PM   #6
 
Join Date: May 2005
Posts: 962
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.
__________________
argus triad mingus
BobMcGee123 is offline   Reply With Quote
Old 10-15-2008, 05:01 PM   #7
Frequently Quite Prolix
 
dwks's Avatar
 
Join Date: Apr 2005
Location: Canada
Posts: 7,629
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.
__________________
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, etc.

New project: nort

Last edited by dwks; 10-15-2008 at 05:07 PM.
dwks is offline   Reply With Quote
Old 10-15-2008, 05:08 PM   #8
Banned
 
master5001's Avatar
 
Join Date: Aug 2001
Location: Visalia, CA, USA
Posts: 3,699
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.
master5001 is offline   Reply With Quote
Old 10-16-2008, 04:36 AM   #9
The superheterodyne.
 
twomers's Avatar
 
Join Date: Dec 2005
Location: Ireland
Posts: 2,205
>> 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.
__________________
I blag!
twomers is offline   Reply With Quote
Old 10-16-2008, 06:54 AM   #10
Mysterious C++ User
 
Join Date: Oct 2007
Posts: 14,099
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.
__________________
Using: Microsoft Windows™ 7 Professional (x64), Microsoft Visual Studio™ 2008 Team System
I dedicated my life to helping others. This is only a small sample of what they said:
"Thanks Elysia. You're a programming master! How the hell do you know every thing?"
Quoted... at least once.
Quote:
Originally Posted by cpjust
If C++ is 2 steps forward from C, then I'd say Java is 1 step forward and 2 steps back.
Elysia is offline   Reply With Quote
Old 10-16-2008, 02:43 PM   #11
Banned
 
master5001's Avatar
 
Join Date: Aug 2001
Location: Visalia, CA, USA
Posts: 3,699
>> 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.
master5001 is offline   Reply With Quote
Old 10-16-2008, 02:45 PM   #12
Mysterious C++ User
 
Join Date: Oct 2007
Posts: 14,099
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
__________________
Using: Microsoft Windows™ 7 Professional (x64), Microsoft Visual Studio™ 2008 Team System
I dedicated my life to helping others. This is only a small sample of what they said:
"Thanks Elysia. You're a programming master! How the hell do you know every thing?"
Quoted... at least once.
Quote:
Originally Posted by cpjust
If C++ is 2 steps forward from C, then I'd say Java is 1 step forward and 2 steps back.
Elysia is offline   Reply With Quote
Old 10-16-2008, 02:51 PM   #13
Banned
 
master5001's Avatar
 
Join Date: Aug 2001
Location: Visalia, CA, USA
Posts: 3,699
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.
master5001 is offline   Reply With Quote
Old 10-20-2008, 03:47 PM   #14
Frequently Quite Prolix
 
dwks's Avatar
 
Join Date: Apr 2005
Location: Canada
Posts: 7,629
Quote:
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.

Quote:
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.

Quote:
>> 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, etc.

New project: nort
dwks is offline   Reply With Quote
Old 10-24-2008, 11:50 PM   #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 ,
enjoy is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Post your games here... Hammer Game Programming 110 09-22-2009 03:43 PM


All times are GMT -6. The time now is 08:28 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22