Fingers faster than your reaction time.

Miscellaneous Forums/General Discussion/Fingers faster than your reaction time.

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Here's that tap code in BMax form
Strict
Graphics( 640, 480 )
Local taps:Int = 0
Local mosttaps:Int = 1
Local clock:Int = MilliSecs()


Repeat 

If KeyHit( KEY_J ) Then taps:+ 1

If ((MilliSecs() - clock) >= 1000)
 If (taps > mosttaps) Then mosttaps = taps
 taps = 0
 clock = MilliSecs()
EndIf

Cls
DrawText( taps, 0, 0 )
DrawText( mostTaps, 0, 20)
Flip

Until KeyHit( KEY_ESCAPE )


Single finger tapping I couldn't get more than 9, dual finger tapping, 10. Although, I think I might have been limited more by my keyboard and it's lack of sensitivity than my actual tapping speed.