Little math game

blikspool

Member
Licensed User
Hi guys. My first app developed on B4P! :sign0060:

'Tis only a simple mental arithmetic game with no obvious goal as yet. Does chuck in some fractional division to throw you off kilter a bit though.

To Do:
Proper scoring
Use FormLib to center text.
Difficulty level (I.E more than one digit numbers (imagine 55/37!!)
Possibly convert to countdown timer.

Lots of possibilities with this, but not a bad start considering I made this entirely on my LG GM750 whilst serving customers in my petrol station! :cool:

Peace!
 

Attachments

  • maff.sbp
    4.7 KB · Views: 339

blikspool

Member
Licensed User
Ooh, and a raytracer!

Only the brave will want to run this on their phone!!!

Translation of the raytracer from the POVRAY SDL help file. A raytracer within a raytracer!

The bug list for this is incredible!
Bad reflections, phong shading not working properly, shadows not working (at all?), only one primative implemented, etc, etc...

To do:
Rewrite it...

...Using Oren-Nayer-Blinn shading technique. Possibly shadow map (for speed). More primatives. Less nested for-loops (don't know how, but). Anti-Aliasing?. Focal blur. Err. Loads of stuff! :sign0082:
 

Attachments

  • Raytrace.sbp
    5.9 KB · Views: 326

blikspool

Member
Licensed User
Math game: quick update

Small update on the game:-

Done:
  1. Sorted the timer display. Cheers Erel!
  2. The average time taken display now displays the average time taken. Doh!
  3. Added some kind of difficulty control on startup. Need to make this accessible during gameplay but, hey ho.
  4. Centered the labels! Not to be annoying but shouldn't that be in the properties section of the form designer? Presumably some .NET limitation precludes this. Darn .NET!
  5. Other tweaks and bobs.
  6. Cheers!
  7. P.S. If anyone actually plays this beyond 100 questions could the post whether or not the For-Next that averages the time starts interfering with the timer. If anyone can bothered playing it past 100... ;)

To do:
  1. Different timer types to change game play dynamic. Countdown Vs Count up
  2. Maybe some prettier interface.
  3. Optional mini challenges on the bottom half of screen which must be completed while still doing the arithmetic.
  4. Comment the code? Nah!

Cheers!
 

Attachments

  • maff.sbp
    6.4 KB · Views: 305

taximania

Well-Known Member
Licensed User
Longtime User
I presume blikspool posted his efforts so that other users could look at his code and comment on it. Good or bad :)

Saying 'I don't see the point of it', is negative feedback'.

Am I getting old or what :sign0144:
 

blikspool

Member
Licensed User
What's the point???

Well yes there is no real point to the game yet but hey, what's the point in any game? To play you just need to select the correct answer.

Easy!

Not now though! Try it on "Insane" and against the countdown timer.

Nuts!

I posted it for feedback, to complete my introduction before I start commenting on other peoples code (best for people to see what level you are at before you start telling 'em what to do - IMO), and to show how easy it is to use this fantastic development environment. This was all created at work during non productive down time ( I.E. while stood there trying not to get involved in conversation with the wives of men who have sent spouses in to the shop to pay for the fuel that they haven't even started putting in yet!) and done on a mobile phone. I'm fairly proud of myself for that and of our hallowed leader here for making all this possible.

But yes it's not finished and I doubt it ever will be.

Peace out.
 

Attachments

  • maff.sbp
    9.6 KB · Views: 307
Top