Magic 8 Arduball (most useless)

Hello all,

this is my humble submission for this amazing JAM!
Its the first time I code for arduboy (and very far from being a programmer) but I had an incredible fun!

giphy

ArduboyProject.hex (68.8 KB)
The magi 8 arduball is a very simple program based on the original Magic 8 Ball. Just ask something and the arduino will predict the better answer for your question.

Screens:
ArduboyCapture

2

5

3

4

Its simple, its fun, its useless!
PS: I̶ ̶d̶o̶n̶’̶t̶ ̶k̶n̶o̶w̶ ̶w̶h̶y̶ ̶t̶h̶e̶ ̶e̶m̶u̶l̶a̶t̶o̶r̶ ̶i̶s̶ ̶n̶o̶t̶ ̶w̶o̶r̶k̶i̶n̶g̶.̶ ̶I̶t̶ ̶s̶h̶o̶u̶l̶d̶ ̶b̶e̶ ̶w̶o̶r̶k̶i̶n̶g̶.̶ I developed this on the online emulator because my arduboy is damaged. But it should be working fine. Anyway, I share the source code so you can give a try. Please, use the source only to compile the game, don’t look at him as its something I’m not very proud! I know there is a lot to improve there…

Edit: Emulator is working fine now!

Mainsource: https://www.dropbox.com/s/3vf2vdournim72w/ArduboyMagic8Ball.ino?dl=0
Graphics: https://www.dropbox.com/s/vg7k5lu5da26v0k/bitmaps.h?dl=0
HEX: https://www.dropbox.com/s/46n9ga38jnpjgcs/ArduboyMagic8Ball.ino.hex?dl=0

Have fun!

9 Likes

If you want any advice on how you can improve it then I’d be happy to offer some suggestions.

This is what makes this community so special!
To be honest, I just wanted to be able to have something ready for the JAM. But I got interested on arduboy and I will try to be more active in the future, as so, I will need and appreciate your tips. Thats the best way we can improve and get better.

One again, thanks for your help and making the community so friendly.

3 Likes

I downloaded your code and tried it out. Worked fine on my Arduboy and helped me decide what to make for lunch!

There appears to be something wrong with the hex you uploaded? The screen is glitching on the emulator…

It’s not glitching on hardware though.

I haven’t tried it, but I think if you move

if (!(arduboy.nextFrame())) return;

to the very beginning of loop() it will work better.

1 Like

I was just thinking about this program for Arduboy! Great work!

1 Like

Updated the main topic. Emulator is working fine now!

1 Like