View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Nintendo game&watch Egg - EG 26 simulator

5.0 | 2 ratings Rate this file 3 Downloads (last 30 days) File Size: 753 KB File ID: #34092 Version: 1.1
image thumbnail

Nintendo game&watch Egg - EG 26 simulator


Maxim Vedenyov (view profile)


06 Dec 2011 (Updated )

Game a and game b simulated, with sound

| Watch this File

File Information

Speed dependence from score and number of simultaneous eggs from score dependence were get as in real game&watch.

run game.m

control from keybard:
game a: a
game b: b
reset: r

wolf control with num keypad, num lock must be on:
up-left: 4
down-left: 1
up-right: 6
down-right: 3

volume control: left and right arrows

see gameplay here:

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.11 (R2010b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (6)
25 Jun 2013 muthu Kumar

what algorithm used in it?

Comment only
15 Jan 2013 HIT

HIT (view profile)

15 Jan 2013 HIT

HIT (view profile)


Comment only
07 Dec 2011 Mingjing Zhang

Mingjing Zhang (view profile)

Okay you are right. I tested it on both 2010b and 2011a in win7. 2010b does not give an error, however, 2011a does. Maybe there is some update of 'audioplayer' after 2010b.

Comment only
07 Dec 2011 Maxim Vedenyov

Maxim Vedenyov (view profile)

Thank you. There was no errors in MATLAB 7.11 (2010b) in windows 7. May be you used another version? The code uses audioplayer function and play the sounds each time when egg makes shift.

Comment only
07 Dec 2011 Mingjing Zhang

Mingjing Zhang (view profile)

A perfect simulator and a true masterpiece! Reminds me of my childhood...

However, I did come across one bug:
??? Error using ==> audioplayer.audioplayer>audioplayer.resume at 710
A given audio device may only be opened once.

Error in ==> at 88

Error in ==> game at 680
which occurs every time after the wolf catches the first egg. If I just comment this line out then there would be no problem.

Also, I strongly recommend assigning the control to the arrow keys. Using the "numpad" on the laptop is such a pain...

By the way, come visit my page if you have time :)

07 Dec 2011 1.1

What's new in this second version:
To start run game.m. Add sound_mode option in the begining of game.m.
By default it is sound_mode =2, so there must be no more error with audioplayer function. Add cheat options. See also notebook_keys variable.

Contact us