Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Turn Based Games

Author
Message
Nutes
20
Years of Service
User Offline
Joined: 13th Apr 2005
Location: U.S.A WY
Posted: 10th May 2005 02:29
How do you do Turn Based games? Or is there an easier pretty cheep program that runs turn based games?

Imagination rules the world
- Napoleon Bonaparte
waffle
22
Years of Service
User Offline
Joined: 9th Sep 2002
Location: Western USA
Posted: 10th May 2005 13:34
turn based games are easier than real time games.
Your question does not make any sense.
fasdfsdaf
20
Years of Service
User Offline
Joined: 17th Jan 2005
Location:
Posted: 10th May 2005 13:38
Civilization runs turned-based games, Might and Magic runs turned based games, BE MORE SPECIFIC!!!!!

[me]"My throat froze!"
[other person]"Force quit it next time..."
A.K.A Death Stalker
Nutes
20
Years of Service
User Offline
Joined: 13th Apr 2005
Location: U.S.A WY
Posted: 11th May 2005 01:20
Right. Sorry about that. I mean, programing a turn based game. A friend of mine showed me Vasaal, It's pretty much what I want, but it lacks the programing part. If you know what it is, I'd like something like it. But I haven't found one yet, so if you have any sugestions that would be great.

Imagination rules the world
- Napoleon Bonaparte
doffer
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location:
Posted: 11th May 2005 01:28
Well... How du you do turn based games is a pretty big question.
I would recemend you look in tuts and i the manual.
Learn the code and hopefully you will have an idea about how to code it.

If not then ask a more specifik question when you get a certain porblem with the code.

Denmark Denmark Denmark.
Nutes
20
Years of Service
User Offline
Joined: 13th Apr 2005
Location: U.S.A WY
Posted: 11th May 2005 08:07
Ok, thxs.

Are you refering to the DB manual? Is it in there?
Also, were do you find the code to learn it?

Whoosh, sorry, this has been a bad post! I think I'm going brain dead!

Imagination rules the world
- Napoleon Bonaparte
GotStatic Studios
21
Years of Service
User Offline
Joined: 22nd May 2004
Location: UK-Cornwall
Posted: 11th May 2005 19:36
If you post up your code ill have a look and make something up for you if you like..... Wont be excellent but it will give you an idea of what to do, but atm I have no idea what to tell you because I your not being specific enough.

-d&g

[ :: Got Static :: ] - Coming July 2005
Nutes
20
Years of Service
User Offline
Joined: 13th Apr 2005
Location: U.S.A WY
Posted: 12th May 2005 01:40
Holy crap! I need ot be slapped... Ok, not the "code", a language. Can you do TB games in DB? Or is there some esier program I could get that does TB better or something.

Imagination rules the world
- Napoleon Bonaparte
Dom
20
Years of Service
User Offline
Joined: 31st May 2004
Location:
Posted: 14th May 2005 22:27
I began making a Turn based game once. What you really need is a Timer code that starts at say 30 seconds then when it goes down switch player.


Thanks to Animeblood for the Logo!
waffle
22
Years of Service
User Offline
Joined: 9th Sep 2002
Location: Western USA
Posted: 15th May 2005 04:48 Edited at: 15th May 2005 04:55
check the chess game on my site.
It does not support play against the computer,
and has other issues (requires my matchmaker which kinda sucks)
but serves are a good starting point for doing your own game.

my bumperpool game is also turn-based, but was not coded in DB.
But, could serve as another way of doing a turn based game.

Basically, in each game, players are presented with a button to press to indicate they are done with thier turn. Then, data is sent
to all players to show the completed move and the next player's controls are then enabled while the previous player's controls are dissabled.

Overall, the concept is simple. The game and data structures are what's complicated


simpler languages for turn-based gaming ....
well, there is always Notepad. You just enter your moves usind notepad, and then email it

OH, you want GUI to go with that ....
well, any language that can read/write a text file would
be great to start. Also, easy to troubleshoot. Any doubt
about the real data structure could be seen in the text file.

Alpha Centauri uses that method of sending gaming data. It saves a file then you simply email it to all players. But, they got a little
fancy by permitting simultaneous movement too. So all players do moves, all send emails, and then the game processes all moves at once.
Nutes
20
Years of Service
User Offline
Joined: 13th Apr 2005
Location: U.S.A WY
Posted: 18th May 2005 14:43
Whoa! That's intense. Thxs, i'll check your games out to get an idea.

Imagination rules the world
- Napoleon Bonaparte
Bounder
19
Years of Service
User Offline
Joined: 28th May 2005
Location:
Posted: 28th May 2005 14:41
Zillions of Games is an turn based game engine. It uses a scripting language to create new games. It comes with about three dozen games and more than 1000 user created games are available.

http://www.zillionsofgames.com/

Login to post a reply

Server time is: 2025-05-23 00:46:06
Your offset time is: 2025-05-23 00:46:06