Idea for new 1K hires game : the rabbit game
Idea for new 1K hires game : the rabbit game
During my vacation I found a boardgame that might fit 1K hires.
Needed: 6 cards with rabbits on it, 1 card with rabbit or carrot ( some free interpretation of the game by me)
Graphics with numbers 0-3
Die 1-6 (although this could become just a number)
First to do: define graphics needed for the gameplay
Second: set up screen
Third: code gameplay
However, at the moment I don't have the means to do it...
So later more .....
Needed: 6 cards with rabbits on it, 1 card with rabbit or carrot ( some free interpretation of the game by me)
Graphics with numbers 0-3
Die 1-6 (although this could become just a number)
First to do: define graphics needed for the gameplay
Second: set up screen
Third: code gameplay
However, at the moment I don't have the means to do it...
So later more .....
Re: Idea for new 1K hires game : the rabbit game
Working on the graphics.
I need 12 graphics and I can fit them in 11x2x12 bytes (with double use of lines).
Only graphic to draw is a graphic of a carrot.
Next step after that: the display of the game in the hires routine.
I need 12 graphics and I can fit them in 11x2x12 bytes (with double use of lines).
Only graphic to draw is a graphic of a carrot.
Next step after that: the display of the game in the hires routine.
Re: Idea for new 1K hires game : the rabbit game
Building the screen ATM...
Small bug in the ear of rabbit 2
Small bug in the ear of rabbit 2
Re: Idea for new 1K hires game : the rabbit game
1/3 of the screen ready.
Display of cards from player 1 and 2
Next: display of the board
Then: Display of player 3 and 4 (just a copy of player 1/2)
Display of cards from player 1 and 2
Next: display of the board
Then: Display of player 3 and 4 (just a copy of player 1/2)
Re: Idea for new 1K hires game : the rabbit game
First "full" hires screen.
Lowres text must still be added.
In this screen player 1 has drawn the carrotcard and may now select the missing card from any other player.
So player 4 or player 2 has rabbit 4 and he will win.
Now start coding the gameplay........
Lowres text must still be added.
In this screen player 1 has drawn the carrotcard and may now select the missing card from any other player.
So player 4 or player 2 has rabbit 4 and he will win.
Now start coding the gameplay........
Re: Idea for new 1K hires game : the rabbit game
I am working on saving bytes as much as possible.
I now have the start of machine code (the BASIC-line) fully coded in the sysvars which are reused after loading.
I also could fill a gap with a routine after rebuilding it and saving 1 byte to fit a gap needed to set UDG on right places.
Still need to add a lot. Now on 671 bytes.
I now have the start of machine code (the BASIC-line) fully coded in the sysvars which are reused after loading.
I also could fill a gap with a routine after rebuilding it and saving 1 byte to fit a gap needed to set UDG on right places.
Still need to add a lot. Now on 671 bytes.
Re: Idea for new 1K hires game : the rabbit game
Another step added, now the deck of cards are placed over the sysvar.
Code to do that is coded on space needed for the players to store their cards, so no memory used for this initialization.
Other trick used:
Since graphics have even size, each graphic starts on even byte. Now in table use of bit 0 to indicate card is taken.
Also tested the shuffle routine, it shuffles the deck and next time it shuffles the shuffled deck and also RND based on timer.
In this way you can't ever get the same game twice. Shuffle routine also resets the cards taken by resetting bit 0.
To do:
Playersloop
Show board with available cards
AI computer or player
Throw a die
Do moves
Read cards and act accordingly
Winner-test
Size now: 720 bytes
Code to do that is coded on space needed for the players to store their cards, so no memory used for this initialization.
Other trick used:
Since graphics have even size, each graphic starts on even byte. Now in table use of bit 0 to indicate card is taken.
Also tested the shuffle routine, it shuffles the deck and next time it shuffles the shuffled deck and also RND based on timer.
In this way you can't ever get the same game twice. Shuffle routine also resets the cards taken by resetting bit 0.
To do:
Playersloop
Show board with available cards
AI computer or player
Throw a die
Do moves
Read cards and act accordingly
Winner-test
Size now: 720 bytes
Re: Idea for new 1K hires game : the rabbit game
NEED TO KNOW:
I have altered my startup of hiresprograms but does it run on real hardware??
Could anyone load this file and reply if by pressing 1 to 4 the number of players are shown?
(if so, then loading and start is ok)
Is screen also perfect (lowres, no leading back lines etc...)
I have altered my startup of hiresprograms but does it run on real hardware??
Could anyone load this file and reply if by pressing 1 to 4 the number of players are shown?
(if so, then loading and start is ok)
Is screen also perfect (lowres, no leading back lines etc...)
Re: Idea for new 1K hires game : the rabbit game
It loads and runs OK.
The screen is like this upon loading, no keys pressed.
I press 1,2,3,4 and the appropriate player piles appear. I will show 1 & 4 here, you should imagine 2 & 3
The screen is like this upon loading, no keys pressed.
I press 1,2,3,4 and the appropriate player piles appear. I will show 1 & 4 here, you should imagine 2 & 3
Re: Idea for new 1K hires game : the rabbit game
Thanks,
only small thing is the small triangle on the left side of the screen just below hires and before lowres that needs attention.
only small thing is the small triangle on the left side of the screen just below hires and before lowres that needs attention.