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.

Very Elementery program... A HiLo game

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-22-2010, 02:05 AM
Newbie
 
Join Date: Dec 2010
Posts: 2
Default Very Elementery program... A HiLo game

Hello to everyone.

It's been many years since I have programed.

I recently received an IPAQ and I found Basic4ppc was very easy to use so I thought I would like to make my own programs for the exercise.

This is my first, a bit like doing a "Hello World".

All the very best for Christmas 2010-11
Attached Files
File Type: sbp HiLo game - 1.sbp (2.3 KB, 32 views)
Reply With Quote
  #2 (permalink)  
Old 12-22-2010, 07:00 PM
taximania's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 592
Awards Showcase
Beta Tester 
Total Awards: 1
Default

I'm not using the latest version of Basic4ppc.
The one I am using is 6.80 But it 'suits me'

I had to change Sub_Globals to
Code:
Sub Globals
    
'Declare the global variables here.
    Dim a,x   'These numbers take care of goal and guess
    Dim s   ' This is for Texbox values
    
End Sub
Other than that, it only took me six attempt's to get the number
__________________
.
.
.
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
  #3 (permalink)  
Old 01-03-2011, 04:18 AM
Newbie
 
Join Date: Dec 2010
Posts: 2
Default

Thanks Taximania for finding a version issue and giving it a go. I looked at your website and it was marvelous.

Your right it's a very limited in it's current version and looking at the code again I spotted that I should have tested the TextBox had numeric input.

The program can be a start to a technically harder program by measuring attempts times time to give a score to acheive/beat and then there is moving the goal number by a predictable amount and providing a clue.

I'm bored and have moved on but sometime I'll come back later and tweak it.
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
A little game I put together ...... taximania Share Your Creations 0 12-30-2007 07:48 PM
New game maxtillberg Share Your Creations 1 10-29-2007 09:27 PM
Game jorgerhv Share Your Creations 0 05-20-2007 12:09 AM
HiLo Game Module Wizarda2z Share Your Creations 0 05-12-2007 06:43 PM


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


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