Snaccess - The classic snake game, reimagined for the database generation.

murray83

Games Collector
Local time
Today, 13:57
Joined
Mar 31, 2017
Messages
853
Another fun database distraction from me this time have taken the old skool game of snake ( who didn't have a Nokia 3310 )

Slither into the grid and feast on data bites in this retro-inspired twist on the timeless arcade favourite. Built entirely in Microsoft Access, Snaccess blends nostalgia with nerdy brilliance — where every move counts and every chomp brings you closer to high-score glory.

It has at present

Built-in attract mode for that authentic arcade vibe
Smooth grid rendering with buffer logic

Whether you're a VBA wizard or just here for the pixelated thrills, Snaccess proves that even databases can be fun. Press Start. Eat. Survive. Repeat.

“No actual snakes harmed in the making”
 

Attachments

Last edited:
v1.1 have added a simple little marquee for top scores to scroll on the start / attract screen and a leader board which you can look at as well
 

Attachments

sorry been a long night v1.3

with banned word list for leader board and some text boxes to show what speed you are at ( more fun then the text syaing 400 m/s )
 

Attachments

Click Start button triggers error "Object doesn't support this property or method."
I click OK and next form loads but cursor buttons do nothing.
 
Click Start button triggers error "Object doesn't support this property or method."
I click OK and next form loads but cursor buttons do nothing.
Really, as never had such an issue. Can you send a screenshot?
 
Don't think a pic will provide more info but here it is. I will have to do some debugging.
1754930033678.png
 
I get the same?
Need to move to another forum? This one is moderated?
 
Error triggered by wmp_Theme.URL = CurrentProject.Path & "\" & txtTheme
I disabled all lines for WMP then game works, just without sound effects.
Tested with Windows 11 Home and Office/Access 2010.
Same issue with WIndows 11 Home and Office Pro Access 2021 version 2507 (Build 19029.20156 Click to Run) 32-bit
Odd point, WMP and old code in my own database work with 2010 but not 2021. So Snaccess should work with 2010.
 
Last edited:
@murray83 I think this is really cool, thanks for posting. Also, it runs out-of-the-box on my machine. Running version 2507 (Build 19029.20156).
 
Version 2507 appears to have some bugs specific to 32-bit only. Suggest that all who are testing this app state the bitness as well as version and build number
 
Strange have windows 11 at work and access 2010 and work there. Will check Wednesday ( off tomorrow) but also you did have the audio files yeah ?
 
Version 2509 Build 19204.20004 64-bit Beta Channel. No errors experienced though not tested thoroughly.
Looks like this may possibly be another example of the 32-bit bug though very different to others examples seen so far.

@MarkK / @murray83 - can you please confirm whether you have 32-bit or 64-bit Access. Thanks
 
Thanks @MarkK

Having now tried this on both 64-bit & 32-bit Access, I can confirm that:
a) it runs without error on 64-bit
b) on 32-bit, it triggers error 438 on the line wmp_Theme.URL = CurrentProject.Path & "\" & txtTheme as already mentioned by @June7 who also stated that disabling the WMP lines allows it to run successfully. You can also bypass that error by adding the line If err=438 Then Resume Next in the Form_Load event but you still won't get the retro music!

I haven't studied the code but can see that several modules lack Option Explicit & some also lack Option Compare Database

I don't think the issue is related to the current bug with certain wizards in 32-bit Access
 
hey so yeah checked work and its 64Bit have not checked home yet but maybe same I am guessing as never had that error

1755065859035.png
 

Users who are viewing this thread

Back
Top Bottom