[BattleCards] Project Brief

Projects that are no longer in development anymore.

Moderator: MaxCoderz Staff

Post Reply
User avatar
kv83
Maxcoderz Staff
Posts: 2735
Joined: Wed 15 Dec, 2004 7:26 pm
Location: The Hague, Netherlands
Contact:

Post by kv83 »

as said in my first post:
You may recongnize this from a game you already know. I based alot of this on a game I played on newsground once. Don't know the name anymore though. I played it twice I believe, and than started programming.
So yeah, the game is pretty based on this. I am trying to add more things to it, and change some essential things for the strategy.
That game also just took a TCG and changed some essential things, resulting in a new TCG. That's the way it goes :)
Image
DarkAuron
Maxcoderz Staff
Posts: 1349
Joined: Sat 18 Dec, 2004 6:53 pm

Post by DarkAuron »

aka the Evolution of Gaming :roll:
[Gridwars Score] - E: 1860037 M: 716641 H: 261194
User avatar
kv83
Maxcoderz Staff
Posts: 2735
Joined: Wed 15 Dec, 2004 7:26 pm
Location: The Hague, Netherlands
Contact:

Post by kv83 »

Anonymous wrote:!Im interested in your shuffling routine! If you think it would be open source in future - please send me this routine.
Thx,
NanoWar

Code: Select all

;==========================================================
; Shuffle Routine
; ---------------
; Shuffles an array of any length (max. 255).
; Thanks to tr1p1ea and Jim E! :D
; Use hl as input for the Array you want to sort
; !!! Use 255 as end marker in the array !!!
;==========================================================
lblShuffle:
	ld d,h
	ld e,l
	;--     Count the cards in the array     --
	ld b,$00	
lblShuffleCountCardsLoop:
	ld a,(hl)
	inc b
	inc hl
	cp 255
	jr nz,lblShuffleCountCardsLoop
	dec b
	ld a,b
	ld (CardsInArray),a
	ld h,d
	ld l,e
	;------------------------------------------
lblShuffleLoop:	
	;--   Copy current card position to de   --
	push hl
	push de
	ld d,h
	ld e,l
	;------------------------------------------
	;--Search random position to shuffle with--
	ld a,(CardsInArray)
	ld b,a
	call ionrandom
	ld b,$00
	ld c,a
	pop hl
	push hl
	add hl,bc
	;------------------------------------------	
	;--   Shuffle values of both positions   --
	ld b,(hl)
	ld a,(de)
	ex de,hl
	ld (de),a
	ld (hl),b
	;------------------------------------------
	;--         Go to next position          --	
	pop de
	pop hl
	inc hl
	ld a,(hl)
	cp 255
	ret z
	jr lblShuffleLoop
	;------------------------------------------
Here you go. The game won't be open source due security reasons when trading and stuff... :)
Image
User avatar
NanoWar
Extreme Poster
Posts: 365
Joined: Fri 17 Dec, 2004 6:39 pm
Location: #$&"%§!
Contact:

Post by NanoWar »

Thank you very much - I think now Im able to program my own card game :) .
NanoWar
Revolution Software
User avatar
kv83
Maxcoderz Staff
Posts: 2735
Joined: Wed 15 Dec, 2004 7:26 pm
Location: The Hague, Netherlands
Contact:

Post by kv83 »

NanoWar wrote:Thank you very much - I think now Im able to program my own card game :) .
NanoWar
Never forgot to give credits where needed
Image
axcho

Post by axcho »

It would be cool to include money and buying booster packs and decks (and trading of course). It could be like an RPG. I remember how fun it was to get a new booster pack, so don't forget to include that element. Maybe you could have randomly generated cards too.
the_unknown_one
Calc Master
Posts: 1089
Joined: Fri 17 Dec, 2004 9:53 am

lol

Post by the_unknown_one »

Yea, i agree with axcho :) That would increase game value alot! :D
User avatar
kv83
Maxcoderz Staff
Posts: 2735
Joined: Wed 15 Dec, 2004 7:26 pm
Location: The Hague, Netherlands
Contact:

Post by kv83 »

hmmm... good point... i'll think about it
Image
User avatar
Calv!n.n0.1
New Member
Posts: 49
Joined: Fri 17 Dec, 2004 10:16 pm
Contact:

Post by Calv!n.n0.1 »

Is this game taking the Pokemon card game route? :wink:
Revolution Software - http://www.revsoft.org
Spengo
Calc Master
Posts: 1116
Joined: Sat 15 Jan, 2005 3:56 am
Location: ooga booga land
Contact:

Post by Spengo »

Oh god I hope not. Please make it more like Magic.
bananas... o.o
the_unknown_one
Calc Master
Posts: 1089
Joined: Fri 17 Dec, 2004 9:53 am

lol

Post by the_unknown_one »

Please not like Pokémon! :D More like Harry Potter :D Joking ;) I used to play it online, i was SO good :D
User avatar
kv83
Maxcoderz Staff
Posts: 2735
Joined: Wed 15 Dec, 2004 7:26 pm
Location: The Hague, Netherlands
Contact:

Post by kv83 »

No pokemon.
Image
leofox
Calc Master
Posts: 1064
Joined: Fri 17 Dec, 2004 3:22 pm
Location: Probably playing DDR
Contact:

Post by leofox »

kv83 wrote:No pokemon.
too bad, the pokemon TCG was surprisingly good.
Image
Image
User avatar
kv83
Maxcoderz Staff
Posts: 2735
Joined: Wed 15 Dec, 2004 7:26 pm
Location: The Hague, Netherlands
Contact:

Post by kv83 »

leofox wrote:
kv83 wrote:No pokemon.
too bad, the pokemon TCG was suprisingly good.
It wasn't nearly as good as the mother of all tgc... magic... furthermore is this game not based on summoning creature's... so it's impossible to implement pokemon
Image
the_unknown_one
Calc Master
Posts: 1089
Joined: Fri 17 Dec, 2004 9:53 am

lol

Post by the_unknown_one »

Well, i've played Pokémon for a while :p Also played Harry Potter, Magic The Gathering & Yu-Gi-Oh! :p Oh well, i'm just 15 years old, a few years ago i was a dumb lil' kid :lol:
Post Reply