Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Share Your Creations
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Share Your Creations Show your developed application to Basic4ppc community. Please include source code if possible.

Little math game

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-30-2010, 05:07 PM
Newbie
 
Join Date: Jun 2010
Posts: 7
Default Little math game

Hi guys. My first app developed on B4P!

'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!

Peace!
Attached Files
File Type: sbp maff.sbp (4.7 KB, 37 views)
Reply With Quote
  #2 (permalink)  
Old 06-30-2010, 05:17 PM
Newbie
 
Join Date: Jun 2010
Posts: 7
Default 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!
Attached Files
File Type: sbp Raytrace.sbp (5.9 KB, 17 views)
Reply With Quote
  #3 (permalink)  
Old 06-30-2010, 06:00 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,734
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Small tip for the first program. Use Format with "F2" to show the timer with two digits after the decimal point:
line 123
Code:
lblCurrtime.Text = Format(CurrTime, "F2")
Reply With Quote
  #4 (permalink)  
Old 07-06-2010, 04:56 PM
Newbie
 
Join Date: Jun 2010
Posts: 7
Default 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!
Attached Files
File Type: sbp maff.sbp (6.4 KB, 20 views)
Reply With Quote
  #5 (permalink)  
Old 07-09-2010, 07:29 AM
Knows the basics
 
Join Date: May 2010
Posts: 92
Default

I dont see the point of the game and how to play it
Reply With Quote
  #6 (permalink)  
Old 07-09-2010, 07:04 PM
taximania's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 592
Awards Showcase
Beta Tester 
Total Awards: 1
Default

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
__________________
.
.
.
Don't ask, I'm fine, honest. !!
.
.
.
Just a little crazy at times



O2 XDA, GW Evo 2.1 UC WWE Rom, WM6.1
Radio Ver 03.34.90
With Basic4ppc V6.80


http://www.taximania.co.uk
Reply With Quote
  #7 (permalink)  
Old 07-09-2010, 08:00 PM
Knows the basics
 
Join Date: May 2010
Posts: 92
Default

Not negative at all. I just was expecting a finished creation under "Share your
creations" section.
Reply With Quote
  #8 (permalink)  
Old 07-10-2010, 06:33 AM
taximania's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 592
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Fair comment
__________________
.
.
.
Don't ask, I'm fine, honest. !!
.
.
.
Just a little crazy at times



O2 XDA, GW Evo 2.1 UC WWE Rom, WM6.1
Radio Ver 03.34.90
With Basic4ppc V6.80


http://www.taximania.co.uk
Reply With Quote
  #9 (permalink)  
Old 07-14-2010, 07:09 PM
Newbie
 
Join Date: Jun 2010
Posts: 7
Default 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.
Attached Files
File Type: sbp maff.sbp (9.6 KB, 11 views)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Math - Euler's constant chanppc Questions (Windows Mobile) 2 06-26-2010 12:33 PM
Math help please cdeane Chit Chat 2 04-02-2009 04:45 PM
db2000 math functions maXim Italian Forum 0 12-01-2008 10:24 AM
Small math-trainer token Share Your Creations 3 07-17-2008 06:29 PM
Help with Math function go4saint Questions (Windows Mobile) 2 03-31-2008 09:15 AM


All times are GMT. The time now is 12:39 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0