1K hires: calculation game

Any discussions related to the creation of new hardware or software for the ZX80 or ZX81
dr beep
Posts: 2076
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: 1K hires: calculation game

Post by dr beep »

I just tried to figure out a way to display numbergraphics sized as in FRUITMACHINE SIMULATOR, but without the spacing so it will show as 1 number.

I managed to calculate a displayroutine that can built 6 UDG's during display in double size.
For the random number generator this will make a nice effect, but for future games I am thinking of adding an empty line to
set new graphics and continue new UDG.

Now I need games that can use UDG's in a 6 columns, n rows display.
Any idea what games would fit in that??
dr beep
Posts: 2076
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: 1K hires: calculation game

Post by dr beep »

First I wanted to use the routine from FRUITMACHINE to roll a random number.
Now I want to display random numbers until final number is shown.

I wanted this to have a 3 digit number with the numbers closer to eachother than the rolls of FM.
I now have a working displayroutine where 3 digits are set after eachother. The space between the rolls is left out.

Unlike all other games where the hiresroutine was only showing the screen will the routine in this game be the mainmenu of the game. The game can have several states which will be controlled by the screenroutine.
In this way I can do parallel processing in the mainprogram at the same time.
Moggy
Posts: 3266
Joined: Wed Jun 18, 2008 2:00 pm

Re: 1K hires: calculation game

Post by Moggy »

Looking forward to this one Johan. :D
dr beep
Posts: 2076
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: 1K hires: calculation game

Post by dr beep »

First screen and first sum.... 439 is possible.
Screen.png
Screen.png (39.88 KiB) Viewed 2518 times
dr beep
Posts: 2076
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: 1K hires: calculation game

Post by dr beep »

There will be 3 versions of the game

1: 1K hires without solutionfinder
2: 1K lowres with solutionfinder
3: 2K hires with solutionfinder

At this moment I am at 630 bytes and I still need to add the solver from 327 bytes.
Also needed, randomnumbers and randomsum, so this will never fit 1K in hires.
In lowresdisplay (but with intrupts on screen) I can do it in 1K (saves at least 240 bytes graphics)
(or perhaps smaller hires numbers)
dr beep
Posts: 2076
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: 1K hires: calculation game

Post by dr beep »

Almost first version ready.

After certain time you can enter your solution. Select your numbers and operand, computer calculates.

1K hires display and input only.
In lowres I hope to add a solver too.

In >1K I can combine hires and solver.
dr beep
Posts: 2076
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: 1K hires: calculation game

Post by dr beep »

First version "1K" hires working, but 15 bytes over size.
Now reducing it to fit.
dr beep
Posts: 2076
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: 1K hires: calculation game

Post by dr beep »

And now current gameplay fitting 1K.
dr beep
Posts: 2076
Joined: Thu Jun 16, 2011 8:35 am
Location: Boxmeer

Re: 1K hires: calculation game

Post by dr beep »

Here is the first play-version of the game "CALCULUS MAZXIMUS"
This version only has player input, no calculation by the computer.

After loading game will always start with number 583.
There is a solution for this number.

Gameplay:
The computer will show the numbers to use. Then it will generate a number.
After showing the number you will have 20 seconds to find closest solution.

When time is up, the operands will show on screen and you can enter your calculation.

Controls:
1-6 Select number on that position
7 +
8 -
9 *
0 /

Select two number and an operand. Order of selection is irrelevant.
False calculation will restart inputting formula.

Q=restart input formula
NL= new game
calcmax.p
(947 Bytes) Downloaded 138 times
Moggy
Posts: 3266
Joined: Wed Jun 18, 2008 2:00 pm

Re: 1K hires: calculation game

Post by Moggy »

NIIICCCE!
Post Reply