Table of Contents

BACK TO MAIN

* Click here

Group 2: +1 Memory Game+1 MEMORY GAME

MEMBERS

Final screenshot of working game application

Photo on the final app screen

IDEA

Two player challenge each other in memory game. Game is in N810 screen where each players has 5 sound buttons to press. First player press 1 sound button. Second player responds to it and adds one sound more to memory sequence. First player the responds to 2 sounds and adds one sound more. Second responds to 3, first to 4, second to 5 and so on. The player who make first error in correct order in sound sequence loses and other player wins.

Initial schetcing of UI layout Initial idea on the UI

+1 Memory Game is a musical game software where two or more users compete with each other in recognizing what musical notes the opponent played in recent turn. Also this game will be developed with an intention to teach users the various basic musical notations like guitar chords or drum notes or piano chords.

Game Logic

Lets consider 2 users playing the game.

Music Classroom Logic

Here users are a Teacher and students (Multiple)

System Requirement

Networking Technology Used

Programming Language Used

Sound Files Used

Icon Files Used

Technical problems and help

If you need to scale image then heres a sample code!

      def getImageFromFile(self, fileName, width):        
        pixbuf = gtk.gdk.pixbuf_new_from_file(fileName)
        pixbuf = pixbuf.scale_simple(width, width, gtk.gdk.INTERP_BILINEAR)
        fileImage = gtk.Image()
        fileImage.set_from_pixbuf(pixbuf)
        return fileImage

Code for enabling and disabling buttons

disable

    self.guitarButton.set_sensitive(False)
    self.drumButton.set_sensitive(False)

enable

    self.guitarButton.set_sensitive(True)
    self.drumButton.set_sensitive(True)

Result

What did we end up with? Save codes here.

* Result from Code Camp

* Pictures&Video

Resources

* https://garage.maemo.org/plugins/scmsvn/viewcvs.php/virtual_instruments/?root=jammo

* https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/data/themes/?root=jammo